devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFT PATCH 0/5] Convert adi,adv7511.txt DT bindings to yaml
@ 2020-05-01  8:32 Ricardo Cañuelo
  2020-05-01  8:32 ` [RFT PATCH 1/5] arm64: dts: draak: Reorder hdmi-encoder@39 reg and reg-names properties Ricardo Cañuelo
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Ricardo Cañuelo @ 2020-05-01  8:32 UTC (permalink / raw)
  To: laurent.pinchart
  Cc: kernel, devicetree, linux-arm-kernel, geert+renesas, robh+dt,
	xuwei5

Hi,

This series convert the adi,adv7511.txt DT bindings to json-schema. As a
result of the conversion some dts files needed to be updated.

The changes to the dts files are of two types:

  - Reordering of the I2C slave addresses list of the ADV75xx node. The
    addresses in the 'reg' property and the matching names in
    'reg-names' for an I2C slave don't need to be in any particular
    order, but the DT schema defines these properties as a cell array
    and a string array respectively, which are ordered, so the
    definitions in the dts files must match the order in the binding.

  - Filling the minimum binding requirements. Most of the time this
    means creating a 'ports' node in the boards that don't define
    them. Note, however, that the purpose of this is simply to make the
    definition compliant with the binding. I didn't define any endpoints
    for the ports.

About the binding conversion:

  - The dependencies between properties are properly modelled but the
    result might look cluttered. If you find it hard to read or
    maintain, another option is to split the binding in two: one for the
    ADV7511/11w/13 and another one for the ADV7533/35.

Patches 1/5 to 4/5 contain the dts changes. Patch 5/5 contains the
binding conversion.

NOTE: the bindings have been tested with:

  make dt_binding_check ARCH=<arch> DT_SCHEMA_FILES=<...adi,adv7511.yaml>
  make dtbs_check ARCH=<arch> DT_SCHEMA_FILES=<...adi,adv7511.yaml>

for <arch> = arm and arm64. dts changes haven't been tested in hardware.

Kind regards,
Ricardo

Ricardo Cañuelo (5):
  arm64: dts: draak: Reorder hdmi-encoder@39 reg and reg-names
    properties
  ARM: dts: wheat: reorder reg and reg-names properties in hdmi bridges
  ARM: dts: zynq: add port definitions to hdmi-tx@39
  arm64: dts: hisilicon: hikey960: add missing hdmi bridge properties
  dt-bindings: drm: bridge: adi,adv7511.txt: convert to yaml

 .../bindings/display/bridge/adi,adv7511.txt   | 143 ---------
 .../bindings/display/bridge/adi,adv7511.yaml  | 295 ++++++++++++++++++
 arch/arm/boot/dts/r8a7792-wheat.dts           |   8 +-
 arch/arm/boot/dts/zynq-zc702.dts              |  10 +
 arch/arm/boot/dts/zynq-zc706.dts              |  10 +
 .../boot/dts/hisilicon/hi3660-hikey960.dts    |  11 +
 .../arm64/boot/dts/renesas/r8a77995-draak.dts |   4 +-
 7 files changed, 332 insertions(+), 149 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt
 create mode 100644 Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml

-- 
2.18.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-05-06 18:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-01  8:32 [RFT PATCH 0/5] Convert adi,adv7511.txt DT bindings to yaml Ricardo Cañuelo
2020-05-01  8:32 ` [RFT PATCH 1/5] arm64: dts: draak: Reorder hdmi-encoder@39 reg and reg-names properties Ricardo Cañuelo
2020-05-01  8:32 ` [RFT PATCH 2/5] ARM: dts: wheat: reorder reg and reg-names properties in hdmi bridges Ricardo Cañuelo
2020-05-01  8:32 ` [RFT PATCH 3/5] ARM: dts: zynq: add port definitions to hdmi-tx@39 Ricardo Cañuelo
2020-05-01  8:32 ` [RFT PATCH 4/5] arm64: dts: hisilicon: hikey960: add missing hdmi bridge properties Ricardo Cañuelo
2020-05-01  8:32 ` [RFT PATCH 5/5] dt-bindings: drm: bridge: adi,adv7511.txt: convert to yaml Ricardo Cañuelo
2020-05-05 18:56   ` Rob Herring
2020-05-06 13:10     ` Ricardo Cañuelo
2020-05-06 18:43       ` Rob Herring
2020-05-06  7:44   ` Geert Uytterhoeven
2020-05-06  8:23     ` Ricardo Cañuelo
2020-05-06 10:57       ` Laurent Pinchart
2020-05-06 12:59         ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).