[00/14] ARM: dts: realtek: Introduce syscon
mbox series

Message ID 20191202182205.14629-1-afaerber@suse.de
Headers show
Series
  • ARM: dts: realtek: Introduce syscon
Related show

Message

Andreas Färber Dec. 2, 2019, 6:21 p.m. UTC
Hello,

This patch series factors out system controller multi-function device nodes
for CRT, Iso, Misc, SB2 and SCPU Wrapper IP blocks.

It was inspired by my SoC info RFC, as discussed in its cover letter [1].

Goal of DT is to describe the hardware, and in previous patches we've already
introduced Realtek's r-bus as node layer. The next step here is to model
multi-function blocks as nodes. In order to cope with 80-character line limit,
child nodes are added via reference rather than in-place.

Also included is a patch adding a reset constant for the SB2 block added.
We may need to follow up with bindings adding compatibles, clocks and resets.

This series is based on my RTD1195 v4 [2] (except for reset, rebased here),
my RTD1395 v2 [3] and James' modified RTD1619 v3 [4].

The irq mux series v5 [5] has been rebased onto this series, v6 to be sent.
The SoC info RFC series [1] is still being updated, v2 to be posted later.

Latest experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

[1] https://patchwork.kernel.org/cover/11224261/
[2] https://patchwork.kernel.org/cover/11258949/
[3] https://patchwork.kernel.org/cover/11268955/
[4] https://patchwork.kernel.org/patch/11239697/
[5] https://patchwork.kernel.org/cover/11255291/

Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Cc: James Tai <james.tai@realtek.com>

Andreas Färber (14):
  ARM: dts: rtd1195: Introduce iso and misc syscon
  arm64: dts: realtek: rtd129x: Introduce CRT, iso and misc syscon
  arm64: dts: realtek: rtd139x: Introduce CRT, iso and misc syscon
  arm64: dts: realtek: rtd16xx: Introduce iso and misc syscon
  ARM: dts: rtd1195: Add CRT syscon node
  dt-bindings: reset: Add Realtek RTD1195
  ARM: dts: rtd1195: Add reset nodes
  ARM: dts: rtd1195: Add UART resets
  arm64: dts: realtek: rtd16xx: Add CRT syscon node
  ARM: dts: rtd1195: Add SB2 and SCPU Wrapper syscon nodes
  arm64: dts: realtek: rtd129x: Add SB2 and SCPU Wrapper syscon nodes
  arm64: dts: realtek: rtd139x: Add SB2 and SCPU Wrapper syscon nodes
  arm64: dts: realtek: rtd16xx: Add SB2 and SCPU Wrapper syscon nodes
  dt-bindings: reset: rtd1295: Add SB2 reset

 arch/arm/boot/dts/rtd1195.dtsi              | 110 ++++++++++++++++---
 arch/arm64/boot/dts/realtek/rtd129x.dtsi    | 157 ++++++++++++++++++----------
 arch/arm64/boot/dts/realtek/rtd139x.dtsi    | 157 ++++++++++++++++++----------
 arch/arm64/boot/dts/realtek/rtd16xx.dtsi    |  91 ++++++++++++----
 include/dt-bindings/reset/realtek,rtd1195.h |  74 +++++++++++++
 include/dt-bindings/reset/realtek,rtd1295.h |   3 +
 6 files changed, 449 insertions(+), 143 deletions(-)
 create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h

Comments

Andreas Färber Dec. 30, 2019, 2:57 a.m. UTC | #1
Hi James,

Am 02.12.19 um 19:21 schrieb Andreas Färber:
> This patch series factors out system controller multi-function device nodes
> for CRT, Iso, Misc, SB2 and SCPU Wrapper IP blocks.
> 
> It was inspired by my SoC info RFC, as discussed in its cover letter [1].
> 
> Goal of DT is to describe the hardware, and in previous patches we've already
> introduced Realtek's r-bus as node layer. The next step here is to model
> multi-function blocks as nodes. In order to cope with 80-character line limit,
> child nodes are added via reference rather than in-place.

I'm waiting for your Acked-by of the blocks & numbers in these patches. 
Other Realtek engineers are also invited to respond, of course.

Thanks in advance,
Andreas

> Andreas Färber (14):
>    ARM: dts: rtd1195: Introduce iso and misc syscon
>    arm64: dts: realtek: rtd129x: Introduce CRT, iso and misc syscon
>    arm64: dts: realtek: rtd139x: Introduce CRT, iso and misc syscon
>    arm64: dts: realtek: rtd16xx: Introduce iso and misc syscon
>    ARM: dts: rtd1195: Add CRT syscon node
>    dt-bindings: reset: Add Realtek RTD1195
>    ARM: dts: rtd1195: Add reset nodes
>    ARM: dts: rtd1195: Add UART resets
>    arm64: dts: realtek: rtd16xx: Add CRT syscon node
>    ARM: dts: rtd1195: Add SB2 and SCPU Wrapper syscon nodes
>    arm64: dts: realtek: rtd129x: Add SB2 and SCPU Wrapper syscon nodes
>    arm64: dts: realtek: rtd139x: Add SB2 and SCPU Wrapper syscon nodes
>    arm64: dts: realtek: rtd16xx: Add SB2 and SCPU Wrapper syscon nodes
>    dt-bindings: reset: rtd1295: Add SB2 reset
> 
>   arch/arm/boot/dts/rtd1195.dtsi              | 110 ++++++++++++++++---
>   arch/arm64/boot/dts/realtek/rtd129x.dtsi    | 157 ++++++++++++++++++----------
>   arch/arm64/boot/dts/realtek/rtd139x.dtsi    | 157 ++++++++++++++++++----------
>   arch/arm64/boot/dts/realtek/rtd16xx.dtsi    |  91 ++++++++++++----
>   include/dt-bindings/reset/realtek,rtd1195.h |  74 +++++++++++++
>   include/dt-bindings/reset/realtek,rtd1295.h |   3 +
>   6 files changed, 449 insertions(+), 143 deletions(-)
>   create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h
James Tai [戴志峰] Dec. 31, 2019, 9:47 a.m. UTC | #2
Hi Andreas,

> 
> I'm waiting for your Acked-by of the blocks & numbers in these patches.
> Other Realtek engineers are also invited to respond, of course.

I have reviewed these patches.

Thank you for your contribution.


Regards,
James
Andreas Färber Jan. 3, 2020, 2:58 a.m. UTC | #3
Hi James,

Am 31.12.19 um 10:47 schrieb James Tai:
>> I'm waiting for your Acked-by of the blocks & numbers in these patches.
>> Other Realtek engineers are also invited to respond, of course.
> 
> I have reviewed these patches.

Thanks - does anything need changes in patch 01 or is that ack'ed, too?

Regards,
Andreas
Andreas Färber Jan. 15, 2020, 1:26 p.m. UTC | #4
Am 03.01.20 um 03:58 schrieb Andreas Färber:
> Hi James,
> 
> Am 31.12.19 um 10:47 schrieb James Tai:
>>> I'm waiting for your Acked-by of the blocks & numbers in these patches.
>>> Other Realtek engineers are also invited to respond, of course.
>>
>> I have reviewed these patches.
> 
> Thanks - does anything need changes in patch 01 or is that ack'ed, too?

No further response, so all (incl. 01/14) applied to linux-realtek.git:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.6/dt

Should there be anything wrong with 01/14, just send a follow-up patch.

Regards,
Andreas