Drop more legacy usb platform data for omaps
Subsystems (5)
Tony Lindgren
maintainercover Drop more legacy usb platform data for omaps
Hi all,
We can now drop the dwc3 related legacy platform data for am4, omap5 and dra7 and rely on dts data only. And we can drop the ohci and ehci related platform data for omap4 and 5.
Regards,
Tony
Tony Lindgren (6):
bus: ti-sysc: Add missing quirk flags for usb_host_hs
ARM: OMAP2+: Drop legacy platform data for am335x dwc3
ARM: OMAP2+: Drop legacy platform data for omap5 dwc3
ARM: OMAP2+: Drop legacy platform data for dra7 dwc3
ARM: OMAP2+: Drop legacy platform data for omap4 usb
ARM: OMAP2+: Drop legacy platform data for omap5 usb host
arch/arm/boot/dts/am437x-l4.dtsi | 2 - arch/arm/boot/dts/dra7-l4.dtsi | 4 - arch/arm/boot/dts/dra74x.dtsi | 58 +++++-- arch/arm/boot/dts/omap4-l4.dtsi | 2 - arch/arm/boot/dts/omap5-l4.dtsi | 3 - arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 59 ------- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 193 --------------------- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 179 ------------------- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 155 +---------------- drivers/bus/ti-sysc.c | 6 +- 10 files changed, 45 insertions(+), 616 deletions(-)
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 1/6 bus: ti-sysc: Add missing quirk flags for usb_host_hs
Similar to what we have for the legacy platform data, we need to configure SWSUP_SIDLE and SWSUP_MSTANDBY quirks for usb_host_hs.
These are needed to drop the legacy platform data for usb_host_hs.
--- drivers/bus/ti-sysc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/bus/ti-sysc.c +4 -2
@@ -1330,6 +1330,10 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY),SYSC_QUIRK ("tptc" ,0 ,0 , -ENODEV , -ENODEV ,0x40007c00 ,0xffffffff ,SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_SWSUP_MSTANDBY ), +SYSC_QUIRK ("usb_host_hs" ,0 ,0 ,0x10 ,0x14 ,0x50700100 ,0xffffffff , +SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_SWSUP_MSTANDBY ), +SYSC_QUIRK ("usb_host_hs" ,0 ,0 ,0x10 , -ENODEV ,0x50700101 ,0xffffffff , +SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_SWSUP_MSTANDBY ),SYSC_QUIRK ("usb_otg_hs" ,0 ,0x400 ,0x404 ,0x408 ,0x00000050 ,0xffffffff ,SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_SWSUP_MSTANDBY ), SYSC_QUIRK("usb_otg_hs", 0, 0, 0x10, -ENODEV, 0x4ea2080d, 0xffffffff,
@@ -1408,8 +1412,6 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {SYSC_QUIRK ("tpcc" ,0 ,0 , -ENODEV , -ENODEV ,0x40014c00 ,0xffffffff ,0 ),SYSC_QUIRK ("usbhstll" ,0 ,0 ,0x10 ,0x14 ,0x00000004 ,0xffffffff ,0 ),SYSC_QUIRK ("usbhstll" ,0 ,0 ,0x10 ,0x14 ,0x00000008 ,0xffffffff ,0 ), -SYSC_QUIRK ("usb_host_hs" ,0 ,0 ,0x10 ,0x14 ,0x50700100 ,0xffffffff ,0 ), -SYSC_QUIRK ("usb_host_hs" ,0 ,0 ,0x10 , -ENODEV ,0x50700101 ,0xffffffff ,0 ),SYSC_QUIRK ("venc" ,0x58003000 ,0 , -ENODEV , -ENODEV ,0x00000002 ,0xffffffff ,0 ), SYSC_QUIRK("vfpe", 0, 0, 0x104, -ENODEV, 0x4d001200, 0xffffffff, 0), #endif
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 2/6 ARM: OMAP2+: Drop legacy platform data for am335x dwc3
In reply to Tony LindgrenWe can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property.
As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch.
--- arch/arm/boot/dts/am437x-l4.dtsi | 2 - arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 59 ---------------------- 2 files changed, 61 deletions(-)
arch/arm/boot/dts/am437x-l4.dtsi +0 -2
@@ -2352,7 +2352,6 @@ target-module@4c000 { /* 0x4834c000, ap 114 72.0 */ target-module@80000 { /* 0x48380000, ap 123 42.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss0"; reg = <0x80000 0x4>, <0x80010 0x4>; reg-names = "rev", "sysc";
@@ -2433,7 +2432,6 @@ usb2_phy1: phy@8000 { target-module@c0000 { /* 0x483c0000, ap 127 7a.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss1"; reg = <0xc0000 0x4>, <0xc0010 0x4>; reg-names = "rev", "sysc";
arch/arm/mach-omap2/omap_hwmod_43xx_data.c +0 -59
77 lines not on this page · raw message
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 3/6 ARM: OMAP2+: Drop legacy platform data for omap5 dwc3
In reply to Tony LindgrenWe can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property.
As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch.
--- arch/arm/boot/dts/omap5-l4.dtsi | 1 - arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 52 ---------------------- 2 files changed, 53 deletions(-)
arch/arm/boot/dts/omap5-l4.dtsi +0 -1
@@ -167,7 +167,6 @@ cm_core_clockdomains: clockdomains { target-module@20000 { /* 0x4a020000, ap 109 08.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss"; reg = <0x20000 0x4>, <0x20010 0x4>; reg-names = "rev", "sysc";
arch/arm/mach-omap2/omap_hwmod_54xx_data.c +0 -52
70 lines not on this page · raw message
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 4/6 ARM: OMAP2+: Drop legacy platform data for dra7 dwc3
In reply to Tony LindgrenWe can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property.
As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch.
--- arch/arm/boot/dts/dra7-l4.dtsi | 4 - arch/arm/boot/dts/dra74x.dtsi | 58 +++++--- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 155 +--------------------- 3 files changed, 41 insertions(+), 176 deletions(-)
arch/arm/boot/dts/dra7-l4.dtsi +0 -4
@@ -4007,7 +4007,6 @@ mailbox12: mailbox@0 { target-module@80000 { /* 0x48880000, ap 83 0e.1 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss1"; reg = <0x80000 0x4>, <0x80010 0x4>; reg-names = "rev", "sysc";
@@ -4057,7 +4056,6 @@ usb1: usb@10000 { target-module@c0000 { /* 0x488c0000, ap 79 06.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss2"; reg = <0xc0000 0x4>, <0xc0010 0x4>; reg-names = "rev", "sysc";
@@ -4108,7 +4106,6 @@ usb2: usb@10000 { usb3_tm: target-module@100000 { /* 0x48900000, ap 85 04.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss3"; reg = <0x100000 0x4>, <0x100010 0x4>; reg-names = "rev", "sysc";
@@ -4157,7 +4154,6 @@ usb3: usb@10000 { usb4_tm: target-module@140000 { /* 0x48940000, ap 75 3c.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_otg_ss4"; reg = <0x140000 0x4>, <0x140010 0x4>; reg-names = "rev", "sysc";
arch/arm/boot/dts/dra74x.dtsi +39 -19
66 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +2 -153
191 lines not on this page · raw message
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 5/6 ARM: OMAP2+: Drop legacy platform data for omap4 usb
In reply to Tony LindgrenWe can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property.
As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch.
--- arch/arm/boot/dts/omap4-l4.dtsi | 2 - arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 193 --------------------- 2 files changed, 195 deletions(-)
arch/arm/boot/dts/omap4-l4.dtsi +0 -2
@@ -240,7 +240,6 @@ target-module@5e000 { /* 0x4a05e000, ap 80 68.0 */ target-module@62000 { /* 0x4a062000, ap 11 16.0 */ compatible = "ti,sysc-omap2", "ti,sysc"; - ti,hwmods = "usb_tll_hs"; reg = <0x62000 0x4>, <0x62010 0x4>, <0x62014 0x4>;
@@ -268,7 +267,6 @@ usbhstll: usbhstll@0 { target-module@64000 { /* 0x4a064000, ap 86 1e.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_host_hs"; reg = <0x64000 0x4>, <0x64010 0x4>, <0x64014 0x4>;
arch/arm/mach-omap2/omap_hwmod_44xx_data.c +0 -193
223 lines not on this page · raw message
Signature · 1 line
2.27.0
Tony Lindgren
maintainerPATCH 6/6 ARM: OMAP2+: Drop legacy platform data for omap5 usb host
In reply to Tony LindgrenWe can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property.
As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch.
--- arch/arm/boot/dts/omap5-l4.dtsi | 2 - arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 127 --------------------- 2 files changed, 129 deletions(-)
arch/arm/boot/dts/omap5-l4.dtsi +0 -2
@@ -268,7 +268,6 @@ target-module@5e000 { /* 0x4a05e000, ap 69 2a.0 */ target-module@62000 { /* 0x4a062000, ap 11 0e.0 */ compatible = "ti,sysc-omap2", "ti,sysc"; - ti,hwmods = "usb_tll_hs"; reg = <0x62000 0x4>, <0x62010 0x4>, <0x62014 0x4>;
@@ -297,7 +296,6 @@ usbhstll: usbhstll@0 { target-module@64000 { /* 0x4a064000, ap 71 1e.0 */ compatible = "ti,sysc-omap4", "ti,sysc"; - ti,hwmods = "usb_host_hs"; reg = <0x64000 0x4>, <0x64010 0x4>; reg-names = "rev", "sysc";
arch/arm/mach-omap2/omap_hwmod_54xx_data.c +0 -127
145 lines not on this page · raw message
Signature · 1 line
2.27.0