Re: [PATCH v3] dt-bindings: i2c: Move i2c-omap.txt to YAML format

From: Rob Herring
Date: Wed Jun 02 2021 - 15:06:25 EST


On Wed, 26 May 2021 15:34:12 +0530, Vignesh Raghavendra wrote:
> Convert i2c-omap.txt to YAML schema for better checks and documentation.
>
> Following properties were used in DT but were not documented in txt
> bindings and has been included in YAML schema:
> 1. Include ti,am4372-i2c compatible
> 2. Document clocks property
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
> ---
>
> Note that am335x-myirtech*.dtsi needs fixing to drop scl/sda-gpios
> which are not supported by i2c-omap driver.
> omap2/3 dmas property is being dropped by:
> https://lore.kernel.org/20210526094424.27234-1-vigneshr@xxxxxx
>
> v3:
> Add conditions around ti,hwmods usage
> drop dmas property as it was never used/supported
> set additionalProperties: False
> Address Rob H comments
>
> v2:
> Fix issues with make dt_bindings_check
> Add description on usage of ti,hwmods
>
> v2: https://lore.kernel.org/r/20210506140026.31254-1-vigneshr@xxxxxx
> v1: https://lore.kernel.org/r/20210505065511.918-1-vigneshr@xxxxxx
>
> .../devicetree/bindings/i2c/i2c-omap.txt | 37 -------
> .../devicetree/bindings/i2c/ti,omap4-i2c.yaml | 102 ++++++++++++++++++
> MAINTAINERS | 2 +-
> 3 files changed, 103 insertions(+), 38 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-omap.txt
> create mode 100644 Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>