From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v1 26/36] dt-bindings: display: convert sony,acx565akm to DT Schema Date: Wed, 18 Mar 2020 21:03:45 -0600 Message-ID: <20200319030345.GG29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-27-sam@ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Thierry Reding , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexandre Courbot , Andrzej Hajda , Brian Masney , Chris Zhong , Douglas Anderson , Guido Gunther , Heiko Schocher , Nikolaus Schaller , Hoegeun Kwon , Jagan Teki , Jerry Han , Jonathan Bakker , Laurent Pinchart , Lin Huang , Linus Walleij , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Marco Franchi , To: Sam Ravnborg Return-path: Content-Disposition: inline In-Reply-To: <20200315134416.16527-27-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Sun, Mar 15, 2020 at 02:44:06PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Tomi Valkeinen > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../bindings/display/panel/sony,acx565akm.txt | 30 ----------- > .../display/panel/sony,acx565akm.yaml | 53 +++++++++++++++++++ > 2 files changed, 53 insertions(+), 30 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > deleted file mode 100644 > index e12333280749..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt > +++ /dev/null > @@ -1,30 +0,0 @@ > -Sony ACX565AKM SDI Panel > -======================== > - > -Required properties: > -- compatible: "sony,acx565akm" > - > -Optional properties: > -- label: a symbolic name for the panel > -- reset-gpios: panel reset gpio > - > -Required nodes: > -- Video port for SDI input > - > -Example > -------- > - > -acx565akm@2 { > - compatible = "sony,acx565akm"; > - spi-max-frequency = <6000000>; > - reg = <2>; > - > - label = "lcd"; > - reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ > - > - port { > - lcd_in: endpoint { > - remote-endpoint = <&sdi_out>; > - }; > - }; > -}; > diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > new file mode 100644 > index 000000000000..a0b1abb9f33d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/sony,acx565akm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sony ACX565AKM SDI Panel > + > +maintainers: > + - Tomi Valkeinen > + > +allOf: > + - $ref: panel-common.yaml# > + - $ref: ../../spi/spi-slave.yaml# > + > +properties: > + compatible: > + const: sony,acx565akm > + > + label: true > + reset-gpios: true > + port: true > + > +required: > + - compatible > + - port > + > + > +examples: > + - | > + #include > + > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + acx565akm@2 { panel@2 > + compatible = "sony,acx565akm"; > + spi-max-frequency = <6000000>; > + reg = <2>; > + > + label = "lcd"; > + reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ > + > + port { > + lcd_in: endpoint { > + remote-endpoint = <&sdi_out>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.20.1 >