[PATCH v2 0/3] dt-bindings: i2c: convert i2c-at91 to json-schema

From: Sergiu Moga
Date: Thu Mar 10 2022 - 06:46:36 EST


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