[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220310114553.184763-1-sergiu.moga@microchip.com>
Date: Thu, 10 Mar 2022 13:45:50 +0200
From: Sergiu Moga <sergiu.moga@...rochip.com>
To: <robh+dt@...nel.org>, <krzysztof.kozlowski@...onical.com>,
<nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
<claudiu.beznea@...rochip.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-i2c@...r.kernel.org>,
Sergiu Moga <sergiu.moga@...rochip.com>
Subject: [PATCH v2 0/3] dt-bindings: i2c: convert i2c-at91 to json-schema
This patch series addresses the conversion of the I2C DT binding
for Atmel/Microchip SoCs to Device Tree Schema format. The
SAMA7G5 compatible has also been added to the I2C DT binding. It also
ensures consistency across the SoC files regarding the ordering
of the `rx` and `tx` strings of the `dma-names` property of the
`i2c` nodes by changing it in the SoC file of `sama7g5`.
Changes since v1:
- Moved `allOf` after `required:`.
- Removed the `pinctrl` generic property.
- Replaced the undocumented `wm8731` compatible from `examples:` with
the documented `atmel,24c02`.
- Removed the unnecessary `oneOf` from the conditional `if` of `allOf`.
Instead the `sama7g5` compatible string is simply added to the `enum`.
Sergiu Moga (3):
ARM: dts: at91: sama7g5: Swap `rx` and `tx` for `i2c` nodes
dt-bindings: i2c: convert i2c-at91 to json-schema
dt-bindings: i2c: at91: Add SAMA7G5 compatible strings list
.../bindings/i2c/atmel,at91sam-i2c.yaml | 146 ++++++++++++++++++
.../devicetree/bindings/i2c/i2c-at91.txt | 82 ----------
arch/arm/boot/dts/sama7g5.dtsi | 18 +--
3 files changed, 155 insertions(+), 91 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-at91.txt
--
2.25.1
Powered by blists - more mailing lists