From: Caleb Connolly <caleb@connolly.tech>
To: linux-arm-msm@vger.kernel.org,
Thierry Reding <thierry.reding@gmail.com>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>,
Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>,
Caleb Connolly <caleb@connolly.tech>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel
Date: Wed, 07 Oct 2020 17:49:14 +0000 [thread overview]
Message-ID: <20201007174736.292968-3-caleb@connolly.tech> (raw)
In-Reply-To: <20201007174736.292968-1-caleb@connolly.tech>
Document the OnePlus 6/T common panel driver, example from
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
---
.../display/panel/panel-oneplus6.yaml | 73 +++++++++++++++++++
1 file changed, 73 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml b/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml
new file mode 100644
index 000000000000..23ba369cc2f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/panel-oneplus6.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OnePlus 6/T panel driver
+
+description: |
+ The OnePlus 6 panel driver encompasses the display panels found in the
+ OnePlus 6 and 6T devices, the panels have almost identical behaviour and
+ are not used by any other devices.
+
+maintainers:
+ - Caleb Connolly <caleb@connolly.tech>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - samsung,sofef00
+ - samsung,s6e3fc2x01
+
+ reg: true
+ reset-gpios: true
+ port: true
+
+ vddio-supply:
+ description: VDDIO regulator
+
+required:
+ - compatible
+ - reset-gpios
+ - vddio-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ &dsi0 {
+ status = "okay";
+ vdda-supply = <&vdda_mipi_dsi0_1p2>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ display_panel: panel@0 {
+ status = "okay";
+ compatible = "samsung,sofef00";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+
+ vddio-supply = <&vreg_l14a_1p88>;
+
+ reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+ };
+ };
+
+...
--
2.28.0
next prev parent reply other threads:[~2020-10-07 17:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-07 17:48 Add support for the OnePlus 6 and 6T SDM845 devices Caleb Connolly
2020-10-07 17:49 ` [PATCH 1/5] drm/panel/oneplus6: Add panel-oneplus6 Caleb Connolly
2020-10-18 13:35 ` Sam Ravnborg
2020-10-19 14:21 ` Caleb Connolly
2020-10-07 17:49 ` Caleb Connolly [this message]
2020-10-09 14:02 ` [PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel Rob Herring
2020-10-09 14:05 ` Rob Herring
2020-10-18 12:33 ` Caleb Connolly
2020-10-07 17:49 ` [PATCH 3/5] arm64: dts: sdm845: add oneplus 6/t devices Caleb Connolly
2020-10-07 17:49 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly
2020-10-07 17:49 ` [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for the oneplus6 Caleb Connolly
2020-10-08 10:03 ` Wolfram Sang
2020-10-08 10:46 ` Caleb Connolly
2020-10-08 12:19 ` Wolfram Sang
2020-10-09 6:53 ` Mukesh, Savaliya
2020-10-09 5:26 ` Akash Asthana
2020-10-09 5:58 ` Wolfram Sang
2020-10-08 9:20 ` Add support for the OnePlus 6 and 6T SDM845 devices Caleb Connolly
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=20201007174736.292968-3-caleb@connolly.tech \
--to=caleb@connolly.tech \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=thierry.reding@gmail.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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 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).