Gate the two-panel DT behind an opt-in build after live phone regression
This commit is contained in:
1 parent
31db372779
commit
a7b1a75465
15 files changed
+2757
-265
No files matched your search
@@ -1033,24 +1033,12 @@
|
||||
};
|
||||
|
||||
cover-panel-gpios-default-state {
|
||||
/* External DC (gpio21) and reset (gpio23) only. gpio13 is the
|
||||
* SPI mux select and must not be re-biased by the panel probe. */
|
||||
pins = "gpio21", "gpio23";
|
||||
pins = "gpio21", "gpio23", "gpio13";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-down;
|
||||
phandle = <0x92>;
|
||||
};
|
||||
|
||||
cover-mux-gpio-default-state {
|
||||
/* Hold the mux on the internal panel until gpio-mux drives it,
|
||||
* so the boot chain and Xorg keep the 240x320 main display. */
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-down;
|
||||
phandle = <0x93>;
|
||||
};
|
||||
};
|
||||
|
||||
clock-controller@1800000 {
|
||||
@@ -1863,80 +1851,39 @@
|
||||
#size-cells = <0x00>;
|
||||
status = "okay";
|
||||
|
||||
spi-mux@0 {
|
||||
compatible = "spi-mux";
|
||||
display@0 {
|
||||
compatible = "nokia,beatles-gc9305-panel", "nokia,argon-gc9305-v2-panel", "panel-mipi-dbi-spi";
|
||||
reg = <0x00>;
|
||||
#address-cells = <0x01>;
|
||||
#size-cells = <0x00>;
|
||||
backlight = <0x6b>;
|
||||
reset-gpios = <0x27 0x19 0x00>;
|
||||
dc-gpios = <0x27 0x6e 0x00>;
|
||||
/* 25 MHz avoids high-backlight PWM noise corrupting the panel link. */
|
||||
spi-max-frequency = <0x17d7840>;
|
||||
mux-controls = <0x96>;
|
||||
power-supply = <0x6c>;
|
||||
io-supply = <0x6d>;
|
||||
width-mm = <0x24>;
|
||||
height-mm = <0x30>;
|
||||
pinctrl-0 = <0x6e>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
display@0 {
|
||||
compatible = "nokia,beatles-gc9305-panel", "nokia,argon-gc9305-v2-panel", "panel-mipi-dbi-spi";
|
||||
reg = <0x00>;
|
||||
backlight = <0x6b>;
|
||||
reset-gpios = <0x27 0x19 0x00>;
|
||||
dc-gpios = <0x27 0x6e 0x00>;
|
||||
/* 25 MHz avoids high-backlight PWM noise corrupting the panel link. */
|
||||
spi-max-frequency = <0x17d7840>;
|
||||
power-supply = <0x6c>;
|
||||
io-supply = <0x6d>;
|
||||
width-mm = <0x24>;
|
||||
height-mm = <0x30>;
|
||||
pinctrl-0 = <0x6e>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
panel-timing {
|
||||
hactive = <0xf0>;
|
||||
vactive = <0x140>;
|
||||
hback-porch = <0x00>;
|
||||
vback-porch = <0x00>;
|
||||
hfront-porch = <0x00>;
|
||||
vfront-porch = <0x00>;
|
||||
hsync-len = <0x00>;
|
||||
vsync-len = <0x00>;
|
||||
clock-frequency = "", "#(";
|
||||
};
|
||||
panel-timing {
|
||||
hactive = <0xf0>;
|
||||
vactive = <0x140>;
|
||||
hback-porch = <0x00>;
|
||||
vback-porch = <0x00>;
|
||||
hfront-porch = <0x00>;
|
||||
vfront-porch = <0x00>;
|
||||
hsync-len = <0x00>;
|
||||
vsync-len = <0x00>;
|
||||
clock-frequency = "", "#(";
|
||||
};
|
||||
display@1 {
|
||||
compatible = "nokia,beatles-gc9305-ext-panel", "panel-mipi-dbi-spi";
|
||||
reg = <0x01>;
|
||||
/* gpio21 is the external D/C line: 8-bit SPI works on QUP
|
||||
* and gpio110 stays owned by the internal panel. */
|
||||
dc-gpios = <0x27 0x15 0x00>;
|
||||
reset-gpios = <0x27 0x17 0x00>;
|
||||
/* Same verified 25 MHz clock as the internal panel. */
|
||||
spi-max-frequency = <0x17d7840>;
|
||||
power-supply = <0x6c>;
|
||||
io-supply = <0x6d>;
|
||||
width-mm = <0x1e>;
|
||||
height-mm = <0x1e>;
|
||||
pinctrl-0 = <0x92>;
|
||||
pinctrl-names = "default";
|
||||
write-only;
|
||||
|
||||
panel-timing {
|
||||
hactive = <0xf0>;
|
||||
vactive = <0xf0>;
|
||||
hback-porch = <0x00>;
|
||||
vback-porch = <0x00>;
|
||||
hfront-porch = <0x00>;
|
||||
vfront-porch = <0x00>;
|
||||
hsync-len = <0x00>;
|
||||
vsync-len = <0x00>;
|
||||
clock-frequency = "", "#(";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
spidev@1 {
|
||||
compatible = "rohm,dh2228fv";
|
||||
reg = <0x01>;
|
||||
spi-max-frequency = <0x2faf080>;
|
||||
/* spi-mux owns chip select 1 now; keep the node for the
|
||||
* diagnostic spidev fallback, but leave it disabled. */
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2357,16 +2304,6 @@
|
||||
phandle = <0x29>;
|
||||
};
|
||||
|
||||
spi-panel-mux {
|
||||
compatible = "gpio-mux";
|
||||
#mux-control-cells = <0x00>;
|
||||
mux-gpios = <0x27 0x0d 0x00>;
|
||||
idle-state = <0x00>;
|
||||
pinctrl-0 = <0x93>;
|
||||
pinctrl-names = "default";
|
||||
phandle = <0x96>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <0x86 0x87>;
|
||||
|
||||
Reference in new issue
Block a user