Message ID | 20230317232355.1554980-3-sre@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add Inanbo T28CP45TN89 panel support | expand |
On 18/03/2023 00:23, Sebastian Reichel wrote: > Add compatible value for Inanbo t28cp45tn89 and > make reset GPIO non mandatory, since it might not > be connected to the CPU. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v5.18-rc4/source/Documentation/process/submitting-patches.rst#L586 > > Signed-off-by: Sebastian Reichel <sre@kernel.org> > --- > .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml > index d984b59daa4a..4fc86f96b00f 100644 > --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml > +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml > @@ -15,7 +15,9 @@ allOf: > > properties: > compatible: > - const: sitronix,st7789v > + enum: > + - sitronix,st7789v > + - inanbo,t28cp45tn89-v17 Keep them ordered by name. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml index d984b59daa4a..4fc86f96b00f 100644 --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml @@ -15,7 +15,9 @@ allOf: properties: compatible: - const: sitronix,st7789v + enum: + - sitronix,st7789v + - inanbo,t28cp45tn89-v17 reg: true reset-gpios: true @@ -29,7 +31,6 @@ properties: required: - compatible - reg - - reset-gpios - power-supply unevaluatedProperties: false
Add compatible value for Inanbo t28cp45tn89 and make reset GPIO non mandatory, since it might not be connected to the CPU. Signed-off-by: Sebastian Reichel <sre@kernel.org> --- .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)