Thread (11 messages) 11 messages, 4 authors, 2018-10-31

[PATCH v7 2/6] soc/fsl/guts: Add definition for LX2160A

From: Yinbo Zhu <hidden>
Date: 2018-10-30 03:39:21
Also in: linux-clk, linux-devicetree, linux-pm, linuxppc-dev, lkml


-----Original Message-----
From: Poonam Aggrwal 
Sent: 2018?10?29? 19:09
To: Vabhav Sharma <redacted>; sudeep.holla at arm.com; oss at buserror.net; linux-kernel at vger.kernel.org; devicetree at vger.kernel.org; robh+dt at kernel.org; mark.rutland at arm.com; linuxppc-dev at lists.ozlabs.org; linux-arm-kernel at lists.infradead.org; mturquette at baylibre.com; sboyd at kernel.org; rjw at rjwysocki.net; viresh.kumar at linaro.org; linux-clk at vger.kernel.org; linux-pm at vger.kernel.org; linux-kernel-owner at vger.kernel.org; catalin.marinas at arm.com; will.deacon at arm.com; gregkh at linuxfoundation.org; arnd at arndb.de; kstewart at linuxfoundation.org; yamada.masahiro at socionext.com; Leo Li <redacted>; shawnguo at kernel.org
Cc: ulf.hansson at linaro.org; Udit Kumar <redacted>; Pankaj Bansal <redacted>; linux at armlinux.org.uk; adrian.hunter at intel.com; Varun Sethi <redacted>; Vabhav Sharma <redacted>; Yinbo Zhu <redacted>
Subject: RE: [PATCH v7 2/6] soc/fsl/guts: Add definition for LX2160A


quoted hunk ↗ jump to hunk
-----Original Message-----
From: linux-arm-kernel 
[mailto:linux-arm-kernel-bounces at lists.infradead.org]
On Behalf Of Vabhav Sharma
Sent: Monday, October 29, 2018 2:28 PM
To: sudeep.holla at arm.com; oss at buserror.net; 
linux-kernel at vger.kernel.org; devicetree at vger.kernel.org; 
robh+dt at kernel.org; mark.rutland at arm.com; 
linuxppc-dev at lists.ozlabs.org; linux-arm-kernel at lists.infradead.org;
mturquette at baylibre.com; sboyd at kernel.org; rjw at rjwysocki.net; 
viresh.kumar at linaro.org; linux-clk at vger.kernel.org; 
linux-pm at vger.kernel.org; linux-kernel-owner at vger.kernel.org; 
catalin.marinas at arm.com; will.deacon at arm.com; 
gregkh at linuxfoundation.org; arnd at arndb.de; 
kstewart at linuxfoundation.org; yamada.masahiro at socionext.com; Leo Li 
[off-list ref]; shawnguo at kernel.org
Cc: ulf.hansson at linaro.org; Udit Kumar <redacted>; Pankaj 
Bansal [off-list ref]; linux at armlinux.org.uk; 
adrian.hunter at intel.com; Varun Sethi [off-list ref]; Vabhav Sharma 
[off-list ref]; Yinbo Zhu [off-list ref]
Subject: [PATCH v7 2/6] soc/fsl/guts: Add definition for LX2160A

Adding compatible string "lx2160a-dcfg" to initialize guts driver for 
lx2160 and SoC die attribute definition for LX2160A

Signed-off-by: Vabhav Sharma <redacted>
Signed-off-by: Yinbo Zhu <redacted>
Acked-by: Li Yang <redacted>
---
 drivers/soc/fsl/guts.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c index 
302e0c8..bcab1ee 100644
--- a/drivers/soc/fsl/guts.c
+++ b/drivers/soc/fsl/guts.c
@@ -100,6 +100,11 @@ static const struct fsl_soc_die_attr fsl_soc_die[] = {
 	  .svr		= 0x87000000,
 	  .mask		= 0xfff70000,
 	},
+	/* Die: LX2160A, SoC: LX2160A/LX2120A/LX2080A */
+	{ .die          = "LX2160A",
+	  .svr          = 0x87360000,
Do all  the threevariants " LX2160A/LX2120A/LX2080A"  have same SVR?
Dear Poonam Aggrwal,

No, but the threevariants " LX2160A/LX2120A/LX2080A" has same svr value in this struct,
Because they all are variants of lx2160, the svr value in this struct is equal the soc svr && mask

Best Regards,
Yinbo Zhu.
quoted hunk ↗ jump to hunk
+	  .mask         = 0xff3f0000,
+	},
 	{ },
 };
@@ -222,6 +227,7 @@ static const struct of_device_id fsl_guts_of_match[] = {
 	{ .compatible = "fsl,ls1088a-dcfg", },
 	{ .compatible = "fsl,ls1012a-dcfg", },
 	{ .compatible = "fsl,ls1046a-dcfg", },
+	{ .compatible = "fsl,lx2160a-dcfg", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, fsl_guts_of_match);
--
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist
s.infr
adead.org%2Fmailman%2Flistinfo%2Flinux-arm-
kernel&amp;data=02%7C01%7Cpoonam.aggrwal%40nxp.com%7Cd9b7c36c786
54cd6dc4008d63d7fee63%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
%7C636764017001504288&amp;sdata=pqFMlw6yVrHrvn4YRhqj%2FmoOnSscrZu
tcoYn3In8OJc%3D&amp;reserved=0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help