Skip to content

Commit 27ad612

Browse files
committed
Merge tag 'omap-for-v5.6/fixes-rc3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
Few fixes for omaps for v5.6-rc cycle This series of changes contains few code fixes for issues recently discovered: - A build fix for ARMv6 only configs when CONFIG_HAVE_ARM_SMCCC is not set - A fix for ti-sysc quirk handling for 1-wire hdq reset And a handful of dts fixes that I had queued up and should have already sent earlier instead of waiting for the code fixes to get sorted out: - Fix naming of vsys_3v3 regulator for dra7-evm - Fix incorrect OPP node names for am437x-idk-evm - Fix IPU1 mux clock parent source for dra7 - Add missing PWM property for dra7 timers 13 to 16 - Add missing dma-ranges for dra7 PCIe nodes - Fix mmc3 max-frequency for dra76x * tag 'omap-for-v5.6/fixes-rc3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP2+: Fix compile if CONFIG_HAVE_ARM_SMCCC is not set arm: dts: dra76x: Fix mmc3 max-frequency ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes bus: ti-sysc: Fix 1-wire reset quirk ARM: dts: dra7-l4: mark timer13-16 as pwm capable ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source ARM: dts: am437x-idk-evm: Fix incorrect OPP node names ARM: dts: dra7-evm: Rename evm_3v3 regulator to vsys_3v3 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Olof Johansson <[email protected]>
2 parents f9a15f3 + 51c22d7 commit 27ad612

File tree

9 files changed

+20
-19
lines changed

9 files changed

+20
-19
lines changed

arch/arm/boot/dts/am437x-idk-evm.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,11 @@
526526
* Supply voltage supervisor on board will not allow opp50 so
527527
* disable it and set opp100 as suspend OPP.
528528
*/
529-
opp50@300000000 {
529+
opp50-300000000 {
530530
status = "disabled";
531531
};
532532

533-
opp100@600000000 {
533+
opp100-600000000 {
534534
opp-suspend;
535535
};
536536
};

arch/arm/boot/dts/dra7-evm.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@
6161
regulator-max-microvolt = <1800000>;
6262
};
6363

64-
evm_3v3: fixedregulator-evm3v3 {
64+
vsys_3v3: fixedregulator-vsys3v3 {
6565
/* Output of Cntlr A of TPS43351-Q1 on dra7-evm */
6666
compatible = "regulator-fixed";
67-
regulator-name = "evm_3v3";
67+
regulator-name = "vsys_3v3";
6868
regulator-min-microvolt = <3300000>;
6969
regulator-max-microvolt = <3300000>;
7070
vin-supply = <&evm_12v0>;

arch/arm/boot/dts/dra7-l4.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3474,6 +3474,7 @@
34743474
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER13_CLKCTRL 24>;
34753475
clock-names = "fck";
34763476
interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
3477+
ti,timer-pwm;
34773478
};
34783479
};
34793480

@@ -3501,6 +3502,7 @@
35013502
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER14_CLKCTRL 24>;
35023503
clock-names = "fck";
35033504
interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
3505+
ti,timer-pwm;
35043506
};
35053507
};
35063508

@@ -3528,6 +3530,7 @@
35283530
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER15_CLKCTRL 24>;
35293531
clock-names = "fck";
35303532
interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
3533+
ti,timer-pwm;
35313534
};
35323535
};
35333536

@@ -3555,6 +3558,7 @@
35553558
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER16_CLKCTRL 24>;
35563559
clock-names = "fck";
35573560
interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
3561+
ti,timer-pwm;
35583562
};
35593563
};
35603564

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
device_type = "pci";
185185
ranges = <0x81000000 0 0 0x03000 0 0x00010000
186186
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
187+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
187188
bus-range = <0x00 0xff>;
188189
#interrupt-cells = <1>;
189190
num-lanes = <1>;
@@ -238,6 +239,7 @@
238239
device_type = "pci";
239240
ranges = <0x81000000 0 0 0x03000 0 0x00010000
240241
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
242+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
241243
bus-range = <0x00 0xff>;
242244
#interrupt-cells = <1>;
243245
num-lanes = <1>;

arch/arm/boot/dts/dra76x.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,8 @@
128128
&usb4_tm {
129129
status = "disabled";
130130
};
131+
132+
&mmc3 {
133+
/* dra76x is not affected by i887 */
134+
max-frequency = <96000000>;
135+
};

arch/arm/boot/dts/dra7xx-clocks.dtsi

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -796,16 +796,6 @@
796796
clock-div = <1>;
797797
};
798798

799-
ipu1_gfclk_mux: ipu1_gfclk_mux@520 {
800-
#clock-cells = <0>;
801-
compatible = "ti,mux-clock";
802-
clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
803-
ti,bit-shift = <24>;
804-
reg = <0x0520>;
805-
assigned-clocks = <&ipu1_gfclk_mux>;
806-
assigned-clock-parents = <&dpll_core_h22x2_ck>;
807-
};
808-
809799
dummy_ck: dummy_ck {
810800
#clock-cells = <0>;
811801
compatible = "fixed-clock";
@@ -1564,6 +1554,8 @@
15641554
compatible = "ti,clkctrl";
15651555
reg = <0x20 0x4>;
15661556
#clock-cells = <2>;
1557+
assigned-clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 24>;
1558+
assigned-clock-parents = <&dpll_core_h22x2_ck>;
15671559
};
15681560

15691561
ipu_clkctrl: ipu-clkctrl@50 {

arch/arm/mach-omap2/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
1616
clock-common = clock.o
1717
secure-common = omap-smc.o omap-secure.o
1818

19-
obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
19+
obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
2020
obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
2121
obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
2222
obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common) $(secure-common)

arch/arm/mach-omap2/io.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ void __init omap2420_init_early(void)
431431
omap_hwmod_init_postsetup();
432432
omap_clk_soc_init = omap2420_dt_clk_init;
433433
rate_table = omap2420_rate_table;
434-
omap_secure_init();
435434
}
436435

437436
void __init omap2420_init_late(void)
@@ -456,7 +455,6 @@ void __init omap2430_init_early(void)
456455
omap_hwmod_init_postsetup();
457456
omap_clk_soc_init = omap2430_dt_clk_init;
458457
rate_table = omap2430_rate_table;
459-
omap_secure_init();
460458
}
461459

462460
void __init omap2430_init_late(void)

drivers/bus/ti-sysc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ static void sysc_init_revision_quirks(struct sysc *ddata)
14001400
}
14011401

14021402
/* 1-wire needs module's internal clocks enabled for reset */
1403-
static void sysc_clk_enable_quirk_hdq1w(struct sysc *ddata)
1403+
static void sysc_pre_reset_quirk_hdq1w(struct sysc *ddata)
14041404
{
14051405
int offset = 0x0c; /* HDQ_CTRL_STATUS */
14061406
u16 val;
@@ -1488,7 +1488,7 @@ static void sysc_init_module_quirks(struct sysc *ddata)
14881488
return;
14891489

14901490
if (ddata->cfg.quirks & SYSC_MODULE_QUIRK_HDQ1W) {
1491-
ddata->clk_enable_quirk = sysc_clk_enable_quirk_hdq1w;
1491+
ddata->clk_disable_quirk = sysc_pre_reset_quirk_hdq1w;
14921492

14931493
return;
14941494
}

0 commit comments

Comments
 (0)