Re: [PATCH 1/2] dt-bindings: i2c: Convert UniPhier I2C controller to json-schema

From: Rob Herring
Date: Wed Feb 26 2020 - 11:46:45 EST


On Fri, 21 Feb 2020 11:55:33 +0900, Masahiro Yamada wrote:
> Convert the UniPhier I2C controller (FIFO-less) binding to DT schema
> format.
>
> There are two types of I2C controllers used on the UniPhier platform.
> This is the legacy one without FIFO support, which is used on the
> sLD8 SoC or older.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
>
> When I search for a subsystem-common schema, I need to
> look in both dt-schema project and the kernel tree.
>
> For example,
> the i2c-controller.yaml is located in the dt-schema project.
> dt-schema/schemas/i2c/i2c-controller.yaml
>
> The dma-controller.yaml is located in the kernel tree.
> Documentation/devicetree/bindings/dma/dma-controller.yaml
>
> I am still wondering about the policy...
>
> As far as I understood, the schema written by Rob
> tend to go in the dt-schma project. Is this correct?
>
>
> .../devicetree/bindings/i2c/i2c-uniphier.txt | 25 ----------
> .../bindings/i2c/socionext,uniphier-i2c.yaml | 50 +++++++++++++++++++
> 2 files changed, 50 insertions(+), 25 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-uniphier.txt
> create mode 100644 Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
>

Applied, thanks.

Rob