mbox

[GIT,PULL] bcm driver updates for 3.14

Message ID CAEPRUYpgHhrVCoRAzF_WbQZGTpwSahQq8G40+9=pf36-n9V_hg@mail.gmail.com
State New
Headers show

Pull-request

git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers

Message

Christian Daudt Jan. 6, 2014, 6:58 a.m. UTC
The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:

  Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)

are available in the git repository at:

  git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers

for you to fetch changes up to e257c5f6e1cad35d15c06d713b2d1a26f883bbcb:

  clk: bcm281xx: define U32_MAX conditionally for now (2013-12-31
09:54:45 -0800)

----------------------------------------------------------------
Clk driver for bcm mobile SoCs

----------------------------------------------------------------
Alex Elder (2):
      clk: bcm281xx: add initial clock framework support
      clk: bcm281xx: define U32_MAX conditionally for now

Tim Kryger (1):
      clocksource: kona: Add basic use of external clock

 drivers/clk/Kconfig                  |    1 +
 drivers/clk/Makefile                 |    1 +
 drivers/clk/bcm/Kconfig              |    8 +
 drivers/clk/bcm/Makefile             |    3 +
 drivers/clk/bcm/clk-bcm281xx.c       |  416 ++++++++++++++
 drivers/clk/bcm/clk-kona-setup.c     |  769 +++++++++++++++++++++++++
 drivers/clk/bcm/clk-kona.c           | 1033 ++++++++++++++++++++++++++++++++++
 drivers/clk/bcm/clk-kona.h           |  416 ++++++++++++++
 drivers/clocksource/bcm_kona_timer.c |   14 +-
 include/dt-bindings/clock/bcm281xx.h |   65 +++
 10 files changed, 2723 insertions(+), 3 deletions(-)
 create mode 100644 drivers/clk/bcm/Kconfig
 create mode 100644 drivers/clk/bcm/Makefile
 create mode 100644 drivers/clk/bcm/clk-bcm281xx.c
 create mode 100644 drivers/clk/bcm/clk-kona-setup.c
 create mode 100644 drivers/clk/bcm/clk-kona.c
 create mode 100644 drivers/clk/bcm/clk-kona.h
 create mode 100644 include/dt-bindings/clock/bcm281xx.h

Comments

Olof Johansson Jan. 9, 2014, 6:04 a.m. UTC | #1
On Sun, Jan 05, 2014 at 10:58:36PM -0800, Christian Daudt wrote:
> The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:
> 
>   Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)
> 
> are available in the git repository at:
> 
>   git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers

Hi,

Is there a reason you're sending this through arm-soc instead of through Mike's
clk tree? I don't see any dependencies on SoC code so I think it can go
independently through clk?


-Olof
Christian Daudt Jan. 9, 2014, 7:52 a.m. UTC | #2
On Wed, Jan 8, 2014 at 10:04 PM, Olof Johansson <olof@lixom.net> wrote:
> On Sun, Jan 05, 2014 at 10:58:36PM -0800, Christian Daudt wrote:
>> The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:
>>
>>   Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)
>>
>> are available in the git repository at:
>>
>>   git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers
>
> Hi,
>
> Is there a reason you're sending this through arm-soc instead of through Mike's
> clk tree? I don't see any dependencies on SoC code so I think it can go
> independently through clk?
>
>
> -Olof
The reason for the clk patches is that the file
include/dt-bindings/clock/bcm281xx.h is  used both by the driver and
the by the bcm11351.dtsi file (which has other mods going through
arm-soc). But now that you mentioned it, I looked and didn't find the
patch that modifies dts to include it. Alex - did I miss it?

 thanks,
   csd
Alex Elder Jan. 9, 2014, 1:09 p.m. UTC | #3
On 01/09/2014 01:52 AM, Christian Daudt wrote:
> On Wed, Jan 8, 2014 at 10:04 PM, Olof Johansson <olof@lixom.net> wrote:
>> On Sun, Jan 05, 2014 at 10:58:36PM -0800, Christian Daudt wrote:
>>> The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:
>>>
>>>   Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)
>>>
>>> are available in the git repository at:
>>>
>>>   git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers
>>
>> Hi,
>>
>> Is there a reason you're sending this through arm-soc instead of through Mike's
>> clk tree? I don't see any dependencies on SoC code so I think it can go
>> independently through clk?
>>
>>
>> -Olof
> The reason for the clk patches is that the file
> include/dt-bindings/clock/bcm281xx.h is  used both by the driver and
> the by the bcm11351.dtsi file (which has other mods going through
> arm-soc). But now that you mentioned it, I looked and didn't find the
> patch that modifies dts to include it. Alex - did I miss it?

