Skip to contentSkip to conversation

Allwinner sunXi clock changes for 3.16

GIT PULL Emilio López 3 participants 6 messages Jun 1, 2014 – Jun 4, 2014

lore
Share & tools
lore
#0 lore raw

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Cheers,

Emilio

--->8---

The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:

Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)

are available in the git repository at:

https://bitbucket.org/emiliolopez/linux.git tags/sunxi-clk-for-3.16

for you to fetch changes up to 4da7e86418af722793610e57cee9d3e73d16ed58:

clk: sunxi: document PRCM clock compatible strings (2014-05-15
12:20:14 -0300)

----------------------------------------------------------------
Allwinner sunXi SoCs clock changes

This pull contains some new code to add support for A31 clocks by Maxime and Boris. It also reworks the driver a bit to avoid having a huge single file when we have a full folder for ourselves, and separating different functional units makes sense.

----------------------------------------------------------------
Boris BREZILLON (2):
clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support
clk: sunxi: document PRCM clock compatible strings

Emilio L?pez (1):
clk: sunxi: document new A31 USB clock compatible

Maxime Ripard (7):
clk: sunxi: Implement A31 USB clock
clk: sunxi: Remove calls to clk_put
clk: sunxi: Move the 24M oscillator to a file of its own
clk: sunxi: Move the GMAC clock to a file of its own
clk: sunxi: Rework clock protection code
clk: sun6i: Protect CPU clock
clk: sun6i: Protect SDRAM gating bit

  Documentation/devicetree/bindings/clock/sunxi.txt |   4 +++
  drivers/clk/sunxi/Makefile                        |   4 +++
  drivers/clk/sunxi/clk-a10-hosc.c                  |  73 
+++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-a20-gmac.c                  | 119 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-apb0-gates.c          |  99 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-apb0.c                |  77 
+++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-ar100.c               | 233 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sunxi.c                     | 239 
+++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------
  8 files changed, 661 insertions(+), 187 deletions(-)

create mode 100644 drivers/clk/sunxi/clk-a10-hosc.c create mode 100644 drivers/clk/sunxi/clk-a20-gmac.c create mode 100644 drivers/clk/sunxi/clk-sun6i-apb0-gates.c create mode 100644 drivers/clk/sunxi/clk-sun6i-apb0.c create mode 100644 drivers/clk/sunxi/clk-sun6i-ar100.c

#1 lore raw

Quoting Emilio L?pez (2014-06-01 12:13:48)

Quoted 6 lines

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Hi Emilio,

-rc8 is pretty late for me to take this in under normal circumstances, and since the merge window opened early this time I will defer taking this pull request in until 3.16-rc1 is released. It'll be one of the first things applied to the new clk-next.

Regards,
Mike

Quoted 65 lines

Cheers,

Emilio

--->8---

The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:

   Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)

are available in the git repository at:

https://bitbucket.org/emiliolopez/linux.git tags/sunxi-clk-for-3.16

for you to fetch changes up to 4da7e86418af722793610e57cee9d3e73d16ed58:

clk: sunxi: document PRCM clock compatible strings (2014-05-15
12:20:14 -0300)

----------------------------------------------------------------
Allwinner sunXi SoCs clock changes

This pull contains some new code to add support for A31 clocks by Maxime and Boris. It also reworks the driver a bit to avoid having a huge single file when we have a full folder for ourselves, and separating different functional units makes sense.

----------------------------------------------------------------
Boris BREZILLON (2):
clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support
clk: sunxi: document PRCM clock compatible strings

Emilio L?pez (1):
clk: sunxi: document new A31 USB clock compatible

Maxime Ripard (7):
clk: sunxi: Implement A31 USB clock
clk: sunxi: Remove calls to clk_put
clk: sunxi: Move the 24M oscillator to a file of its own
clk: sunxi: Move the GMAC clock to a file of its own
clk: sunxi: Rework clock protection code
clk: sun6i: Protect CPU clock
clk: sun6i: Protect SDRAM gating bit

  Documentation/devicetree/bindings/clock/sunxi.txt |   4 +++
  drivers/clk/sunxi/Makefile                        |   4 +++
  drivers/clk/sunxi/clk-a10-hosc.c                  |  73 
+++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-a20-gmac.c                  | 119 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-apb0-gates.c          |  99 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-apb0.c                |  77 
+++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sun6i-ar100.c               | 233 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/clk/sunxi/clk-sunxi.c                     | 239 
+++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------
  8 files changed, 661 insertions(+), 187 deletions(-)

create mode 100644 drivers/clk/sunxi/clk-a10-hosc.c create mode 100644 drivers/clk/sunxi/clk-a20-gmac.c create mode 100644 drivers/clk/sunxi/clk-sun6i-apb0-gates.c create mode 100644 drivers/clk/sunxi/clk-sun6i-apb0.c create mode 100644 drivers/clk/sunxi/clk-sun6i-ar100.c

#2 lore raw

Hi Mike,

Quoted 8 lines · Mike Turquette

Quoting Emilio L?pez (2014-06-01 12:13:48)

Quoted 6 lines

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Quoted 6 lines

Hi Emilio,

-rc8 is pretty late for me to take this in under normal circumstances, and since the merge window opened early this time I will defer taking this pull request in until 3.16-rc1 is released. It'll be one of the first things applied to the new clk-next.

I know that Emilio has been pretty late at sending this, but at least the A31 USB clocks patches is quite important for us, since it would allow to add the A31 to Olof's boot test farm.

Could you reconsider merging this?

Just so that doesn't happen again, when do you expect the pull requests?

Thanks,
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140604/6d0fcfd5/attachment.sig>
#3 lore raw

