mbox series

[v2,0/2] clk: meson: Add G12A AO Clock + Reset Controller

Message ID 20190212162859.20743-1-narmstrong@baylibre.com (mailing list archive)
Headers show
Series clk: meson: Add G12A AO Clock + Reset Controller | expand

Message

Neil Armstrong Feb. 12, 2019, 4:28 p.m. UTC
This patchset add support for the Amlogic G12A SoC family Always-On
clock and reset controller.

This adds support for clocks on the Always-On domain like :
- Always-On UARTS & I2C Controllers
- CEC Controllers
- SARADC source and bus clock
- Infrared Decoder/Encoder bus clock
- USB 32K reference clock

This also adds resets lines for :
- Always-On UARTS & I2C Controllers
- SARADC, Infrared Decoder/Encoder

This patchset depends on the ("clk: meson: rework drivers dependencies")
from Jerome Brunet at [1].

Changes from v1 at [2]:
- Moved unused bindings ID out of the dt-bindings header
- Added comment about CLK_IGNORE_UNUSED

[1] https://lkml.kernel.org/r/20190201125841.26785-1-jbrunet@baylibre.com
[2] https://lkml.kernel.org/r/20190204091331.9298-1-narmstrong@baylibre.com

Neil Armstrong (2):
  dt-bindings: clk: add G12A AO Clock and Reset Bindings
  clk: meson: Add G12A AO Clock + Reset Controller

 .../bindings/clock/amlogic,gxbb-aoclkc.txt    |   1 +
 drivers/clk/meson/Kconfig                     |   2 +
 drivers/clk/meson/Makefile                    |   2 +-
 drivers/clk/meson/g12a-aoclk.c                | 454 ++++++++++++++++++
 drivers/clk/meson/g12a-aoclk.h                |  34 ++
 include/dt-bindings/clock/g12a-aoclkc.h       |  34 ++
 include/dt-bindings/reset/g12a-aoclkc.h       |  18 +
 7 files changed, 544 insertions(+), 1 deletion(-)
 create mode 100644 drivers/clk/meson/g12a-aoclk.c
 create mode 100644 drivers/clk/meson/g12a-aoclk.h
 create mode 100644 include/dt-bindings/clock/g12a-aoclkc.h
 create mode 100644 include/dt-bindings/reset/g12a-aoclkc.h

Comments

Jerome Brunet Feb. 13, 2019, 8:38 a.m. UTC | #1
On Tue, 2019-02-12 at 17:28 +0100, Neil Armstrong wrote:
> This patchset add support for the Amlogic G12A SoC family Always-On
> clock and reset controller.
> 
> This adds support for clocks on the Always-On domain like :
> - Always-On UARTS & I2C Controllers
> - CEC Controllers
> - SARADC source and bus clock
> - Infrared Decoder/Encoder bus clock
> - USB 32K reference clock
> 
> This also adds resets lines for :
> - Always-On UARTS & I2C Controllers
> - SARADC, Infrared Decoder/Encoder
> 
> This patchset depends on the ("clk: meson: rework drivers dependencies")
> from Jerome Brunet at [1].
> 
> Changes from v1 at [2]:
> - Moved unused bindings ID out of the dt-bindings header
> - Added comment about CLK_IGNORE_UNUSED
> 
> [1] https://lkml.kernel.org/r/20190201125841.26785-1-jbrunet@baylibre.com
> [2] https://lkml.kernel.org/r/20190204091331.9298-1-narmstrong@baylibre.com
> 
> Neil Armstrong (2):
>   dt-bindings: clk: add G12A AO Clock and Reset Bindings
>   clk: meson: Add G12A AO Clock + Reset Controller

Acked-by: Jerome Brunet <jbrunet@baylibre.com>

> 
>  .../bindings/clock/amlogic,gxbb-aoclkc.txt    |   1 +
>  drivers/clk/meson/Kconfig                     |   2 +
>  drivers/clk/meson/Makefile                    |   2 +-
>  drivers/clk/meson/g12a-aoclk.c                | 454 ++++++++++++++++++
>  drivers/clk/meson/g12a-aoclk.h                |  34 ++
>  include/dt-bindings/clock/g12a-aoclkc.h       |  34 ++
>  include/dt-bindings/reset/g12a-aoclkc.h       |  18 +
>  7 files changed, 544 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/clk/meson/g12a-aoclk.c
>  create mode 100644 drivers/clk/meson/g12a-aoclk.h
>  create mode 100644 include/dt-bindings/clock/g12a-aoclkc.h
>  create mode 100644 include/dt-bindings/reset/g12a-aoclkc.h
>
Neil Armstrong Feb. 13, 2019, 9 a.m. UTC | #2
On 13/02/2019 09:38, Jerome Brunet wrote:
> On Tue, 2019-02-12 at 17:28 +0100, Neil Armstrong wrote:
>> This patchset add support for the Amlogic G12A SoC family Always-On
>> clock and reset controller.
>>
>> This adds support for clocks on the Always-On domain like :
>> - Always-On UARTS & I2C Controllers
>> - CEC Controllers
>> - SARADC source and bus clock
>> - Infrared Decoder/Encoder bus clock
>> - USB 32K reference clock
>>
>> This also adds resets lines for :
>> - Always-On UARTS & I2C Controllers
>> - SARADC, Infrared Decoder/Encoder
>>
>> This patchset depends on the ("clk: meson: rework drivers dependencies")
>> from Jerome Brunet at [1].
>>
>> Changes from v1 at [2]:
>> - Moved unused bindings ID out of the dt-bindings header
>> - Added comment about CLK_IGNORE_UNUSED
>>
>> [1] https://lkml.kernel.org/r/20190201125841.26785-1-jbrunet@baylibre.com
>> [2] https://lkml.kernel.org/r/20190204091331.9298-1-narmstrong@baylibre.com
>>
>> Neil Armstrong (2):
>>   dt-bindings: clk: add G12A AO Clock and Reset Bindings
>>   clk: meson: Add G12A AO Clock + Reset Controller
> 
> Acked-by: Jerome Brunet <jbrunet@baylibre.com>
> 
>>
>>  .../bindings/clock/amlogic,gxbb-aoclkc.txt    |   1 +
>>  drivers/clk/meson/Kconfig                     |   2 +
>>  drivers/clk/meson/Makefile                    |   2 +-
>>  drivers/clk/meson/g12a-aoclk.c                | 454 ++++++++++++++++++
>>  drivers/clk/meson/g12a-aoclk.h                |  34 ++
>>  include/dt-bindings/clock/g12a-aoclkc.h       |  34 ++
>>  include/dt-bindings/reset/g12a-aoclkc.h       |  18 +
>>  7 files changed, 544 insertions(+), 1 deletion(-)
>>  create mode 100644 drivers/clk/meson/g12a-aoclk.c
>>  create mode 100644 drivers/clk/meson/g12a-aoclk.h
>>  create mode 100644 include/dt-bindings/clock/g12a-aoclkc.h
>>  create mode 100644 include/dt-bindings/reset/g12a-aoclkc.h
>>
> 
> 

Applied to next/drivers for Linux 5.1-rc1