Skip to contentSkip to conversation

renesas,iic: Fixes and DT binding to json-schema conversion

PATCH Superseded Geert Uytterhoeven 2 participants 2 messages Jun 18, 2021 I2C subsystem host drivers

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover renesas,iic: Fixes and DT binding to json-schema conversion

Hi all,

According to the Hardware User's Manual, automatic transmission for PMIC control (DVFS) is not available on RZ/G1, R-Car E3, and RZ/G2E SoC. Thanks to various experiments by Wolfram (thanks a lot!) and me, we devised this really means that support for automatic DVFS is not present, while the IIC automatic transmission feature itself is still available, albeit not super useful.

Hence this patch series updates the renesas,iic DT bindings and DTS files to always consider all variants and instances compatible with the family-specific and generic versions, and converts the bindings to json-schema.

Changes compared to v1[1][2]:
- Consider all variants and instances compatible with the family-specific and generic versions.

I plan to queue patches 2-4 in renesas-devel for v5.15.

Thanks for your comments!

[1] "[PATCH/RFC 4/6] dt-bindings: i2c: renesas,iic: Convert to json-schema"

    https://lore.kernel.org/r/ecfaf6be5e8c285db2bcc823bb1dd89931fa5c29.1620138454.git.geert+renesas@glider.be

[2] "[PATCH 0/2] ARM: dts: r8a7745,r8a7794: Remove generic compatible strings from iic blocks"
https://lore.kernel.org/r/[email protected]

Geert Uytterhoeven (5):
dt-bindings: i2c: renesas,iic: Always declare generic compatibility
ARM: dts: rzg1: Add generic compatible strings to IIC nodes
arm64: dts: renesas: r8a774c0: Add generic compatible string to IIC
node
arm64: dts: renesas: r8a77990: Add generic compatible string to IIC
node
dt-bindings: i2c: renesas,iic: Convert to json-schema

 .../devicetree/bindings/i2c/renesas,iic.txt   |  72 ---------
 .../bindings/i2c/renesas,rmobile-iic.yaml     | 149 ++++++++++++++++++
 MAINTAINERS                                   |   2 +-
 arch/arm/boot/dts/r8a7742.dtsi                |   4 +-
 arch/arm/boot/dts/r8a7743.dtsi                |   4 +-
 arch/arm/boot/dts/r8a7744.dtsi                |   4 +-
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi     |   6 +-
 arch/arm64/boot/dts/renesas/r8a77990.dtsi     |   6 +-
 8 files changed, 167 insertions(+), 80 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/i2c/renesas,iic.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml
Signature · 1 line
2.25.1
Reviewed-by on the v2 series
#1 lore raw

Hi Geert,

Quoted 1 line

I plan to queue patches 2-4 in renesas-devel for v5.15.

I like the series! So, I will queue patches 1+5. For the rest:

Thanks for doing this!

Have a nice weekend,

Wolfram