Yes you did.  Or I guess I may have, or may not have communicated
the situation adequately.

There were four commits:
    clk: bcm281xx: define kona clock binding
    clk: bcm281xx: add initial clock framework support
    clk: bcm281xx: define U32_MAX conditionally for now
and
    ARM: dts: bcm281xx: define real clocks

The first one is in your tagged branch "bcm-for-3.14-dt".
The second two are in "bcm-for-3.14-drivers".  The last one
is missing.

HOWEVER there's more to it than that.  My DT change depended
on both code and DT changes from Tim Kryger--from another
series you were trying to coordinate taking through your tree.
    https://lkml.org/lkml/2013/12/5/508
And because those seem to be missing from your tree we can't
just use the DT patch as-is.  As I understand it we have been
waiting for one unresponsive maintainer on that series (but
I haven't been following closely).

For what it's worth, the DT patch is available here:
    git://git.linaro.org/landing-teams/working/broadcom/kernel.git
as the last commit in branch "pull/csd-kona-clocks".

But to get this resolved we have to either:
- include Tim's series in the pull request;
- update my DT file to *not* define clocks affected by
  Tim's series;
- or make a trivial update to my code so it does *not*
  disable unused clocks.

(Or maybe something else.)

I'm here to help and can respond quickly.  Christian and Tim are
on the US West coast so it'll be a few hours before they're around
to help out.

					-Alex
Matt Porter Jan. 9, 2014, 2:50 p.m. UTC | #4
On Thu, Jan 09, 2014 at 07:09:03AM -0600, Alex Elder wrote:
> On 01/09/2014 01:52 AM, Christian Daudt wrote:
> > On Wed, Jan 8, 2014 at 10:04 PM, Olof Johansson <olof@lixom.net> wrote:
> >> On Sun, Jan 05, 2014 at 10:58:36PM -0800, Christian Daudt wrote:
> >>> The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:
> >>>
> >>>   Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)
> >>>
> >>> are available in the git repository at:
> >>>
> >>>   git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers
> >>
> >> Hi,
> >>
> >> Is there a reason you're sending this through arm-soc instead of through Mike's
> >> clk tree? I don't see any dependencies on SoC code so I think it can go
> >> independently through clk?
> >>
> >>
> >> -Olof
> > The reason for the clk patches is that the file
> > include/dt-bindings/clock/bcm281xx.h is  used both by the driver and
> > the by the bcm11351.dtsi file (which has other mods going through
> > arm-soc). But now that you mentioned it, I looked and didn't find the
> > patch that modifies dts to include it. Alex - did I miss it?
> 
> Yes you did.  Or I guess I may have, or may not have communicated
> the situation adequately.
> 
> There were four commits:
>     clk: bcm281xx: define kona clock binding
>     clk: bcm281xx: add initial clock framework support
>     clk: bcm281xx: define U32_MAX conditionally for now
> and
>     ARM: dts: bcm281xx: define real clocks
> 
> The first one is in your tagged branch "bcm-for-3.14-dt".
> The second two are in "bcm-for-3.14-drivers".  The last one
> is missing.
> 
> HOWEVER there's more to it than that.  My DT change depended
> on both code and DT changes from Tim Kryger--from another
> series you were trying to coordinate taking through your tree.
>     https://lkml.org/lkml/2013/12/5/508
> And because those seem to be missing from your tree we can't
> just use the DT patch as-is.  As I understand it we have been
> waiting for one unresponsive maintainer on that series (but
> I haven't been following closely).

To clarify, we've been expecting an ack from Chris Ball on the sdhci
patch all along. When that didn't come, the
"ARM: dts: bcm281xx: define real clocks" had to be dropped. The fallout
is that the original reason for taking the clk driver through arm-soc
for 3.14 is no longer valid.

Ideally we'd love an 11th hour ack and be able to use the common clock
driver in 3.14 but we can carry that to 3.15.

-Matt
Kevin Hilman Jan. 23, 2014, 5:04 p.m. UTC | #5
Christian Daudt <bcm@fixthebug.org> writes:

> The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d:
>
>   Linux 3.13-rc4 (2013-12-15 12:31:33 -0800)
>
> are available in the git repository at:
>
>   git://github.com/broadcom/bcm11351.git tags/bcm-for-3.14-drivers
>
> for you to fetch changes up to e257c5f6e1cad35d15c06d713b2d1a26f883bbcb:
>
>   clk: bcm281xx: define U32_MAX conditionally for now (2013-12-31
> 09:54:45 -0800)
>
> ----------------------------------------------------------------
> Clk driver for bcm mobile SoCs
>
> ----------------------------------------------------------------

Pulled into late/soc.  

Kevin