arm64: dts: mediatek: mt8183-kukui: Move DSI panel node to machine dtsis
Not all of the kukui machines have got a real DSI panel, infact, some of those have got a DSI to eDP bridge instead: this means that the address and size cells are necessary in the first case but unnecessary in the latter. Instead of adding a bunch of /delete-node/ which would impact on human readability, move the entire panel node declaration to each of the relevant Kukui machine dtsi: even though this introduces some duplication, the advantages in readability surclass that. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20250724083914.61351-34-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
committed by
Matthias Brugger
parent
e72d63fa05
commit
0f4a8198d6
@@ -93,11 +93,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
status = "okay";
|
||||
/delete-node/panel@0;
|
||||
};
|
||||
|
||||
&dsi_out {
|
||||
remote-endpoint = <&anx7625_in>;
|
||||
};
|
||||
|
||||
@@ -61,6 +61,33 @@
|
||||
firmware-name = "nvm_00440302_i2s_eu.bin";
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
panel: panel@0 {
|
||||
/* compatible will be set in board dts */
|
||||
reg = <0>;
|
||||
enable-gpios = <&pio 45 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&panel_pins_default>;
|
||||
avdd-supply = <&ppvarn_lcd>;
|
||||
avee-supply = <&ppvarp_lcd>;
|
||||
pp1800-supply = <&pp1800_lcd>;
|
||||
backlight = <&backlight_lcd0>;
|
||||
rotation = <270>;
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_out {
|
||||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -42,6 +42,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
panel: panel@0 {
|
||||
/* compatible will be set in board dts */
|
||||
reg = <0>;
|
||||
enable-gpios = <&pio 45 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&panel_pins_default>;
|
||||
avdd-supply = <&ppvarn_lcd>;
|
||||
avee-supply = <&ppvarp_lcd>;
|
||||
pp1800-supply = <&pp1800_lcd>;
|
||||
backlight = <&backlight_lcd0>;
|
||||
rotation = <270>;
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_out {
|
||||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -45,6 +45,34 @@
|
||||
firmware-name = "nvm_00440302_i2s_eu.bin";
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
panel: panel@0 {
|
||||
/* compatible will be set in board dts */
|
||||
reg = <0>;
|
||||
enable-gpios = <&pio 45 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&panel_pins_default>;
|
||||
avdd-supply = <&ppvarn_lcd>;
|
||||
avee-supply = <&ppvarp_lcd>;
|
||||
pp1800-supply = <&pp1800_lcd>;
|
||||
backlight = <&backlight_lcd0>;
|
||||
rotation = <270>;
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_out {
|
||||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -252,29 +252,6 @@
|
||||
|
||||
&dsi0 {
|
||||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
panel: panel@0 {
|
||||
/* compatible will be set in board dts */
|
||||
reg = <0>;
|
||||
enable-gpios = <&pio 45 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&panel_pins_default>;
|
||||
avdd-supply = <&ppvarn_lcd>;
|
||||
avee-supply = <&ppvarp_lcd>;
|
||||
pp1800-supply = <&pp1800_lcd>;
|
||||
backlight = <&backlight_lcd0>;
|
||||
rotation = <270>;
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_out {
|
||||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
|
||||
&gic {
|
||||
|
||||
Reference in New Issue
Block a user