Skip to content

Commit 0e38402

Browse files
committed
Merge tag 'omap-for-v5.9/fixes-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
Fixes for omaps for v5.9-rc cycle Few fixes for omap based devices: - Fix of_clk_get() error handling for omap-iommu - Fix missing audio pinctrl entries for logicpd boards - Fix video for logicpd-som-lv after switch to generic panels - Fix omap5 DSI clocks base * tag 'omap-for-v5.9/fixes-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: omap5: Fix DSI base address and clocks ARM: dts: logicpd-som-lv-baseboard: Fix missing video ARM: dts: logicpd-som-lv-baseboard: Fix broken audio ARM: dts: logicpd-torpedo-baseboard: Fix broken audio ARM: OMAP2+: Fix an IS_ERR() vs NULL check in _get_pwrdm() Link: https://lore.kernel.org/r/pull-1599132064-54898@atomide.com Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 9c8b0a9 + 6542e2b commit 0e38402

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151

5252
&mcbsp2 {
5353
status = "okay";
54+
pinctrl-names = "default";
55+
pinctrl-0 = <&mcbsp2_pins>;
5456
};
5557

5658
&charger {
@@ -102,35 +104,18 @@
102104
regulator-max-microvolt = <3300000>;
103105
};
104106

105-
lcd0: display@0 {
106-
compatible = "panel-dpi";
107-
label = "28";
108-
status = "okay";
109-
/* default-on; */
107+
lcd0: display {
108+
/* This isn't the exact LCD, but the timings meet spec */
109+
compatible = "logicpd,type28";
110110
pinctrl-names = "default";
111111
pinctrl-0 = <&lcd_enable_pin>;
112-
enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */
112+
backlight = <&bl>;
113+
enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
113114
port {
114115
lcd_in: endpoint {
115116
remote-endpoint = <&dpi_out>;
116117
};
117118
};
118-
119-
panel-timing {
120-
clock-frequency = <9000000>;
121-
hactive = <480>;
122-
vactive = <272>;
123-
hfront-porch = <3>;
124-
hback-porch = <2>;
125-
hsync-len = <42>;
126-
vback-porch = <3>;
127-
vfront-porch = <2>;
128-
vsync-len = <11>;
129-
hsync-active = <1>;
130-
vsync-active = <1>;
131-
de-active = <1>;
132-
pixelclk-active = <0>;
133-
};
134119
};
135120

136121
bl: backlight {

arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
};
8282

8383
&mcbsp2 {
84+
pinctrl-names = "default";
85+
pinctrl-0 = <&mcbsp2_pins>;
8486
status = "okay";
8587
};
8688

arch/arm/boot/dts/omap5.dtsi

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,11 @@
488488
};
489489
};
490490

491-
target-module@5000 {
491+
target-module@4000 {
492492
compatible = "ti,sysc-omap2", "ti,sysc";
493-
reg = <0x5000 0x4>,
494-
<0x5010 0x4>,
495-
<0x5014 0x4>;
493+
reg = <0x4000 0x4>,
494+
<0x4010 0x4>,
495+
<0x4014 0x4>;
496496
reg-names = "rev", "sysc", "syss";
497497
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
498498
<SYSC_IDLE_NO>,
@@ -504,7 +504,7 @@
504504
ti,syss-mask = <1>;
505505
#address-cells = <1>;
506506
#size-cells = <1>;
507-
ranges = <0 0x5000 0x1000>;
507+
ranges = <0 0x4000 0x1000>;
508508

509509
dsi1: encoder@0 {
510510
compatible = "ti,omap5-dsi";
@@ -514,8 +514,9 @@
514514
reg-names = "proto", "phy", "pll";
515515
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
516516
status = "disabled";
517-
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
518-
clock-names = "fck";
517+
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>,
518+
<&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>;
519+
clock-names = "fck", "sys_clk";
519520
};
520521
};
521522

@@ -545,8 +546,9 @@
545546
reg-names = "proto", "phy", "pll";
546547
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
547548
status = "disabled";
548-
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
549-
clock-names = "fck";
549+
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>,
550+
<&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>;
551+
clock-names = "fck", "sys_clk";
550552
};
551553
};
552554

arch/arm/mach-omap2/omap-iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static struct powerdomain *_get_pwrdm(struct device *dev)
7474
return pwrdm;
7575

7676
clk = of_clk_get(dev->of_node->parent, 0);
77-
if (!clk) {
77+
if (IS_ERR(clk)) {
7878
dev_err(dev, "no fck found\n");
7979
return NULL;
8080
}

0 commit comments

Comments
 (0)