hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
....@@ -1,8 +1,4 @@
1
-/*
2
- * This program is free software; you can redistribute it and/or modify
3
- * it under the terms of the GNU General Public License version 2 as
4
- * published by the Free Software Foundation.
5
- */
1
+// SPDX-License-Identifier: GPL-2.0-only
62
73 / {
84 gpio_keys {
....@@ -83,7 +79,7 @@
8379 };
8480
8581 &dss {
86
- status = "ok";
82
+ status = "okay";
8783 vdds_dsi-supply = <&vpll2>;
8884 vdda_video-supply = <&video_reg>;
8985 pinctrl-names = "default";
....@@ -108,34 +104,17 @@
108104 regulator-max-microvolt = <3300000>;
109105 };
110106
111
- lcd0: display@0 {
112
- compatible = "panel-dpi";
113
- label = "28";
114
- status = "okay";
115
- /* default-on; */
107
+ lcd0: display {
108
+ /* This isn't the exact LCD, but the timings meet spec */
109
+ compatible = "logicpd,type28";
116110 pinctrl-names = "default";
117111 pinctrl-0 = <&lcd_enable_pin>;
118
- enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */
112
+ backlight = <&bl>;
113
+ enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
119114 port {
120115 lcd_in: endpoint {
121116 remote-endpoint = <&dpi_out>;
122117 };
123
- };
124
-
125
- panel-timing {
126
- clock-frequency = <9000000>;
127
- hactive = <480>;
128
- vactive = <272>;
129
- hfront-porch = <3>;
130
- hback-porch = <2>;
131
- hsync-len = <42>;
132
- vback-porch = <3>;
133
- vfront-porch = <2>;
134
- vsync-len = <11>;
135
- hsync-active = <1>;
136
- vsync-active = <1>;
137
- de-active = <1>;
138
- pixelclk-active = <0>;
139118 };
140119 };
141120