diff mbox series

[v10,2/4] dt-bindings: display: Add powertip,hx8238a as DT Schema description

Message ID 20241022133040.686562-2-lukma@denx.de (mailing list archive)
State New
Headers show
Series [v10,1/4] dt-bindings: display: Add powertip,st7272 as DT Schema description | expand

Commit Message

Lukasz Majewski Oct. 22, 2024, 1:30 p.m. UTC
This patch provides the DT Schema description of powertip,hx8238a
320 x 240 LCD display.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

Changes for v9:
- New patch

Changes for v10:
- None
---
 .../display/panel/powertip,hx8238a.yaml       | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/powertip,hx8238a.yaml

Comments

Rob Herring (Arm) Oct. 22, 2024, 9:01 p.m. UTC | #1
On Tue, Oct 22, 2024 at 8:31 AM Lukasz Majewski <lukma@denx.de> wrote:
>
> This patch provides the DT Schema description of powertip,hx8238a
> 320 x 240 LCD display.
>
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> ---
>
> Changes for v9:
> - New patch
>
> Changes for v10:
> - None

Perhaps read my comment on v9.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/panel/powertip,hx8238a.yaml b/Documentation/devicetree/bindings/display/panel/powertip,hx8238a.yaml
new file mode 100644
index 000000000000..7b4557ef6b74
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/powertip,hx8238a.yaml
@@ -0,0 +1,29 @@ 
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/powertip,hx8238a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Powertip Electronic Technology Co."320 x 240 LCD panel"
+
+maintainers:
+  - Lukasz Majewski <lukma@denx.de>
+
+allOf:
+  - $ref: panel-dpi.yaml#
+
+properties:
+  compatible:
+    items:
+      - const: powertip,hx8238a
+      - {} # panel-dpi, but not listed here to avoid false select
+
+  height-mm: true
+  panel-timing: true
+  port: true
+  power-supply: true
+  width-mm: true
+
+additionalProperties: false
+
+...