All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
	Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Heiko Stuebner <heiko.stuebner@theobroma-systems.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 4/4] dt-bindings: display: sitronix,st7701: document port and rotation
Date: Sun, 26 Mar 2023 22:42:24 +0200	[thread overview]
Message-ID: <20230326204224.80181-4-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20230326204224.80181-1-krzysztof.kozlowski@linaro.org>

Panels are supposed to have one port (defined in panel-common.yaml
binding) and can have also rotation:

  rk3326-odroid-go3.dtb: panel@0: 'port', 'rotation' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/display/panel/sitronix,st7701.yaml          | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
index 83d30eadf7d9..4dc0cd4a6a77 100644
--- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
@@ -42,7 +42,9 @@ properties:
   IOVCC-supply:
     description: I/O system regulator
 
+  port: true
   reset-gpios: true
+  rotation: true
 
   backlight: true
 
@@ -51,6 +53,7 @@ required:
   - reg
   - VCC-supply
   - IOVCC-supply
+  - port
   - reset-gpios
 
 additionalProperties: false
@@ -70,5 +73,11 @@ examples:
             IOVCC-supply = <&reg_dldo2>;
             reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
             backlight = <&backlight>;
+
+            port {
+                mipi_in_panel: endpoint {
+                    remote-endpoint = <&mipi_out_panel>;
+                };
+            };
         };
     };
-- 
2.34.1


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
	Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Heiko Stuebner <heiko.stuebner@theobroma-systems.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 4/4] dt-bindings: display: sitronix, st7701: document port and rotation
Date: Sun, 26 Mar 2023 22:42:24 +0200	[thread overview]
Message-ID: <20230326204224.80181-4-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20230326204224.80181-1-krzysztof.kozlowski@linaro.org>

Panels are supposed to have one port (defined in panel-common.yaml
binding) and can have also rotation:

  rk3326-odroid-go3.dtb: panel@0: 'port', 'rotation' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/display/panel/sitronix,st7701.yaml          | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
index 83d30eadf7d9..4dc0cd4a6a77 100644
--- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
@@ -42,7 +42,9 @@ properties:
   IOVCC-supply:
     description: I/O system regulator
 
+  port: true
   reset-gpios: true
+  rotation: true
 
   backlight: true
 
@@ -51,6 +53,7 @@ required:
   - reg
   - VCC-supply
   - IOVCC-supply
+  - port
   - reset-gpios
 
 additionalProperties: false
@@ -70,5 +73,11 @@ examples:
             IOVCC-supply = <&reg_dldo2>;
             reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
             backlight = <&backlight>;
+
+            port {
+                mipi_in_panel: endpoint {
+                    remote-endpoint = <&mipi_out_panel>;
+                };
+            };
         };
     };
-- 
2.34.1


  parent reply	other threads:[~2023-03-26 20:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 20:42 [PATCH 1/4] dt-bindings: display: xinpeng,xpp055c272: document port Krzysztof Kozlowski
2023-03-26 20:42 ` [PATCH 2/4] dt-bindings: display: feiyang,fy07024di26a30d: " Krzysztof Kozlowski
2023-03-26 20:42   ` [PATCH 2/4] dt-bindings: display: feiyang, fy07024di26a30d: " Krzysztof Kozlowski
2023-03-27  7:41   ` [PATCH 2/4] dt-bindings: display: feiyang,fy07024di26a30d: " Neil Armstrong
2023-03-28 17:57   ` Jagan Teki
2023-03-28 17:57     ` Jagan Teki
2023-03-26 20:42 ` [PATCH 3/4] dt-bindings: display: elida,kd35t133: document port and rotation Krzysztof Kozlowski
2023-03-26 20:42   ` [PATCH 3/4] dt-bindings: display: elida, kd35t133: " Krzysztof Kozlowski
2023-03-27  7:42   ` [PATCH 3/4] dt-bindings: display: elida,kd35t133: " Neil Armstrong
2023-03-28 17:58   ` Jagan Teki
2023-03-28 17:58     ` Jagan Teki
2023-03-26 20:42 ` Krzysztof Kozlowski [this message]
2023-03-26 20:42   ` [PATCH 4/4] dt-bindings: display: sitronix, st7701: " Krzysztof Kozlowski
2023-03-27  7:42   ` [PATCH 4/4] dt-bindings: display: sitronix,st7701: " Neil Armstrong
2023-03-27  7:42     ` [PATCH 4/4] dt-bindings: display: sitronix, st7701: " Neil Armstrong
2023-03-28 17:56   ` [PATCH 4/4] dt-bindings: display: sitronix,st7701: " Jagan Teki
2023-03-28 17:56     ` [PATCH 4/4] dt-bindings: display: sitronix, st7701: " Jagan Teki
2023-03-27  7:41 ` [PATCH 1/4] dt-bindings: display: xinpeng,xpp055c272: document port Neil Armstrong
2023-03-28 17:57 ` Jagan Teki
2023-03-28 17:57   ` [PATCH 1/4] dt-bindings: display: xinpeng, xpp055c272: " Jagan Teki
2023-03-31 19:52 ` [PATCH 1/4] dt-bindings: display: xinpeng,xpp055c272: " Rob Herring
2023-03-31 19:52   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230326204224.80181-4-krzysztof.kozlowski@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=airlied@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko.stuebner@theobroma-systems.com \
    --cc=jagan@amarulasolutions.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.