Quoting Maxime Ripard (2014-06-04 00:19:22)

Quoted 13 lines

Hi Mike,

Quoted 10 lines · Mike Turquette

Quoting Emilio L?pez (2014-06-01 12:13:48)

Quoted 6 lines

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Hi Emilio,

Quoted 8 lines
Quoted 4 lines

-rc8 is pretty late for me to take this in under normal circumstances, and since the merge window opened early this time I will defer taking this pull request in until 3.16-rc1 is released. It'll be one of the first things applied to the new clk-next.

I know that Emilio has been pretty late at sending this, but at least the A31 USB clocks patches is quite important for us, since it would allow to add the A31 to Olof's boot test farm.

I guess you will still reap the benefits of Olof's boot testing if this is merged after 3.16-rc1?

Quoted 5 lines

Could you reconsider merging this?

Just so that doesn't happen again, when do you expect the pull requests?

There isn't a hard rule for "must be in by -rcN". But I really don't like taking patches after the merge window opens. Something bothers me about the commitdate for patches in clk-next being later than the commitdate for the new Linux major release. I always take some trivial patches during this time, or fixes which are obvious and would have to be sent for the next round of -rc's anyways, but features or new hardware support is something I don't like to take after the merge window opens.

I was bit a couple merge windows back by trying to be too aggressive about sneaking stuff in at the last minute and I learned my lesson ;-)

Regards,
Mike

Quoted 8 lines

Thanks,
Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw
Quoted 19 lines · Mike Turquette

Quoting Maxime Ripard (2014-06-04 00:19:22)

Quoted 18 lines

Hi Mike,

Quoted 14 lines · Mike Turquette

Quoting Emilio L?pez (2014-06-01 12:13:48)

Quoted 6 lines

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Hi Emilio,

-rc8 is pretty late for me to take this in under normal circumstances, and since the merge window opened early this time I will defer taking this pull request in until 3.16-rc1 is released. It'll be one of the first things applied to the new clk-next.

Quoted 6 lines
Quoted 3 lines

I know that Emilio has been pretty late at sending this, but at least the A31 USB clocks patches is quite important for us, since it would allow to add the A31 to Olof's boot test farm.

I guess you will still reap the benefits of Olof's boot testing if this is merged after 3.16-rc1?

Well, yeah, but it would be delayed by a release, while the needed drivers are already there.

Quoted 9 lines
Quoted 4 lines

Could you reconsider merging this?

Just so that doesn't happen again, when do you expect the pull requests?

There isn't a hard rule for "must be in by -rcN". But I really don't like taking patches after the merge window opens. Something bothers me about the commitdate for patches in clk-next being later than the commitdate for the new Linux major release.

Which won't happen in this case, since we're at -rc8 ;)

Quoted 8 lines

I always take some trivial patches during this time, or fixes which are obvious and would have to be sent for the next round of -rc's anyways, but features or new hardware support is something I don't like to take after the merge window opens.

I was bit a couple merge windows back by trying to be too aggressive about sneaking stuff in at the last minute and I learned my lesson ;-)

If it makes it easier for you, I've been carrying these patches for quite some time in my working branch.

But I definitely understand.

Thanks,
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140604/afed36ae/attachment-0001.sig>
#5 lore raw

Quoting Maxime Ripard (2014-06-04 08:50:49)

Quoted 35 lines · Mike Turquette
Quoted 19 lines

Quoting Maxime Ripard (2014-06-04 00:19:22)

Quoted 18 lines

Hi Mike,

Quoted 14 lines · Mike Turquette

Quoting Emilio L?pez (2014-06-01 12:13:48)

Quoted 6 lines

Hi Mike,

Here is the sunxi clocks pull for 3.16. As you probably saw during the cycle, this mostly contains improved A31 support and a bit of housekeeping. Please note that this pull does *not* contain the MMC clock patches Hans sent, as you merged those yourself on clk-next

Hi Emilio,

-rc8 is pretty late for me to take this in under normal circumstances, and since the merge window opened early this time I will defer taking this pull request in until 3.16-rc1 is released. It'll be one of the first things applied to the new clk-next.

Quoted 6 lines
Quoted 3 lines

I know that Emilio has been pretty late at sending this, but at least the A31 USB clocks patches is quite important for us, since it would allow to add the A31 to Olof's boot test farm.

I guess you will still reap the benefits of Olof's boot testing if this is merged after 3.16-rc1?

Well, yeah, but it would be delayed by a release, while the needed drivers are already there.

Quoted 5 lines
Quoted 4 lines

Could you reconsider merging this?

Just so that doesn't happen again, when do you expect the pull requests?

Quoted 6 lines
Quoted 4 lines

There isn't a hard rule for "must be in by -rcN". But I really don't like taking patches after the merge window opens. Something bothers me about the commitdate for patches in clk-next being later than the commitdate for the new Linux major release.

Which won't happen in this case, since we're at -rc8 ;)

Technically that is correct, but this time around we have the weird "lets do -rc8 and open the merge window at the same time" thing. So my commitdate example isn't perfect, but the point is that the merge window has opened and I plan to send my pull request on Friday, so I'm not taking anything else for 3.16. Sorry for the inconvenience.

Regards,
Mike

Quoted 22 lines
Quoted 9 lines

I always take some trivial patches during this time, or fixes which are obvious and would have to be sent for the next round of -rc's anyways, but features or new hardware support is something I don't like to take after the merge window opens.

I was bit a couple merge windows back by trying to be too aggressive about sneaking stuff in at the last minute and I learned my lesson ;-)

If it makes it easier for you, I've been carrying these patches for quite some time in my working branch.

But I definitely understand.

Thanks,
Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com