Message ID | 20211006074713.1094396-2-alexander.stein@ew.tq-group.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | None | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dt-meta-schema | success | |
robh/dtbs-check | fail | build log |
On Wed, Oct 6, 2021 at 2:47 AM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > Add a VCC regulator which needs to be enabled before the EN pin is > released. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > index 07b20383cbca..149cff3233c2 100644 > --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > @@ -32,6 +32,9 @@ properties: > maxItems: 1 > description: GPIO specifier for bridge_en pin (active high). > > + vcc-supply: > + description: A 1.8V power supply (see regulator/regulator.yaml). > + > ports: > $ref: /schemas/graph.yaml#/properties/ports > > @@ -94,6 +97,7 @@ required: > - compatible > - reg > - enable-gpios > + - vcc-supply You generally can't make added properties required unless all DT files already had this property. It breaks compatibility. Rob
diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml index 07b20383cbca..149cff3233c2 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml @@ -32,6 +32,9 @@ properties: maxItems: 1 description: GPIO specifier for bridge_en pin (active high). + vcc-supply: + description: A 1.8V power supply (see regulator/regulator.yaml). + ports: $ref: /schemas/graph.yaml#/properties/ports @@ -94,6 +97,7 @@ required: - compatible - reg - enable-gpios + - vcc-supply - ports allOf: @@ -135,6 +139,7 @@ examples: reg = <0x2d>; enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + vcc-supply = <®_sn65dsi83_1v8>; ports { #address-cells = <1>;
Add a VCC regulator which needs to be enabled before the EN pin is released. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 5 +++++ 1 file changed, 5 insertions(+)