Commit 569519de authored by Tony Lindgren's avatar Tony Lindgren

Merge branches 'omap-for-v5.13/genpd-dra7', 'omap-for-v5.13/genpd-omap4' and...

Merge branches 'omap-for-v5.13/genpd-dra7', 'omap-for-v5.13/genpd-omap4' and 'omap-for-v5.13/genpd-omap5' into omap-for-v5.13/genpd-drop-legacy

Merge together branches dropping legacy data to avoid a minor merge conflict.
...@@ -576,7 +576,6 @@ target-module@8000 { /* 0x4a108000, ap 29 1e.0 */ ...@@ -576,7 +576,6 @@ target-module@8000 { /* 0x4a108000, ap 29 1e.0 */
target-module@40000 { /* 0x4a140000, ap 31 06.0 */ target-module@40000 { /* 0x4a140000, ap 31 06.0 */
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "sata";
reg = <0x400fc 4>, reg = <0x400fc 4>,
<0x41100 4>; <0x41100 4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
......
...@@ -214,7 +214,6 @@ pcie1_rc: pcie@51000000 { ...@@ -214,7 +214,6 @@ pcie1_rc: pcie@51000000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
num-lanes = <1>; num-lanes = <1>;
linux,pci-domain = <0>; linux,pci-domain = <0>;
ti,hwmods = "pcie1";
phys = <&pcie1_phy>; phys = <&pcie1_phy>;
phy-names = "pcie-phy0"; phy-names = "pcie-phy0";
ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
...@@ -242,7 +241,6 @@ pcie1_ep: pcie_ep@51000000 { ...@@ -242,7 +241,6 @@ pcie1_ep: pcie_ep@51000000 {
num-lanes = <1>; num-lanes = <1>;
num-ib-windows = <4>; num-ib-windows = <4>;
num-ob-windows = <16>; num-ob-windows = <16>;
ti,hwmods = "pcie1";
phys = <&pcie1_phy>; phys = <&pcie1_phy>;
phy-names = "pcie-phy0"; phy-names = "pcie-phy0";
ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
...@@ -287,7 +285,6 @@ pcie2_rc: pcie@51800000 { ...@@ -287,7 +285,6 @@ pcie2_rc: pcie@51800000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
num-lanes = <1>; num-lanes = <1>;
linux,pci-domain = <1>; linux,pci-domain = <1>;
ti,hwmods = "pcie2";
phys = <&pcie2_phy>; phys = <&pcie2_phy>;
phy-names = "pcie-phy0"; phy-names = "pcie-phy0";
interrupt-map-mask = <0 0 0 7>; interrupt-map-mask = <0 0 0 7>;
...@@ -468,7 +465,6 @@ edma_tptc1: dma@0 { ...@@ -468,7 +465,6 @@ edma_tptc1: dma@0 {
target-module@4e000000 { target-module@4e000000 {
compatible = "ti,sysc-omap2", "ti,sysc"; compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "dmm";
reg = <0x4e000000 0x4>, reg = <0x4e000000 0x4>,
<0x4e000010 0x4>; <0x4e000010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -772,7 +768,6 @@ abb_gpu: regulator-abb-gpu { ...@@ -772,7 +768,6 @@ abb_gpu: regulator-abb-gpu {
target-module@4b300000 { target-module@4b300000 {
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "qspi";
reg = <0x4b300000 0x4>, reg = <0x4b300000 0x4>,
<0x4b300010 0x4>; <0x4b300010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
......
...@@ -46,7 +46,6 @@ segment@0 { /* 0x4a000000 */ ...@@ -46,7 +46,6 @@ segment@0 { /* 0x4a000000 */
target-module@2000 { /* 0x4a002000, ap 3 06.0 */ target-module@2000 { /* 0x4a002000, ap 3 06.0 */
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "ctrl_module_core";
reg = <0x2000 0x4>, reg = <0x2000 0x4>,
<0x2010 0x4>; <0x2010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -656,7 +655,6 @@ segment@100000 { /* 0x4a100000 */ ...@@ -656,7 +655,6 @@ segment@100000 { /* 0x4a100000 */
target-module@0 { /* 0x4a100000, ap 21 2a.0 */ target-module@0 { /* 0x4a100000, ap 21 2a.0 */
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "ctrl_module_pad_core";
reg = <0x0 0x4>, reg = <0x0 0x4>,
<0x10 0x4>; <0x10 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -1047,7 +1045,6 @@ scrm_clockdomains: clockdomains { ...@@ -1047,7 +1045,6 @@ scrm_clockdomains: clockdomains {
target-module@c000 { /* 0x4a30c000, ap 19 2c.0 */ target-module@c000 { /* 0x4a30c000, ap 19 2c.0 */
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "ctrl_module_wkup";
reg = <0xc000 0x4>, reg = <0xc000 0x4>,
<0xc010 0x4>; <0xc010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -1208,7 +1205,6 @@ keypad: keypad@0 { ...@@ -1208,7 +1205,6 @@ keypad: keypad@0 {
target-module@e000 { /* 0x4a31e000, ap 21 30.0 */ target-module@e000 { /* 0x4a31e000, ap 21 30.0 */
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "ctrl_module_pad_wkup";
reg = <0xe000 0x4>, reg = <0xe000 0x4>,
<0xe010 0x4>; <0xe010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
......
...@@ -107,7 +107,7 @@ wakeupgen: interrupt-controller@48281000 { ...@@ -107,7 +107,7 @@ wakeupgen: interrupt-controller@48281000 {
* hierarchy. * hierarchy.
*/ */
ocp { ocp {
compatible = "simple-bus"; compatible = "simple-pm-bus";
power-domains = <&prm_l4per>; power-domains = <&prm_l4per>;
clocks = <&l3_1_clkctrl OMAP4_L3_MAIN_1_CLKCTRL 0>, clocks = <&l3_1_clkctrl OMAP4_L3_MAIN_1_CLKCTRL 0>,
<&l3_2_clkctrl OMAP4_L3_MAIN_2_CLKCTRL 0>, <&l3_2_clkctrl OMAP4_L3_MAIN_2_CLKCTRL 0>,
...@@ -115,7 +115,6 @@ ocp { ...@@ -115,7 +115,6 @@ ocp {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
l3-noc@44000000 { l3-noc@44000000 {
compatible = "ti,omap4-l3-noc"; compatible = "ti,omap4-l3-noc";
...@@ -192,7 +191,6 @@ gpmc: gpmc@50000000 { ...@@ -192,7 +191,6 @@ gpmc: gpmc@50000000 {
target-module@52000000 { target-module@52000000 {
compatible = "ti,sysc-omap4", "ti,sysc"; compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "iss";
reg = <0x52000000 0x4>, reg = <0x52000000 0x4>,
<0x52000010 0x4>; <0x52000010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -224,7 +222,6 @@ target-module@52000000 { ...@@ -224,7 +222,6 @@ target-module@52000000 {
*/ */
target-module@54000000 { target-module@54000000 {
compatible = "ti,sysc-omap4-simple", "ti,sysc"; compatible = "ti,sysc-omap4-simple", "ti,sysc";
ti,hwmods = "debugss";
power-domains = <&prm_emu>; power-domains = <&prm_emu>;
clocks = <&emu_sys_clkctrl OMAP4_DEBUGSS_CLKCTRL 0>; clocks = <&emu_sys_clkctrl OMAP4_DEBUGSS_CLKCTRL 0>;
clock-names = "fck"; clock-names = "fck";
...@@ -288,7 +285,6 @@ target-module@4012c000 { ...@@ -288,7 +285,6 @@ target-module@4012c000 {
target-module@4e000000 { target-module@4e000000 {
compatible = "ti,sysc-omap2", "ti,sysc"; compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "dmm";
reg = <0x4e000000 0x4>, reg = <0x4e000000 0x4>,
<0x4e000010 0x4>; <0x4e000010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -308,7 +304,6 @@ dmm@0 { ...@@ -308,7 +304,6 @@ dmm@0 {
target-module@4c000000 { target-module@4c000000 {
compatible = "ti,sysc-omap4-simple", "ti,sysc"; compatible = "ti,sysc-omap4-simple", "ti,sysc";
ti,hwmods = "emif1";
reg = <0x4c000000 0x4>; reg = <0x4c000000 0x4>;
reg-names = "rev"; reg-names = "rev";
clocks = <&l3_emif_clkctrl OMAP4_EMIF1_CLKCTRL 0>; clocks = <&l3_emif_clkctrl OMAP4_EMIF1_CLKCTRL 0>;
...@@ -331,7 +326,6 @@ emif1: emif@0 { ...@@ -331,7 +326,6 @@ emif1: emif@0 {
target-module@4d000000 { target-module@4d000000 {
compatible = "ti,sysc-omap4-simple", "ti,sysc"; compatible = "ti,sysc-omap4-simple", "ti,sysc";
ti,hwmods = "emif2";
reg = <0x4d000000 0x4>; reg = <0x4d000000 0x4>;
reg-names = "rev"; reg-names = "rev";
clocks = <&l3_emif_clkctrl OMAP4_EMIF2_CLKCTRL 0>; clocks = <&l3_emif_clkctrl OMAP4_EMIF2_CLKCTRL 0>;
......
...@@ -151,7 +151,6 @@ ocp { ...@@ -151,7 +151,6 @@ ocp {
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0 0 0xc0000000>; ranges = <0 0 0 0xc0000000>;
dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>; dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
l3-noc@44000000 { l3-noc@44000000 {
compatible = "ti,omap5-l3-noc"; compatible = "ti,omap5-l3-noc";
...@@ -279,7 +278,6 @@ ipu: ipu@55020000 { ...@@ -279,7 +278,6 @@ ipu: ipu@55020000 {
target-module@4e000000 { target-module@4e000000 {
compatible = "ti,sysc-omap2", "ti,sysc"; compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "dmm";
reg = <0x4e000000 0x4>, reg = <0x4e000000 0x4>,
<0x4e000010 0x4>; <0x4e000010 0x4>;
reg-names = "rev", "sysc"; reg-names = "rev", "sysc";
...@@ -299,7 +297,6 @@ dmm@0 { ...@@ -299,7 +297,6 @@ dmm@0 {
target-module@4c000000 { target-module@4c000000 {
compatible = "ti,sysc-omap4-simple", "ti,sysc"; compatible = "ti,sysc-omap4-simple", "ti,sysc";
ti,hwmods = "emif1";
reg = <0x4c000000 0x4>; reg = <0x4c000000 0x4>;
reg-names = "rev"; reg-names = "rev";
clocks = <&emif_clkctrl OMAP5_EMIF1_CLKCTRL 0>; clocks = <&emif_clkctrl OMAP5_EMIF1_CLKCTRL 0>;
...@@ -322,7 +319,6 @@ emif1: emif@0 { ...@@ -322,7 +319,6 @@ emif1: emif@0 {
target-module@4d000000 { target-module@4d000000 {
compatible = "ti,sysc-omap4-simple", "ti,sysc"; compatible = "ti,sysc-omap4-simple", "ti,sysc";
ti,hwmods = "emif2";
reg = <0x4d000000 0x4>; reg = <0x4d000000 0x4>;
reg-names = "rev"; reg-names = "rev";
clocks = <&emif_clkctrl OMAP5_EMIF2_CLKCTRL 0>; clocks = <&emif_clkctrl OMAP5_EMIF2_CLKCTRL 0>;
......
...@@ -34,7 +34,6 @@ config ARCH_OMAP4 ...@@ -34,7 +34,6 @@ config ARCH_OMAP4
select ARM_GIC select ARM_GIC
select HAVE_ARM_SCU if SMP select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP select HAVE_ARM_TWD if SMP
select OMAP_HWMOD
select OMAP_INTERCONNECT select OMAP_INTERCONNECT
select OMAP_INTERCONNECT_BARRIER select OMAP_INTERCONNECT_BARRIER
select PL310_ERRATA_588369 if CACHE_L2X0 select PL310_ERRATA_588369 if CACHE_L2X0
...@@ -54,7 +53,6 @@ config SOC_OMAP5 ...@@ -54,7 +53,6 @@ config SOC_OMAP5
select HAVE_ARM_SCU if SMP select HAVE_ARM_SCU if SMP
select HAVE_ARM_ARCH_TIMER select HAVE_ARM_ARCH_TIMER
select ARM_ERRATA_798181 if SMP select ARM_ERRATA_798181 if SMP
select OMAP_HWMOD
select OMAP_INTERCONNECT select OMAP_INTERCONNECT
select OMAP_INTERCONNECT_BARRIER select OMAP_INTERCONNECT_BARRIER
select PM_OPP select PM_OPP
...@@ -90,7 +88,6 @@ config SOC_DRA7XX ...@@ -90,7 +88,6 @@ config SOC_DRA7XX
select HAVE_ARM_ARCH_TIMER select HAVE_ARM_ARCH_TIMER
select IRQ_CROSSBAR select IRQ_CROSSBAR
select ARM_ERRATA_798181 if SMP select ARM_ERRATA_798181 if SMP
select OMAP_HWMOD
select OMAP_INTERCONNECT select OMAP_INTERCONNECT
select OMAP_INTERCONNECT_BARRIER select OMAP_INTERCONNECT_BARRIER
select PM_OPP select PM_OPP
......
...@@ -207,9 +207,6 @@ obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o ...@@ -207,9 +207,6 @@ obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o
obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o
obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o
# OMAP2420 MSDI controller integration support ("MMC") # OMAP2420 MSDI controller integration support ("MMC")
obj-$(CONFIG_SOC_OMAP2420) += msdi.o obj-$(CONFIG_SOC_OMAP2420) += msdi.o
......
...@@ -343,15 +343,6 @@ static inline void omap5_secondary_hyp_startup(void) ...@@ -343,15 +343,6 @@ static inline void omap5_secondary_hyp_startup(void)
} }
#endif #endif
#ifdef CONFIG_SOC_DRA7XX
extern int dra7xx_pciess_reset(struct omap_hwmod *oh);
#else
static inline int dra7xx_pciess_reset(struct omap_hwmod *oh)
{
return 0;
}
#endif
struct omap_system_dma_plat_info; struct omap_system_dma_plat_info;
void pdata_quirks_init(const struct of_device_id *); void pdata_quirks_init(const struct of_device_id *);
......
...@@ -615,7 +615,6 @@ void __init omap4430_init_early(void) ...@@ -615,7 +615,6 @@ void __init omap4430_init_early(void)
omap44xx_voltagedomains_init(); omap44xx_voltagedomains_init();
omap44xx_powerdomains_init(); omap44xx_powerdomains_init();
omap44xx_clockdomains_init(); omap44xx_clockdomains_init();
omap44xx_hwmod_init();
omap_hwmod_init_postsetup(); omap_hwmod_init_postsetup();
omap_l2_cache_init(); omap_l2_cache_init();
omap_clk_soc_init = omap4xxx_dt_clk_init; omap_clk_soc_init = omap4xxx_dt_clk_init;
...@@ -643,8 +642,6 @@ void __init omap5_init_early(void) ...@@ -643,8 +642,6 @@ void __init omap5_init_early(void)
omap54xx_voltagedomains_init(); omap54xx_voltagedomains_init();
omap54xx_powerdomains_init(); omap54xx_powerdomains_init();
omap54xx_clockdomains_init(); omap54xx_clockdomains_init();
omap54xx_hwmod_init();
omap_hwmod_init_postsetup();
omap_clk_soc_init = omap5xxx_dt_clk_init; omap_clk_soc_init = omap5xxx_dt_clk_init;
omap_secure_init(); omap_secure_init();
} }
...@@ -667,8 +664,6 @@ void __init dra7xx_init_early(void) ...@@ -667,8 +664,6 @@ void __init dra7xx_init_early(void)
dra7xxx_check_revision(); dra7xxx_check_revision();
dra7xx_powerdomains_init(); dra7xx_powerdomains_init();
dra7xx_clockdomains_init(); dra7xx_clockdomains_init();
dra7xx_hwmod_init();
omap_hwmod_init_postsetup();
omap_clk_soc_init = dra7xx_dt_clk_init; omap_clk_soc_init = dra7xx_dt_clk_init;
omap_secure_init(); omap_secure_init();
} }
......
...@@ -3495,10 +3495,6 @@ static const struct omap_hwmod_reset omap24xx_reset_quirks[] = { ...@@ -3495,10 +3495,6 @@ static const struct omap_hwmod_reset omap24xx_reset_quirks[] = {
{ .match = "msdi", .len = 4, .reset = omap_msdi_reset, }, { .match = "msdi", .len = 4, .reset = omap_msdi_reset, },
}; };
static const struct omap_hwmod_reset dra7_reset_quirks[] = {
{ .match = "pcie", .len = 4, .reset = dra7xx_pciess_reset, },
};
static const struct omap_hwmod_reset omap_reset_quirks[] = { static const struct omap_hwmod_reset omap_reset_quirks[] = {
{ .match = "dss_core", .len = 8, .reset = omap_dss_reset, }, { .match = "dss_core", .len = 8, .reset = omap_dss_reset, },
{ .match = "hdq1w", .len = 5, .reset = omap_hdq1w_reset, }, { .match = "hdq1w", .len = 5, .reset = omap_hdq1w_reset, },
...@@ -3534,10 +3530,6 @@ omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, ...@@ -3534,10 +3530,6 @@ omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh,
omap24xx_reset_quirks, omap24xx_reset_quirks,
ARRAY_SIZE(omap24xx_reset_quirks)); ARRAY_SIZE(omap24xx_reset_quirks));
if (soc_is_dra7xx())
omap_hwmod_init_reset_quirk(dev, oh, data, dra7_reset_quirks,
ARRAY_SIZE(dra7_reset_quirks));
omap_hwmod_init_reset_quirk(dev, oh, data, omap_reset_quirks, omap_hwmod_init_reset_quirk(dev, oh, data, omap_reset_quirks,
ARRAY_SIZE(omap_reset_quirks)); ARRAY_SIZE(omap_reset_quirks));
} }
......
...@@ -671,7 +671,6 @@ extern int omap2420_hwmod_init(void); ...@@ -671,7 +671,6 @@ extern int omap2420_hwmod_init(void);
extern int omap2430_hwmod_init(void); extern int omap2430_hwmod_init(void);
extern int omap3xxx_hwmod_init(void); extern int omap3xxx_hwmod_init(void);
extern int omap44xx_hwmod_init(void); extern int omap44xx_hwmod_init(void);
extern int omap54xx_hwmod_init(void);
extern int am33xx_hwmod_init(void); extern int am33xx_hwmod_init(void);
extern int dm814x_hwmod_init(void); extern int dm814x_hwmod_init(void);
extern int dm816x_hwmod_init(void); extern int dm816x_hwmod_init(void);
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment