From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: "Benoît Cousson" <bcousson@baylibre.com>,
devicetree@vger.kernel.org, Keerthy <j-keerthy@ti.com>,
"Tero Kristo" <t-kristo@ti.com>
Subject: [PATCH 14/14] ARM: OMAP2+: Drop legacy platform data for dra7 des
Date: Tue, 10 Dec 2019 15:17:22 -0800 [thread overview]
Message-ID: <20191210231722.44215-15-tony@atomide.com> (raw)
In-Reply-To: <20191210231722.44215-1-tony@atomide.com>
We 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.
Cc: Keerthy <j-keerthy@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/boot/dts/dra7-l4.dtsi | 1 -
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 37 -----------------------
2 files changed, 38 deletions(-)
diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi
--- a/arch/arm/boot/dts/dra7-l4.dtsi
+++ b/arch/arm/boot/dts/dra7-l4.dtsi
@@ -2046,7 +2046,6 @@ target-module@a4000 { /* 0x480a4000, ap 57 42.0 */
des_target: target-module@a5000 { /* 0x480a5000 */
compatible = "ti,sysc-omap2", "ti,sysc";
- ti,hwmods = "des";
reg = <0xa5030 0x4>,
<0xa5034 0x4>,
<0xa5038 0x4>;
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -1336,34 +1336,6 @@ static struct omap_hwmod dra7xx_timer16_hwmod = {
},
};
-/* DES (the 'P' (public) device) */
-static struct omap_hwmod_class_sysconfig dra7xx_des_sysc = {
- .rev_offs = 0x0030,
- .sysc_offs = 0x0034,
- .syss_offs = 0x0038,
- .sysc_flags = SYSS_HAS_RESET_STATUS,
-};
-
-static struct omap_hwmod_class dra7xx_des_hwmod_class = {
- .name = "des",
- .sysc = &dra7xx_des_sysc,
-};
-
-/* DES */
-static struct omap_hwmod dra7xx_des_hwmod = {
- .name = "des",
- .class = &dra7xx_des_hwmod_class,
- .clkdm_name = "l4sec_clkdm",
- .main_clk = "l3_iclk_div",
- .prcm = {
- .omap4 = {
- .clkctrl_offs = DRA7XX_CM_L4SEC_DES3DES_CLKCTRL_OFFSET,
- .context_offs = DRA7XX_RM_L4SEC_DES3DES_CONTEXT_OFFSET,
- .modulemode = MODULEMODE_HWCTRL,
- },
- },
-};
-
/*
* 'usb_otg_ss' class
*
@@ -1942,14 +1914,6 @@ static struct omap_hwmod_ocp_if dra7xx_l4_per3__timer16 = {
.user = OCP_USER_MPU | OCP_USER_SDMA,
};
-/* l4_per1 -> des */
-static struct omap_hwmod_ocp_if dra7xx_l4_per1__des = {
- .master = &dra7xx_l4_per1_hwmod,
- .slave = &dra7xx_des_hwmod,
- .clk = "l3_iclk_div",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
-};
-
/* l4_per3 -> usb_otg_ss1 */
static struct omap_hwmod_ocp_if dra7xx_l4_per3__usb_otg_ss1 = {
.master = &dra7xx_l4_per3_hwmod,
@@ -2092,7 +2056,6 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
&dra7xx_l4_per3__timer14,
&dra7xx_l4_per3__timer15,
&dra7xx_l4_per3__timer16,
- &dra7xx_l4_per1__des,
&dra7xx_l4_per3__usb_otg_ss1,
&dra7xx_l4_per3__usb_otg_ss2,
&dra7xx_l4_per3__usb_otg_ss3,
--
2.24.0
next prev parent reply other threads:[~2019-12-10 23:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 23:17 [PATCH 00/14] Probe am3, am4 and dra7 crypto accelerators with ti-sysc Tony Lindgren
2019-12-10 23:17 ` [PATCH 01/14] ARM: dts: Configure interconnect target module for am3 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 02/14] ARM: dts: Configure interconnect target module for am4 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 03/14] ARM: dts: Configure interconnect target module for dra7 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 04/14] ARM: dts: Configure interconnect target module for am3 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 05/14] ARM: dts: Configure interconnect target module for am4 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 06/14] ARM: dts: Configure interconnect target module for dra7 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 07/14] ARM: dts: Configure interconnect target module for am4 des Tony Lindgren
2019-12-10 23:17 ` [PATCH 08/14] ARM: dts: Configure interconnect target module for dra7 des Tony Lindgren
2019-12-10 23:17 ` [PATCH 09/14] ARM: OMAP2+: Drop legacy platform data for am3 and am4 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 10/14] ARM: OMAP2+: Drop legacy platform data for dra7 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 11/14] ARM: OMAP2+: Drop legacy platform data for am3 and am4 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 12/14] ARM: OMAP2+: Drop legacy platform data for dra7 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 13/14] ARM: OMAP2+: Drop legacy platform data for am4 des Tony Lindgren
2019-12-10 23:17 ` Tony Lindgren [this message]
2019-12-12 8:20 ` [PATCH 00/14] Probe am3, am4 and dra7 crypto accelerators with ti-sysc Tero Kristo
2019-12-12 16:16 ` Tony Lindgren
2019-12-13 6:14 ` Keerthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191210231722.44215-15-tony@atomide.com \
--to=tony@atomide.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=t-kristo@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).