RE: [PATCH 00/17] dt-bindings: samsung: add specific compatibles for existing SoC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krzysztof

> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Sent: Wednesday, November 8, 2023 4:13 PM
> To: David Airlie <airlied@xxxxxxxxx>; Daniel Vetter <daniel@xxxxxxxx>;
> Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>; Maxime Ripard
> <mripard@xxxxxxxxxx>; Thomas Zimmermann <tzimmermann@xxxxxxx>;
> Rob Herring <robh+dt@xxxxxxxxxx>; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@xxxxxxxxxx>; Conor Dooley
> <conor+dt@xxxxxxxxxx>; Alim Akhtar <alim.akhtar@xxxxxxxxxxx>; Andi
> Shyti <andi.shyti@xxxxxxxxxx>; Jonathan Cameron <jic23@xxxxxxxxxx>; Lars-
> Peter Clausen <lars@xxxxxxxxxx>; Lee Jones <lee@xxxxxxxxxx>; Ulf
> Hansson <ulf.hansson@xxxxxxxxxx>; Tomasz Figa <tomasz.figa@xxxxxxxxx>;
> Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>; Linus Walleij
> <linus.walleij@xxxxxxxxxx>; Thierry Reding <thierry.reding@xxxxxxxxx>; Uwe
> Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>; Alessandro Zummo
> <a.zummo@xxxxxxxxxxxx>; Alexandre Belloni
> <alexandre.belloni@xxxxxxxxxxx>; Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx>; Jiri Slaby <jirislaby@xxxxxxxxxx>; Liam
> Girdwood <lgirdwood@xxxxxxxxx>; Mark Brown <broonie@xxxxxxxxxx>;
> Jaehoon Chung <jh80.chung@xxxxxxxxxxx>; Sam Protsenko
> <semen.protsenko@xxxxxxxxxx>; dri-devel@xxxxxxxxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linux-arm-
> kernel@xxxxxxxxxxxxxxxxxxx; linux-samsung-soc@xxxxxxxxxxxxxxx; linux-
> i2c@xxxxxxxxxxxxxxx; linux-iio@xxxxxxxxxxxxxxx; linux-mmc@xxxxxxxxxxxxxxx;
> linux-gpio@xxxxxxxxxxxxxxx; linux-pwm@xxxxxxxxxxxxxxx; linux-
> rtc@xxxxxxxxxxxxxxx; linux-serial@xxxxxxxxxxxxxxx; alsa-devel@alsa-
> project.org; linux-sound@xxxxxxxxxxxxxxx
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Subject: [PATCH 00/17] dt-bindings: samsung: add specific compatibles for
> existing SoC
> 
> Hi,
> 
> Merging
> =======
> I propose to take entire patchset through my tree (Samsung SoC), because:
> 1. Next cycle two new SoCs will be coming (Google GS101 and
> ExynosAutov920), so
>    they will touch the same lines in some of the DT bindings (not all, though).
>    It is reasonable for me to take the bindings for the new SoCs, to have clean
>    `make dtbs_check` on the new DTS.
> 2. Having it together helps me to have clean `make dtbs_check` within my
> tree
>    on the existing DTS.
> 3. No drivers are affected by this change.
> 4. I plan to do the same for Tesla FSD and Exynos ARM32 SoCs, thus expect
>    follow up patchsets.
> 
Sure, make sense. 

> If folks agree, please kindly Ack the patches.
> 
> Description
> ===========
> Samsung Exynos SoCs reuse several devices from older designs, thus
> historically we kept the old (block's) compatible only.  This works fine and
> there is no bug here, however guidelines expressed in
> Documentation/devicetree/bindings/writing-bindings.rst state that:
> 1. Compatibles should be specific.
> 2. We should add new compatibles in case of bugs or features.
> 
> Add compatibles specific to each SoC in front of all old-SoC-like compatibles.
> This will also help reviews of new code using existing DTS as template.  No
> functional impact on Linux drivers behavior.
> 
> Future
> ======
> If reasonable, I will do similar work for Tesla FSD and ARMv7/ARM32 Exynos
> bindings and DTS.
> 
> Best regards,
> Krzysztof
> 
> Krzysztof Kozlowski (17):
>   dt-bindings: hwinfo: samsung,exynos-chipid: add specific compatibles
>     for existing SoC
>   dt-bindings: i2c: exynos5: add specific compatibles for existing SoC
>   dt-bindings: i2c: samsung,s3c2410-i2c: add specific compatibles for
>     existing SoC
>   dt-bindings: mmc: samsung,exynos-dw-mshc: add specific compatibles for
>     existing SoC
>   dt-bindings: pinctrl: samsung: add specific compatibles for existing
>     SoC
>   dt-bindings: rtc: s3c-rtc: add specific compatibles for existing SoC
>   dt-bindings: serial: samsung: add specific compatibles for existing
>     SoC
>   dt-bindings: samsung: exynos-pmu: add specific compatibles for
>     existing SoC
>   dt-bindings: gpu: arm,mali-midgard: add specific compatibles for
>     existing Exynos SoC
>   dt-bindings: iio: samsung,exynos-adc: add specific compatibles for
>     existing SoC
>   ASoC: dt-bindings: samsung-i2s: add specific compatibles for existing
>     SoC
>   dt-bindings: pwm: samsung: add specific compatibles for existing SoC
>   arm64: dts: exynos5433: add specific compatibles to several blocks
>   arm64: dts: exynos7: add specific compatibles to several blocks
>   arm64: dts: exynos7885: add specific compatibles to several blocks
>   arm64: dts: exynos850: add specific compatibles to several blocks
>   arm64: dts: exynosautov9: add specific compatibles to several blocks
> 
>  .../bindings/gpu/arm,mali-midgard.yaml        |  5 ++
>  .../hwinfo/samsung,exynos-chipid.yaml         | 17 +++++-
>  .../devicetree/bindings/i2c/i2c-exynos5.yaml  | 10 +++-
>  .../bindings/i2c/samsung,s3c2410-i2c.yaml     | 22 ++++---
>  .../bindings/iio/adc/samsung,exynos-adc.yaml  | 29 +++++----
>  .../mfd/samsung,exynos5433-lpass.yaml         |  2 +-
>  .../bindings/mmc/samsung,exynos-dw-mshc.yaml  | 25 +++++---
>  .../samsung,pinctrl-wakeup-interrupt.yaml     | 24 +++++---
>  .../bindings/pinctrl/samsung,pinctrl.yaml     |  3 +-
>  .../devicetree/bindings/pwm/pwm-samsung.yaml  |  2 +
>  .../devicetree/bindings/rtc/s3c-rtc.yaml      |  5 ++
>  .../bindings/serial/samsung_uart.yaml         | 14 ++++-
>  .../bindings/soc/samsung/exynos-pmu.yaml      |  6 ++
>  .../bindings/soc/samsung/exynos-usi.yaml      |  2 +-
>  .../bindings/sound/samsung-i2s.yaml           | 19 +++---
>  arch/arm64/boot/dts/exynos/exynos5433.dtsi    | 60 ++++++++++++-------
>  arch/arm64/boot/dts/exynos/exynos7.dtsi       | 18 +++---
>  arch/arm64/boot/dts/exynos/exynos7885.dtsi    | 45 +++++++++-----
>  arch/arm64/boot/dts/exynos/exynos850.dtsi     | 34 ++++++-----
>  arch/arm64/boot/dts/exynos/exynosautov9.dtsi  |  6 +-
>  20 files changed, 233 insertions(+), 115 deletions(-)
> 
> --
> 2.34.1







[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux