* [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies
@ 2020-02-23 12:18 Linus Walleij
2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Linus Walleij @ 2020-02-23 12:18 UTC (permalink / raw)
To: Thierry Reding, Sam Ravnborg, dri-devel, Rob Herring
Cc: Linus Walleij, devicetree, Stephan Gerhold
This vendor has produced a number of display panels,
including HVA40WV1.
Cc: devicetree@vger.kernel.org
Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- New patch adding this vendor.
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 9e67944bec9c..95ef233dbb52 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -421,6 +421,8 @@ patternProperties:
description: Shenzhen Hugsun Technology Co. Ltd.
"^hwacom,.*":
description: HwaCom Systems Inc.
+ "^hydis,.*":
+ description: Hydis Technologies
"^hyundai,.*":
description: Hyundai Technology
"^i2se,.*":
--
2.21.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels 2020-02-23 12:18 [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Linus Walleij @ 2020-02-23 12:18 ` Linus Walleij 2020-02-25 18:12 ` Rob Herring 2020-02-29 13:08 ` Sam Ravnborg 2020-02-25 18:11 ` [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Rob Herring 2020-02-29 13:07 ` Sam Ravnborg 2 siblings, 2 replies; 6+ messages in thread From: Linus Walleij @ 2020-02-23 12:18 UTC (permalink / raw) To: Thierry Reding, Sam Ravnborg, dri-devel, Rob Herring Cc: Linus Walleij, Stephan Gerhold, devicetree This adds device tree bindings for the Novatek NT35510-based family of panels. Since several such panels are in existence we define bindings common for all, and define the compatible string for one certain panel (Hydis HVA40WV1). As other panels are discovered and investigated, we can add more compatibles to the binding using oneOf constructions. Cc: Stephan Gerhold <stephan@gerhold.net> Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v1->v2: - Rename file to novatek,nt35510,yaml to match the first compatible. - Require both the specific display manufacturer compatible and the novatek,nt35510 compatible in strict sequence. --- .../display/panel/novatek,nt35510.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml new file mode 100644 index 000000000000..791fc9daa68b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT35510-based display panels + +maintainers: + - Linus Walleij <linus.walleij@linaro.org> + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: hydis,hva40wv1 + - const: novatek,nt35510 + description: This indicates the panel manufacturer of the panel + that is in turn using the NT35510 panel driver. The compatible + string determines how the NT35510 panel driver shall be configured + to work with the indicated panel. The novatek,nt35510 compatible shall + always be provided as a fallback. + reg: true + reset-gpios: true + vdd-supply: + description: regulator that supplies the vdd voltage + vddi-supply: + description: regulator that supplies the vddi voltage + backlight: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi@a0351000 { + #address-cells = <1>; + #size-cells = <0>; + panel { + compatible = "hydis,hva40wv1", "novatek,nt35510"; + reg = <0>; + vdd-supply = <&ab8500_ldo_aux4_reg>; + vddi-supply = <&ab8500_ldo_aux6_reg>; + reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + backlight = <&gpio_bl>; + }; + }; + +... -- 2.21.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels 2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij @ 2020-02-25 18:12 ` Rob Herring 2020-02-29 13:08 ` Sam Ravnborg 1 sibling, 0 replies; 6+ messages in thread From: Rob Herring @ 2020-02-25 18:12 UTC (permalink / raw) To: Linus Walleij Cc: Thierry Reding, Sam Ravnborg, dri-devel, Linus Walleij, Stephan Gerhold, devicetree On Sun, 23 Feb 2020 13:18:40 +0100, Linus Walleij wrote: > This adds device tree bindings for the Novatek NT35510-based > family of panels. Since several such panels are in existence > we define bindings common for all, and define the compatible > string for one certain panel (Hydis HVA40WV1). > > As other panels are discovered and investigated, we can add > more compatibles to the binding using oneOf constructions. > > Cc: Stephan Gerhold <stephan@gerhold.net> > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > ChangeLog v1->v2: > - Rename file to novatek,nt35510,yaml to match the first > compatible. > - Require both the specific display manufacturer compatible > and the novatek,nt35510 compatible in strict sequence. > --- > .../display/panel/novatek,nt35510.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > Reviewed-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels 2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij 2020-02-25 18:12 ` Rob Herring @ 2020-02-29 13:08 ` Sam Ravnborg 1 sibling, 0 replies; 6+ messages in thread From: Sam Ravnborg @ 2020-02-29 13:08 UTC (permalink / raw) To: Linus Walleij Cc: Thierry Reding, dri-devel, Rob Herring, Stephan Gerhold, devicetree On Sun, Feb 23, 2020 at 01:18:40PM +0100, Linus Walleij wrote: > This adds device tree bindings for the Novatek NT35510-based > family of panels. Since several such panels are in existence > we define bindings common for all, and define the compatible > string for one certain panel (Hydis HVA40WV1). > > As other panels are discovered and investigated, we can add > more compatibles to the binding using oneOf constructions. > > Cc: Stephan Gerhold <stephan@gerhold.net> > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Applied to drm-misc-next. Sam > --- > ChangeLog v1->v2: > - Rename file to novatek,nt35510,yaml to match the first > compatible. > - Require both the specific display manufacturer compatible > and the novatek,nt35510 compatible in strict sequence. > --- > .../display/panel/novatek,nt35510.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > new file mode 100644 > index 000000000000..791fc9daa68b > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Novatek NT35510-based display panels > + > +maintainers: > + - Linus Walleij <linus.walleij@linaro.org> > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + items: > + - const: hydis,hva40wv1 > + - const: novatek,nt35510 > + description: This indicates the panel manufacturer of the panel > + that is in turn using the NT35510 panel driver. The compatible > + string determines how the NT35510 panel driver shall be configured > + to work with the indicated panel. The novatek,nt35510 compatible shall > + always be provided as a fallback. > + reg: true > + reset-gpios: true > + vdd-supply: > + description: regulator that supplies the vdd voltage > + vddi-supply: > + description: regulator that supplies the vddi voltage > + backlight: true > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + #include <dt-bindings/gpio/gpio.h> > + > + dsi@a0351000 { > + #address-cells = <1>; > + #size-cells = <0>; > + panel { > + compatible = "hydis,hva40wv1", "novatek,nt35510"; > + reg = <0>; > + vdd-supply = <&ab8500_ldo_aux4_reg>; > + vddi-supply = <&ab8500_ldo_aux6_reg>; > + reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; > + backlight = <&gpio_bl>; > + }; > + }; > + > +... > -- > 2.21.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies 2020-02-23 12:18 [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Linus Walleij 2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij @ 2020-02-25 18:11 ` Rob Herring 2020-02-29 13:07 ` Sam Ravnborg 2 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2020-02-25 18:11 UTC (permalink / raw) To: Linus Walleij Cc: Thierry Reding, Sam Ravnborg, dri-devel, Linus Walleij, devicetree, Stephan Gerhold On Sun, 23 Feb 2020 13:18:39 +0100, Linus Walleij wrote: > This vendor has produced a number of display panels, > including HVA40WV1. > > Cc: devicetree@vger.kernel.org > Cc: Stephan Gerhold <stephan@gerhold.net> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > ChangeLog v1->v2: > - New patch adding this vendor. > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies 2020-02-23 12:18 [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Linus Walleij 2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij 2020-02-25 18:11 ` [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Rob Herring @ 2020-02-29 13:07 ` Sam Ravnborg 2 siblings, 0 replies; 6+ messages in thread From: Sam Ravnborg @ 2020-02-29 13:07 UTC (permalink / raw) To: Linus Walleij Cc: Thierry Reding, dri-devel, Rob Herring, devicetree, Stephan Gerhold On Sun, Feb 23, 2020 at 01:18:39PM +0100, Linus Walleij wrote: > This vendor has produced a number of display panels, > including HVA40WV1. > > Cc: devicetree@vger.kernel.org > Cc: Stephan Gerhold <stephan@gerhold.net> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Applied to drm-misc-next with Rob's ack > --- > ChangeLog v1->v2: > - New patch adding this vendor. > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml > index 9e67944bec9c..95ef233dbb52 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > @@ -421,6 +421,8 @@ patternProperties: > description: Shenzhen Hugsun Technology Co. Ltd. > "^hwacom,.*": > description: HwaCom Systems Inc. > + "^hydis,.*": > + description: Hydis Technologies > "^hyundai,.*": > description: Hyundai Technology > "^i2se,.*": > -- > 2.21.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-29 13:08 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-02-23 12:18 [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Linus Walleij 2020-02-23 12:18 ` [PATCH 2/3 v2] drm/panel: Add DT bindings for Novatek NT35510-based panels Linus Walleij 2020-02-25 18:12 ` Rob Herring 2020-02-29 13:08 ` Sam Ravnborg 2020-02-25 18:11 ` [PATCH 1/3 v2] dt-bindings: Add vendor prefix for Hydis technologies Rob Herring 2020-02-29 13:07 ` Sam Ravnborg
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).