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

Rob Herring robh at kernel.org
Wed Jun 2 12:06:11 PDT 2021


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 at ti.com>
> ---
> 
> 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@ti.com
> 
> 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@ti.com
> v1: https://lore.kernel.org/r/20210505065511.918-1-vigneshr@ti.com
> 
>  .../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 at kernel.org>



More information about the linux-arm-kernel mailing list