linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Tero Kristo <t-kristo@ti.com>
To: <linux-omap@vger.kernel.org>, <ssantosh@kernel.org>
Cc: tony@atomide.com, devicetree@vger.kernel.org,
	p.zabel@pengutronix.de, linux-arm-kernel@lists.infradead.org
Subject: [PATCHv8 7/9] soc: ti: omap-prm: add dra7 PRM data
Date: Tue, 8 Oct 2019 15:55:42 +0300	[thread overview]
Message-ID: <20191008125544.20679-8-t-kristo@ti.com> (raw)
In-Reply-To: <20191008125544.20679-1-t-kristo@ti.com>

Add PRM instance data for dra7 family of SoCs. Initially this is just
used to provide reset support.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 drivers/soc/ti/omap_prm.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c
index a5fde34f6afd..de11ce08ff7b 100644
--- a/drivers/soc/ti/omap_prm.c
+++ b/drivers/soc/ti/omap_prm.c
@@ -84,6 +84,19 @@ static const struct omap_prm_data omap4_prm_data[] = {
 	{ },
 };
 
+static const struct omap_prm_data dra7_prm_data[] = {
+	{ .name = "dsp1", .base = 0x4ae06400, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ .name = "ipu", .base = 0x4ae06500, .rstctrl = 0x10, .rstst = 0x14, .clkdm_name = "ipu1", .rstmap = rst_map_012 },
+	{ .name = "core", .base = 0x4ae06700, .rstctrl = 0x210, .rstst = 0x214, .clkdm_name = "ipu2", .rstmap = rst_map_012 },
+	{ .name = "iva", .base = 0x4ae06f00, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_012 },
+	{ .name = "dsp2", .base = 0x4ae07b00, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ .name = "eve1", .base = 0x4ae07b40, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ .name = "eve2", .base = 0x4ae07b80, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ .name = "eve3", .base = 0x4ae07bc0, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ .name = "eve4", .base = 0x4ae07c00, .rstctrl = 0x10, .rstst = 0x14, .rstmap = rst_map_01 },
+	{ },
+};
+
 static const struct omap_rst_map am3_per_rst_map[] = {
 	{ .rst = 1 },
 	{ .rst = -1 },
@@ -104,6 +117,7 @@ static const struct omap_prm_data am3_prm_data[] = {
 
 static const struct of_device_id omap_prm_id_table[] = {
 	{ .compatible = "ti,omap4-prm-inst", .data = omap4_prm_data },
+	{ .compatible = "ti,dra7-prm-inst", .data = dra7_prm_data },
 	{ .compatible = "ti,am3-prm-inst", .data = am3_prm_data },
 	{ },
 };
-- 
2.17.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-10-08 12:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 12:55 [PATCHv8 0/9] soc: ti: add OMAP PRM driver (for reset) Tero Kristo
2019-10-08 12:55 ` [PATCHv8 1/9] dt-bindings: omap: add new binding for PRM instances Tero Kristo
2019-10-08 15:46   ` Sebastian Reichel
2019-10-09  6:52     ` Tero Kristo
2019-10-09 15:59       ` santosh.shilimkar
2019-10-10  7:13         ` Tero Kristo
2019-10-08 12:55 ` [PATCHv8 2/9] soc: ti: add initial PRM driver with reset control support Tero Kristo
2019-10-08 12:55 ` [PATCHv8 3/9] soc: ti: omap-prm: poll for reset complete during de-assert Tero Kristo
2019-10-08 12:55 ` [PATCHv8 4/9] soc: ti: omap-prm: add support for denying idle for reset clockdomain Tero Kristo
2019-10-08 12:55 ` [PATCHv8 5/9] soc: ti: omap-prm: add omap4 PRM data Tero Kristo
2019-10-08 12:55 ` [PATCHv8 6/9] soc: ti: omap-prm: add data for am33xx Tero Kristo
2019-10-08 12:55 ` Tero Kristo [this message]
2019-10-08 12:55 ` [PATCHv8 8/9] soc: ti: omap-prm: add am4 PRM data Tero Kristo
2019-10-08 12:55 ` [PATCHv8 9/9] soc: ti: omap-prm: add omap5 " Tero Kristo
2019-10-08 14:00 ` [PATCHv8 0/9] soc: ti: add OMAP PRM driver (for reset) Tony Lindgren
2019-10-09 16:01   ` santosh.shilimkar
2019-10-09 18:39     ` Tony Lindgren

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=20191008125544.20679-8-t-kristo@ti.com \
    --to=t-kristo@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=ssantosh@kernel.org \
    --cc=tony@atomide.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).