mbox series

[v2,0/8] arm64: dts: Initial RTD1293/RTD1296 and DS418j/DS418 support

Message ID 20191020040817.16882-1-afaerber@suse.de
Headers show
Series arm64: dts: Initial RTD1293/RTD1296 and DS418j/DS418 support | expand

Message

Andreas Färber Oct. 20, 2019, 4:08 a.m. UTC
Hello,

This series adds Device Trees for the Realtek RTD1293 and RTD1296 SoCs and
Synology DiskStation DS418j and DS418 NAS devices.

v2 was updated to YAML schemas.

More details at:
https://en.opensuse.org/HCL:DS418j
https://en.opensuse.org/HCL:DS418

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

Have a lot of fun!

Cheers,
Andreas

v1 -> v2:
* Rebased onto Rob's SoC YAML schema conversion
* Moved SPDX-License-Identifier to top
* YAML schema conversions of watchdog and rtc
* Dropped "arm,armv8" (Rob)
* Adopted BSD-2-Clause instead of MIT dual-license (Rob)
* Dropped accidental enable-method and cpu-release-addr
* Fix DS418 to actually use rtd1296.dtsi

Cc: info@synology.com
Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>

Andreas Färber (8):
  dt-bindings: watchdog: realtek: Convert RTD119x to schema
  dt-bindings: rtc: realtek: Convert RTD119x to schema
  dt-bindings: arm: realtek: Tidy up conversion to json-schema
  dt-bindings: arm: realtek: Document RTD1293 and Synology DS418j
  arm64: dts: realtek: Change dual-license from MIT to BSD
  arm64: dts: realtek: Add RTD1293 and Synology DS418j
  dt-bindings: arm: realtek: Document RTD1296 and Synology DS418
  arm64: dts: realtek: Add RTD1296 and Synology DS418

 Documentation/devicetree/bindings/arm/realtek.yaml | 27 ++++++---
 .../devicetree/bindings/rtc/realtek,rtd119x.txt    | 16 ------
 .../devicetree/bindings/rtc/realtek,rtd119x.yaml   | 38 +++++++++++++
 .../bindings/watchdog/realtek,rtd119x.txt          | 17 ------
 .../bindings/watchdog/realtek,rtd119x.yaml         | 38 +++++++++++++
 arch/arm64/boot/dts/realtek/Makefile               |  5 ++
 arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts     | 30 ++++++++++
 arch/arm64/boot/dts/realtek/rtd1293.dtsi           | 51 +++++++++++++++++
 arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts  |  3 +-
 arch/arm64/boot/dts/realtek/rtd1295.dtsi           |  3 +-
 arch/arm64/boot/dts/realtek/rtd1296-ds418.dts      | 30 ++++++++++
 arch/arm64/boot/dts/realtek/rtd1296.dtsi           | 65 ++++++++++++++++++++++
 arch/arm64/boot/dts/realtek/rtd129x.dtsi           |  3 +-
 13 files changed, 280 insertions(+), 46 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.yaml
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1293.dtsi
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1296-ds418.dts
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1296.dtsi

Comments

Rob Herring Oct. 25, 2019, 8:52 p.m. UTC | #1
On Sat, Oct 19, 2019 at 11:08 PM Andreas Färber <afaerber@suse.de> wrote:
>
> Move the SPDX-License-Identifier to the top line and update to SPDX 2.0.
> While at it, switch from GPLv2+/MIT to GPLv2+/BSD2c before adding more.
>
> Suggested-by: Rob Herring <robh@kernel.org>
> Cc: Rob Herring <robh@kernel.org>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v2: New
>
>  arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 3 +--
>  arch/arm64/boot/dts/realtek/rtd1295.dtsi          | 3 +--
>  arch/arm64/boot/dts/realtek/rtd129x.dtsi          | 3 +--
>  3 files changed, 3 insertions(+), 6 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

It's really only schema files that I'm pushing towards BSD2C. Maybe in
hindsight we should have done MIT as that's more common in the dts
files.

Rob
Andreas Färber Oct. 29, 2019, 4:39 a.m. UTC | #2
Am 25.10.19 um 22:52 schrieb Rob Herring:
> On Sat, Oct 19, 2019 at 11:08 PM Andreas Färber <afaerber@suse.de> wrote:
>>
>> Move the SPDX-License-Identifier to the top line and update to SPDX 2.0.
>> While at it, switch from GPLv2+/MIT to GPLv2+/BSD2c before adding more.
>>
>> Suggested-by: Rob Herring <robh@kernel.org>
>> Cc: Rob Herring <robh@kernel.org>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>  v2: New
>>
>>  arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 3 +--
>>  arch/arm64/boot/dts/realtek/rtd1295.dtsi          | 3 +--
>>  arch/arm64/boot/dts/realtek/rtd129x.dtsi          | 3 +--
>>  3 files changed, 3 insertions(+), 6 deletions(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 
> It's really only schema files that I'm pushing towards BSD2C. Maybe in
> hindsight we should have done MIT as that's more common in the dts
> files.

After discussion with Rob about whether to drop this change I dropped
the misunderstood Suggested-by and applied this to linux-realtek.git
v5.5/dt64 anyway:

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

I don't mind either license.

Thanks,
Andreas
Andreas Färber Oct. 29, 2019, 4:40 a.m. UTC | #3
Am 20.10.19 um 06:08 schrieb Andreas Färber:
> Add Device Trees for RTD1293 SoC and Synology DiskStation DS418j NAS.
> 
> Cc: info@synology.com
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v1 -> v2:
>  * Moved SPDX-License-Identifier to top
>  * Dropped "arm,armv8" (Rob)
>  * Changed from MIT to BSD-2-Clause (Rob)
>  * Dropped accidental enable-method and cpu-release-addr
>  
>  arch/arm64/boot/dts/realtek/Makefile           |  3 ++
>  arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts | 30 +++++++++++++++
>  arch/arm64/boot/dts/realtek/rtd1293.dtsi       | 51 ++++++++++++++++++++++++++
>  3 files changed, 84 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts
>  create mode 100644 arch/arm64/boot/dts/realtek/rtd1293.dtsi

Applied to linux-realtek.git v5.5/dt64:

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

Regards,
Andreas
Andreas Färber Oct. 29, 2019, 4:41 a.m. UTC | #4
Am 20.10.19 um 06:08 schrieb Andreas Färber:
> Add Device Trees for RTD1296 SoC and Synology DiskStation DS418.
> 
> Cc: info@synology.com
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v1 -> v2:
>  * Moved SPDX-License-Identifier to top
>  * Dropped "arm,armv8" (Rob)
>  * Changed from MIT to BSD-2-Clause (Rob)
>  * Dropped accidental enable-method and cpu-release-addr
>  * Fixed DS418 to use rtd1296.dtsi
>  
>  arch/arm64/boot/dts/realtek/Makefile          |  2 +
>  arch/arm64/boot/dts/realtek/rtd1296-ds418.dts | 30 +++++++++++++
>  arch/arm64/boot/dts/realtek/rtd1296.dtsi      | 65 +++++++++++++++++++++++++++
>  3 files changed, 97 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/realtek/rtd1296-ds418.dts
>  create mode 100644 arch/arm64/boot/dts/realtek/rtd1296.dtsi

Applied to linux-realtek.git v5.5/dt64:

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

Regards,
Andreas