[PATCH V3 2/2] dt-bindings: i2c: Convert imx i2c to json-schema

Rob Herring robh at kernel.org
Thu Jul 9 19:25:15 EDT 2020


On Tue, 16 Jun 2020 11:50:54 +0800, Anson Huang wrote:
> Convert the i.MX I2C binding to DT schema format using json-schema,
> some improvements applied, such as update example based on latest DT
> file, add more compatible for existing SoCs, and remove unnecessary
> common property "pinctrl".
> 
> Signed-off-by: Anson Huang <Anson.Huang at nxp.com>
> ---
> Changes since V2:
> 	- remove 'clock-frequency' property's type and use enum for it, ONLY support 100KHz/400KHz.
> 	- remove *-gpios's typs/description, since it is already defined in i2c-gpio.yaml.
> 	- fix space issue in example.
> ---
>  Documentation/devicetree/bindings/i2c/i2c-imx.txt  |  49 ----------
>  Documentation/devicetree/bindings/i2c/i2c-imx.yaml | 103 +++++++++++++++++++++
>  2 files changed, 103 insertions(+), 49 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-imx.txt
>  create mode 100644 Documentation/devicetree/bindings/i2c/i2c-imx.yaml
> 

Applied, thanks!



More information about the linux-arm-kernel mailing list