Skip to content

Commit 9a77ab5

Browse files
Dharma-Bcristibirsan
authored andcommitted
sam9x75_eb: Align the overlay with board DT
Align the overlay properties with board DT and drivers and fix the indentations. Fixes: 23f80d3 ("sam9x75eb: Add overlay for AC69T88A LVDS Display Panel") Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com> Acked-by : Cristian Birsan <cristian.birsan@microchip.com>
1 parent f649aa4 commit 9a77ab5

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

sam9x75eb/sam9x75eb_lvds_display.dtso

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
};
3737

3838
panel {
39-
compatible = "sitronix,7262-lvds", "simple-panel";
39+
compatible = "sitronix,st7262", "simple-panel";
4040
backlight = <&lvds_panel_bl>;
4141
power-supply = <&mic23150_reg>;
4242
status="okay";
@@ -78,10 +78,8 @@
7878
};
7979

8080
&hlcdc {
81-
clocks = <&pmc PMC_TYPE_PERIPHERAL 25>, <&pmc PMC_TYPE_CORE PMC_LVDSPLL_DIV>, <&clk32k 1>;
81+
clocks = <&pmc PMC_TYPE_PERIPHERAL 25>, <&pmc PMC_TYPE_CORE PMC_LVDSPLL>, <&clk32k 1>;
8282
clock-names = "periph_clk", "lvds_pll_clk", "slow_clk";
83-
assigned-clocks = <&pmc PMC_TYPE_CORE PMC_LVDSPLL_DIV>;
84-
assigned-clock-rates = <175000000>;
8583
status="okay";
8684

8785
hlcdc-display-controller {
@@ -101,26 +99,26 @@
10199
};
102100

103101
&lvds_controller {
104-
status = "okay";
105-
106-
ports {
107-
#address-cells = <1>;
108-
#size-cells = <0>;
109-
port@0 {
110-
reg = <0>;
111-
lvds_in_lcdc: endpoint {
112-
remote-endpoint = <&hlcdc_panel_output>;
113-
};
102+
status = "okay";
103+
104+
ports {
105+
#address-cells = <1>;
106+
#size-cells = <0>;
107+
port@0 {
108+
reg = <0>;
109+
lvds_in_lcdc: endpoint {
110+
remote-endpoint = <&hlcdc_panel_output>;
114111
};
112+
};
115113

116-
port@1 {
117-
reg = <1>;
118-
lvds_out_panel: endpoint {
119-
remote-endpoint = <&panel_in>;
120-
};
114+
port@1 {
115+
reg = <1>;
116+
lvds_out_panel: endpoint {
117+
remote-endpoint = <&panel_in>;
121118
};
122119
};
123120
};
121+
};
124122

125123

126124
&pinctrl {

0 commit comments

Comments
 (0)