Skip to content

Commit accefff

Browse files
committed
Merge tag 'arm-soc-omap-genpd-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC OMAP GenPD updates from Arnd Bergmann: "These are additional updates for the power domain support on OMAP, moving to an implementation based on device tree information instead of SoC specific code. This is the latest step in the ongoing process for moving code out of arch/arm/mach-omap2. I kept this separate from the other driver changes since it touches code in multiple areas" * tag 'arm-soc-omap-genpd-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (51 commits) ARM: OMAP2+: Fix am4 only build after genpd changes ARM: dts: Configure power domain for omap5 dss ARM: dts: omap5: add remaining PRM instances soc: ti: omap-prm: omap5: add genpd support for remaining PRM instances ARM: OMAP2+: Drop legacy platform data for dra7 gpmc ARM: dts: Configure interconnect target module for dra7 iva ARM: dts: dra7: add remaining PRM instances soc: ti: omap-prm: dra7: add genpd support for remaining PRM instances clk: ti: dra7: Drop idlest polling from IVA clkctrl clocks ARM: OMAP2+: Drop legacy platform data for omap4 gpmc ARM: OMAP2+: Drop legacy platform data for omap4 iva ARM: dts: Configure power domain for omap4 dsp ARM: dts: Configure power domain for omap4 dss ARM: dts: omap4: add remaining PRM instances soc: ti: omap-prm: omap4: add genpd support for remaining PRM instances clk: ti: omap4: Drop idlest polling from IVA clkctrl clocks ARM: OMAP2+: Drop legacy remaining legacy platform data for am4 ARM: dts: Use simple-pm-bus for genpd for am4 l3 ARM: dts: Move am4 l3 noc to a separate node ARM: dts: Use simple-pm-bus for genpd for am4 l4_per ...
2 parents 48c1c40 + 7fbee7e commit accefff

26 files changed

+990
-1308
lines changed

arch/arm/boot/dts/am335x-nano.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@
238238

