* [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema
@ 2023-08-23 8:14 Krzysztof Kozlowski
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-23 8:14 UTC (permalink / raw)
To: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, Laurent Pinchart, dri-devel,
devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Add schema with common properties shared among dual display panel ICs.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
v2: https://lore.kernel.org/all/20230502120036.47165-1-krzysztof.kozlowski@linaro.org/
v1: https://lore.kernel.org/all/20230416153929.356330-1-krzysztof.kozlowski@linaro.org/
Changes since v2:
1. New Patch
---
.../display/panel/panel-common-dual.yaml | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
new file mode 100644
index 000000000000..83fcd643b5f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Common Properties for Dual-Display Panels
+
+maintainers:
+ - Thierry Reding <thierry.reding@gmail.com>
+ - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
+
+description:
+ Properties common for Panel IC supporting dual display panels.
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+ additionalProperties: false
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: First display panel
+
+ port@1:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Second display panel
+
+ "#address-cells": true
+ "#size-cells": true
+
+ required:
+ - port@0
+
+# Single-panel setups are still allowed.
+oneOf:
+ - required:
+ - ports
+ - required:
+ - port
+
+additionalProperties: true
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports
2023-08-23 8:14 [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Krzysztof Kozlowski
@ 2023-08-23 8:14 ` Krzysztof Kozlowski
2023-08-23 9:08 ` Rob Herring
2023-08-24 17:20 ` Rob Herring
2023-08-23 8:15 ` [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: " Krzysztof Kozlowski
2023-08-23 8:34 ` [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Laurent Pinchart
2 siblings, 2 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-23 8:14 UTC (permalink / raw)
To: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, Laurent Pinchart, dri-devel,
devicetree, linux-kernel
Cc: Krzysztof Kozlowski
The panel-common schema does not define what "ports" property is, so
bring the definition by referencing the panel-common-dual.yaml. Panels
can be single- or dual-link, thus require only one port@0.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes since v2:
1. Use panel-common-dual
Changes since v1:
1. Rework to add ports to device schema, not to panel-common.
---
.../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml
index 377a05d48a02..7cac93b20944 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml
@@ -19,7 +19,7 @@ description: |
either bilinear interpolation or pixel duplication.
allOf:
- - $ref: panel-common.yaml#
+ - $ref: panel-common-dual.yaml#
properties:
compatible:
@@ -59,6 +59,7 @@ required:
- avee-supply
- dvdd-supply
- vddio-supply
+ - ports
additionalProperties: false
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: define ports
2023-08-23 8:14 [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Krzysztof Kozlowski
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
@ 2023-08-23 8:15 ` Krzysztof Kozlowski
2023-08-24 17:21 ` Rob Herring
2023-08-23 8:34 ` [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Laurent Pinchart
2 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-23 8:15 UTC (permalink / raw)
To: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, Laurent Pinchart, dri-devel,
devicetree, linux-kernel
Cc: Krzysztof Kozlowski
The panel-common schema does not define what "ports" property is, so
bring the definition by referencing the panel-common-dual.yaml. Panels
can be single- or dual-link, depending on the compatible, thus add
if:then:else: block narrowing ports per variant.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes since v2:
1. Use panel-common-dual.
2. Add if:then:else:
Changes since v1:
1. Rework to add ports to device schema, not to panel-common.
---
.../display/panel/novatek,nt36523.yaml | 25 +++++++++++++++----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
index 5f7e4c486094..bbeea8cfa5fb 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
@@ -14,9 +14,6 @@ description: |
panels. Support video mode panels from China Star Optoelectronics
Technology (CSOT) and BOE Technology.
-allOf:
- - $ref: panel-common.yaml#
-
properties:
compatible:
oneOf:
@@ -38,7 +35,6 @@ properties:
description: regulator that supplies the I/O voltage
reg: true
- ports: true
rotation: true
backlight: true
@@ -47,7 +43,26 @@ required:
- reg
- vddio-supply
- reset-gpios
- - ports
+
+allOf:
+ - $ref: panel-common-dual.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - novatek,nt36523w
+ then:
+ properties:
+ ports:
+ properties:
+ port@1: false
+ else:
+ properties:
+ port: false
+ ports:
+ required:
+ - port@1
unevaluatedProperties: false
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema
2023-08-23 8:14 [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Krzysztof Kozlowski
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
2023-08-23 8:15 ` [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: " Krzysztof Kozlowski
@ 2023-08-23 8:34 ` Laurent Pinchart
2023-08-23 9:35 ` Krzysztof Kozlowski
2 siblings, 1 reply; 11+ messages in thread
From: Laurent Pinchart @ 2023-08-23 8:34 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, dri-devel, devicetree, linux-kernel
Hi Krzysztof,
Thank you for the patch.
On Wed, Aug 23, 2023 at 10:14:58AM +0200, Krzysztof Kozlowski wrote:
> Add schema with common properties shared among dual display panel ICs.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> v2: https://lore.kernel.org/all/20230502120036.47165-1-krzysztof.kozlowski@linaro.org/
> v1: https://lore.kernel.org/all/20230416153929.356330-1-krzysztof.kozlowski@linaro.org/
>
> Changes since v2:
> 1. New Patch
> ---
> .../display/panel/panel-common-dual.yaml | 46 +++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
> new file mode 100644
> index 000000000000..83fcd643b5f5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
> @@ -0,0 +1,46 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Common Properties for Dual-Display Panels
> +
> +maintainers:
> + - Thierry Reding <thierry.reding@gmail.com>
> + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> +
> +description:
> + Properties common for Panel IC supporting dual display panels.
Could you elaborate on what you mean by dual display panels ? From what
I understand of the patch series, this seems to be what I have called
dual port panels, that is panels that have two input ports to double the
bandwidth, but still operate as one display.
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> + additionalProperties: false
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: First display panel
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Second display panel
> +
> + "#address-cells": true
> + "#size-cells": true
> +
> + required:
> + - port@0
> +
> +# Single-panel setups are still allowed.
> +oneOf:
> + - required:
> + - ports
> + - required:
> + - port
> +
> +additionalProperties: true
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
@ 2023-08-23 9:08 ` Rob Herring
2023-08-23 9:53 ` Krzysztof Kozlowski
2023-08-24 17:20 ` Rob Herring
1 sibling, 1 reply; 11+ messages in thread
From: Rob Herring @ 2023-08-23 9:08 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, Thierry Reding, dri-devel, David Airlie,
Rob Herring, Conor Dooley, linux-kernel, Sam Ravnborg,
Laurent Pinchart, Del Regno, devicetree, Daniel Vetter,
Jianhua Lu, Neil Armstrong
On Wed, 23 Aug 2023 10:14:59 +0200, Krzysztof Kozlowski wrote:
> The panel-common schema does not define what "ports" property is, so
> bring the definition by referencing the panel-common-dual.yaml. Panels
> can be single- or dual-link, thus require only one port@0.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Changes since v2:
> 1. Use panel-common-dual
>
> Changes since v1:
> 1. Rework to add ports to device schema, not to panel-common.
> ---
> .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml:
Error in referenced schema matching $id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/panel/novatek,nt35950.example.dtb: panel@0: False schema does not allow {'compatible': ['sharp,ls055d1sx04', 'novatek,nt35950'], 'reg': [[0]], 'backlight': [[4294967295]], 'reset-gpios': [[4294967295, 94, 0]], 'avdd-supply': [[4294967295]], 'avee-supply': [[4294967295]], 'dvdd-supply': [[4294967295]], 'vddio-supply': [[4294967295]], 'ports': {'#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'reg': [[0]], 'endpoint': {'remote-endpoint': [[4294967295]]}}, 'port@1': {'reg': [[1]], 'endpoint': {'remote-endpoint': [[4294967295]]}}}, '$nodename': ['panel@0']}
from schema $id: http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230823081500.84005-2-krzysztof.kozlowski@linaro.org
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema
2023-08-23 8:34 ` [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Laurent Pinchart
@ 2023-08-23 9:35 ` Krzysztof Kozlowski
2023-08-23 10:07 ` Laurent Pinchart
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-23 9:35 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, dri-devel, devicetree, linux-kernel
On 23/08/2023 10:34, Laurent Pinchart wrote:
> Hi Krzysztof,
>
> Thank you for the patch.
>
> On Wed, Aug 23, 2023 at 10:14:58AM +0200, Krzysztof Kozlowski wrote:
>> Add schema with common properties shared among dual display panel ICs.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> ---
>>
>> v2: https://lore.kernel.org/all/20230502120036.47165-1-krzysztof.kozlowski@linaro.org/
>> v1: https://lore.kernel.org/all/20230416153929.356330-1-krzysztof.kozlowski@linaro.org/
>>
>> Changes since v2:
>> 1. New Patch
>> ---
>> .../display/panel/panel-common-dual.yaml | 46 +++++++++++++++++++
>> 1 file changed, 46 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
>> new file mode 100644
>> index 000000000000..83fcd643b5f5
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
>> @@ -0,0 +1,46 @@
>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Common Properties for Dual-Display Panels
>> +
>> +maintainers:
>> + - Thierry Reding <thierry.reding@gmail.com>
>> + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
>> +
>> +description:
>> + Properties common for Panel IC supporting dual display panels.
>
> Could you elaborate on what you mean by dual display panels ? From what
> I understand of the patch series, this seems to be what I have called
> dual port panels, that is panels that have two input ports to double the
> bandwidth, but still operate as one display.
Indeed, looks like that. I don't have the datasheets so I am trying to
get some pieces of information. Judging by the usage of these panels -
Qualcomm DSI with qcom,dual-dsi-mode - it indeed is one panel with two
links.
I would need to rephrase it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports
2023-08-23 9:08 ` Rob Herring
@ 2023-08-23 9:53 ` Krzysztof Kozlowski
2023-08-23 12:48 ` Rob Herring
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-23 9:53 UTC (permalink / raw)
To: Rob Herring
Cc: Krzysztof Kozlowski, Thierry Reding, dri-devel, David Airlie,
Rob Herring, Conor Dooley, linux-kernel, Sam Ravnborg,
Laurent Pinchart, Del Regno, devicetree, Daniel Vetter,
Jianhua Lu, Neil Armstrong
On 23/08/2023 11:08, Rob Herring wrote:
>
> On Wed, 23 Aug 2023 10:14:59 +0200, Krzysztof Kozlowski wrote:
>> The panel-common schema does not define what "ports" property is, so
>> bring the definition by referencing the panel-common-dual.yaml. Panels
>> can be single- or dual-link, thus require only one port@0.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> ---
>>
>> Changes since v2:
>> 1. Use panel-common-dual
>>
>> Changes since v1:
>> 1. Rework to add ports to device schema, not to panel-common.
>> ---
>> .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
>
> yamllint warnings/errors:
Previous patch seems to be missing in Patchwork, thus this error.
https://patchwork.ozlabs.org/project/devicetree-bindings/list/?submitter=83726&archive=both&state=*
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema
2023-08-23 9:35 ` Krzysztof Kozlowski
@ 2023-08-23 10:07 ` Laurent Pinchart
0 siblings, 0 replies; 11+ messages in thread
From: Laurent Pinchart @ 2023-08-23 10:07 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jianhua Lu,
Del Regno, Thierry Reding, dri-devel, devicetree, linux-kernel
On Wed, Aug 23, 2023 at 11:35:24AM +0200, Krzysztof Kozlowski wrote:
> On 23/08/2023 10:34, Laurent Pinchart wrote:
> > Hi Krzysztof,
> >
> > Thank you for the patch.
> >
> > On Wed, Aug 23, 2023 at 10:14:58AM +0200, Krzysztof Kozlowski wrote:
> >> Add schema with common properties shared among dual display panel ICs.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>
> >> ---
> >>
> >> v2: https://lore.kernel.org/all/20230502120036.47165-1-krzysztof.kozlowski@linaro.org/
> >> v1: https://lore.kernel.org/all/20230416153929.356330-1-krzysztof.kozlowski@linaro.org/
> >>
> >> Changes since v2:
> >> 1. New Patch
> >> ---
> >> .../display/panel/panel-common-dual.yaml | 46 +++++++++++++++++++
> >> 1 file changed, 46 insertions(+)
> >> create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
> >>
> >> diff --git a/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
> >> new file mode 100644
> >> index 000000000000..83fcd643b5f5
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
> >> @@ -0,0 +1,46 @@
> >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> >> +%YAML 1.2
> >> +---
> >> +$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
> >> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> >> +
> >> +title: Common Properties for Dual-Display Panels
> >> +
> >> +maintainers:
> >> + - Thierry Reding <thierry.reding@gmail.com>
> >> + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> >> +
> >> +description:
> >> + Properties common for Panel IC supporting dual display panels.
> >
> > Could you elaborate on what you mean by dual display panels ? From what
> > I understand of the patch series, this seems to be what I have called
> > dual port panels, that is panels that have two input ports to double the
> > bandwidth, but still operate as one display.
>
> Indeed, looks like that. I don't have the datasheets so I am trying to
> get some pieces of information. Judging by the usage of these panels -
> Qualcomm DSI with qcom,dual-dsi-mode - it indeed is one panel with two
> links.
>
> I would need to rephrase it.
Thanks :-)
Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.yaml
may be of interest to you, it's a bridge with two LVDS inputs. On the
other side, I've used
Documentation/devicetree/bindings/display/bridge/renesas,lvds.yaml which
is an LVDS encoder with a single output, but with the ability to operate
in dual link mode by coupling two encoder instances.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports
2023-08-23 9:53 ` Krzysztof Kozlowski
@ 2023-08-23 12:48 ` Rob Herring
0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-08-23 12:48 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, Thierry Reding, dri-devel, David Airlie,
Conor Dooley, linux-kernel, Sam Ravnborg, Laurent Pinchart,
Del Regno, devicetree, Daniel Vetter, Jianhua Lu, Neil Armstrong
On Wed, Aug 23, 2023 at 11:53:56AM +0200, Krzysztof Kozlowski wrote:
> On 23/08/2023 11:08, Rob Herring wrote:
> >
> > On Wed, 23 Aug 2023 10:14:59 +0200, Krzysztof Kozlowski wrote:
> >> The panel-common schema does not define what "ports" property is, so
> >> bring the definition by referencing the panel-common-dual.yaml. Panels
> >> can be single- or dual-link, thus require only one port@0.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>
> >> ---
> >>
> >> Changes since v2:
> >> 1. Use panel-common-dual
> >>
> >> Changes since v1:
> >> 1. Rework to add ports to device schema, not to panel-common.
> >> ---
> >> .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++-
> >> 1 file changed, 2 insertions(+), 1 deletion(-)
> >>
> >
> > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> > on your patch (DT_CHECKER_FLAGS is new in v5.13):
> >
> > yamllint warnings/errors:
>
> Previous patch seems to be missing in Patchwork, thus this error.
>
> https://patchwork.ozlabs.org/project/devicetree-bindings/list/?submitter=83726&archive=both&state=*
Must have been some delay on that one as it is there now.
Rob
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
2023-08-23 9:08 ` Rob Herring
@ 2023-08-24 17:20 ` Rob Herring
1 sibling, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-08-24 17:20 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter,
Krzysztof Kozlowski, Conor Dooley, Jianhua Lu, Del Regno,
Thierry Reding, Laurent Pinchart, dri-devel, devicetree,
linux-kernel
On Wed, Aug 23, 2023 at 10:14:59AM +0200, Krzysztof Kozlowski wrote:
> The panel-common schema does not define what "ports" property is, so
> bring the definition by referencing the panel-common-dual.yaml. Panels
> can be single- or dual-link, thus require only one port@0.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Changes since v2:
> 1. Use panel-common-dual
>
> Changes since v1:
> 1. Rework to add ports to device schema, not to panel-common.
> ---
> .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: define ports
2023-08-23 8:15 ` [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: " Krzysztof Kozlowski
@ 2023-08-24 17:21 ` Rob Herring
0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-08-24 17:21 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: David Airlie, Krzysztof Kozlowski, linux-kernel, devicetree,
Rob Herring, Jianhua Lu, Thierry Reding, Sam Ravnborg,
Conor Dooley, Laurent Pinchart, dri-devel, Del Regno,
Daniel Vetter, Neil Armstrong
On Wed, 23 Aug 2023 10:15:00 +0200, Krzysztof Kozlowski wrote:
> The panel-common schema does not define what "ports" property is, so
> bring the definition by referencing the panel-common-dual.yaml. Panels
> can be single- or dual-link, depending on the compatible, thus add
> if:then:else: block narrowing ports per variant.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Changes since v2:
> 1. Use panel-common-dual.
> 2. Add if:then:else:
>
> Changes since v1:
> 1. Rework to add ports to device schema, not to panel-common.
> ---
> .../display/panel/novatek,nt36523.yaml | 25 +++++++++++++++----
> 1 file changed, 20 insertions(+), 5 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-08-24 17:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-23 8:14 [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Krzysztof Kozlowski
2023-08-23 8:14 ` [PATCH v3 2/3] dt-bindings: display: novatek,nt35950: define ports Krzysztof Kozlowski
2023-08-23 9:08 ` Rob Herring
2023-08-23 9:53 ` Krzysztof Kozlowski
2023-08-23 12:48 ` Rob Herring
2023-08-24 17:20 ` Rob Herring
2023-08-23 8:15 ` [PATCH v3 3/3] dt-bindings: display: novatek,nt36523: " Krzysztof Kozlowski
2023-08-24 17:21 ` Rob Herring
2023-08-23 8:34 ` [PATCH v3 1/3] dt-bindings: display: panel: add common dual-display schema Laurent Pinchart
2023-08-23 9:35 ` Krzysztof Kozlowski
2023-08-23 10:07 ` Laurent Pinchart
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).