239239
&gpmc {
240240
compatible = "ti,am3352-gpmc";
241-
ti,hwmods = "gpmc";
242241
status = "okay";
243242
gpmc,num-waitpins = <2>;
244243
pinctrl-names = "default";

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

Lines changed: 55 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
&l4_wkup { /* 0x44c00000 */
2-
compatible = "ti,am33xx-l4-wkup", "simple-bus";
2+
compatible = "ti,am33xx-l4-wkup", "simple-pm-bus";
3+
power-domains = <&prm_wkup>;
4+
clocks = <&l4_wkup_clkctrl AM3_L4_WKUP_L4_WKUP_CLKCTRL 0>;
5+
clock-names = "fck";
36
reg = <0x44c00000 0x800>,
47
<0x44c00800 0x800>,
58
<0x44c01000 0x400>,
@@ -12,7 +15,7 @@
1215
<0x00200000 0x44e00000 0x100000>; /* segment 2 */
1316

1417
segment@0 { /* 0x44c00000 */
15-
compatible = "simple-bus";
18+
compatible = "simple-pm-bus";
1619
#address-cells = <1>;
1720
#size-cells = <1>;
1821
ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
@@ -22,7 +25,7 @@
2225
};
2326

2427
segment@100000 { /* 0x44d00000 */
25-
compatible = "simple-bus";
28+
compatible = "simple-pm-bus";
2629
#address-cells = <1>;
2730
#size-cells = <1>;
2831
ranges = <0x00000000 0x00100000 0x004000>, /* ap 4 */
@@ -34,23 +37,27 @@
3437
compatible = "ti,sysc-omap4", "ti,sysc";
3538
reg = <0x0 0x4>;
3639
reg-names = "rev";
40+
clocks = <&l4_wkup_aon_clkctrl AM3_L4_WKUP_AON_WKUP_M3_CLKCTRL 0>;
41+
clock-names = "fck";
3742
#address-cells = <1>;
3843
#size-cells = <1>;
39-
ranges = <0x0 0x0 0x4000>;
40-
status = "disabled";
41-
};
44+
ranges = <0x00000000 0x00000000 0x4000>,
45+
<0x00080000 0x00080000 0x2000>;
4246

43-
target-module@80000 { /* 0x44d80000, ap 6 10.0 */
44-
compatible = "ti,sysc";
45-
status = "disabled";
46-
#address-cells = <1>;
47-
#size-cells = <1>;
48-
ranges = <0x0 0x80000 0x2000>;
47+
wkup_m3: cpu@0 {
48+
compatible = "ti,am3352-wkup-m3";
49+
reg = <0x00000000 0x4000>,
50+
<0x00080000 0x2000>;
51+
reg-names = "umem", "dmem";
52+
resets = <&prm_wkup 3>;
53+
reset-names = "rstctrl";
54+
ti,pm-firmware = "am335x-pm-firmware.elf";
55+
};
4956
};
5057
};
5158

5259
segment@200000 { /* 0x44e00000 */
53-
compatible = "simple-bus";
60+
compatible = "simple-pm-bus";
5461
#address-cells = <1>;
5562
#size-cells = <1>;
5663
ranges = <0x00000000 0x00200000 0x002000>, /* ap 8 */
@@ -274,6 +281,9 @@
274281
compatible = "ti,sysc-omap4", "ti,sysc";
275282
reg = <0x10000 0x4>;
276283
reg-names = "rev";
284+
clocks = <&l4_wkup_clkctrl AM3_L4_WKUP_CONTROL_CLKCTRL 0>;
285+
clock-names = "fck";
286+
ti,no-idle;
277287
#address-cells = <1>;
278288
#size-cells = <1>;
279289
ranges = <0x00000000 0x00010000 0x00010000>,
@@ -433,6 +443,7 @@
433443
<SYSC_IDLE_SMART>,
434444
<SYSC_IDLE_SMART_WKUP>;
435445
/* Domains (P, C): rtc_pwrdm, l4_rtc_clkdm */
446+
power-domains = <&prm_rtc>;
436447
clocks = <&l4_rtc_clkctrl AM3_L4_RTC_RTC_CLKCTRL 0>;
437448
clock-names = "fck";
438449
#address-cells = <1>;
@@ -658,7 +669,10 @@
658669
};
659670

660671
&l4_fast { /* 0x4a000000 */
661-
compatible = "ti,am33xx-l4-fast", "simple-bus";
672+
compatible = "ti,am33xx-l4-fast", "simple-pm-bus";
673+
power-domains = <&prm_per>;
674+
clocks = <&l4hs_clkctrl AM3_L4HS_L4_HS_CLKCTRL 0>;
675+
clock-names = "fck";
662676
reg = <0x4a000000 0x800>,
663677
<0x4a000800 0x800>,
664678
<0x4a001000 0x400>;
@@ -668,7 +682,7 @@
668682
ranges = <0x00000000 0x4a000000 0x1000000>; /* segment 0 */
669683

670684
segment@0 { /* 0x4a000000 */
671-
compatible = "simple-bus";
685+
compatible = "simple-pm-bus";
672686
#address-cells = <1>;
673687
#size-cells = <1>;
674688
ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
@@ -837,7 +851,10 @@
837851
};
838852

839853
&l4_per { /* 0x48000000 */
840-
compatible = "ti,am33xx-l4-per", "simple-bus";
854+
compatible = "ti,am33xx-l4-per", "simple-pm-bus";
855+
power-domains = <&prm_per>;
856+
clocks = <&l4ls_clkctrl AM3_L4LS_L4_LS_CLKCTRL 0>;
857+
clock-names = "fck";
841858
reg = <0x48000000 0x800>,
842859
<0x48000800 0x800>,
843860
<0x48001000 0x400>,
@@ -855,7 +872,7 @@
855872
<0x46400000 0x46400000 0x400000>; /* l3 data port */
856873

857874
segment@0 { /* 0x48000000 */
858-
compatible = "simple-bus";
875+
compatible = "simple-pm-bus";
859876
#address-cells = <1>;
860877
#size-cells = <1>;
861878
ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
@@ -1466,7 +1483,7 @@
14661483
};
14671484

14681485
segment@100000 { /* 0x48100000 */
1469-
compatible = "simple-bus";
1486+
compatible = "simple-pm-bus";
14701487
#address-cells = <1>;
14711488
#size-cells = <1>;
14721489
ranges = <0x0008c000 0x0018c000 0x001000>, /* ap 42 */
@@ -1850,13 +1867,31 @@
18501867
};
18511868

18521869
segment@200000 { /* 0x48200000 */
1853-
compatible = "simple-bus";
1870+
compatible = "simple-pm-bus";
18541871
#address-cells = <1>;
18551872
#size-cells = <1>;
1873+
ranges = <0x00000000 0x00200000 0x010000>;
1874+
1875+
target-module@0 {
1876+
compatible = "ti,sysc-omap4-simple", "ti,sysc";
1877+
power-domains = <&prm_mpu>;
1878+
clocks = <&mpu_clkctrl AM3_MPU_MPU_CLKCTRL 0>;
1879+
clock-names = "fck";
1880+
ti,no-idle;
1881+
#address-cells = <1>;
1882+
#size-cells = <1>;
1883+
ranges = <0 0 0x10000>;
1884+
1885+
mpu@0 {
1886+
compatible = "ti,omap3-mpu";
1887+
pm-sram = <&pm_sram_code
1888+
&pm_sram_data>;
1889+
};
1890+
};
18561891
};
18571892

18581893
segment@300000 { /* 0x48300000 */
1859-
compatible = "simple-bus";
1894+
compatible = "simple-pm-bus";
18601895
#address-cells = <1>;
18611896
#size-cells = <1>;
18621897
ranges = <0x00000000 0x00300000 0x001000>, /* ap 66 */

0 commit comments

Comments
 (0)