[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR04MB41589506EDE16676AB561FBDE9CC0@VI1PR04MB4158.eurprd04.prod.outlook.com>
Date: Tue, 30 Oct 2018 03:39:13 +0000
From: Yinbo Zhu <yinbo.zhu@....com>
To: Poonam Aggrwal <poonam.aggrwal@....com>,
Vabhav Sharma <vabhav.sharma@....com>,
"sudeep.holla@....com" <sudeep.holla@....com>,
"oss@...error.net" <oss@...error.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"mturquette@...libre.com" <mturquette@...libre.com>,
"sboyd@...nel.org" <sboyd@...nel.org>,
"rjw@...ysocki.net" <rjw@...ysocki.net>,
"viresh.kumar@...aro.org" <viresh.kumar@...aro.org>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel-owner@...r.kernel.org"
<linux-kernel-owner@...r.kernel.org>,
"catalin.marinas@....com" <catalin.marinas@....com>,
"will.deacon@....com" <will.deacon@....com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"arnd@...db.de" <arnd@...db.de>,
"kstewart@...uxfoundation.org" <kstewart@...uxfoundation.org>,
"yamada.masahiro@...ionext.com" <yamada.masahiro@...ionext.com>,
Leo Li <leoyang.li@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>
CC: "ulf.hansson@...aro.org" <ulf.hansson@...aro.org>,
Udit Kumar <udit.kumar@....com>,
Pankaj Bansal <pankaj.bansal@....com>,
"linux@...linux.org.uk" <linux@...linux.org.uk>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>,
Varun Sethi <V.Sethi@....com>,
Vabhav Sharma <vabhav.sharma@....com>
Subject: RE: [PATCH v7 2/6] soc/fsl/guts: Add definition for LX2160A
-----Original Message-----
From: Poonam Aggrwal
Sent: 2018年10月29日 19:09
To: Vabhav Sharma <vabhav.sharma@....com>; sudeep.holla@....com; oss@...error.net; linux-kernel@...r.kernel.org; devicetree@...r.kernel.org; robh+dt@...nel.org; mark.rutland@....com; linuxppc-dev@...ts.ozlabs.org; linux-arm-kernel@...ts.infradead.org; mturquette@...libre.com; sboyd@...nel.org; rjw@...ysocki.net; viresh.kumar@...aro.org; linux-clk@...r.kernel.org; linux-pm@...r.kernel.org; linux-kernel-owner@...r.kernel.org; catalin.marinas@....com; will.deacon@....com; gregkh@...uxfoundation.org; arnd@...db.de; kstewart@...uxfoundation.org; yamada.masahiro@...ionext.com; Leo Li <leoyang.li@....com>; shawnguo@...nel.org
Cc: ulf.hansson@...aro.org; Udit Kumar <udit.kumar@....com>; Pankaj Bansal <pankaj.bansal@....com>; linux@...linux.org.uk; adrian.hunter@...el.com; Varun Sethi <V.Sethi@....com>; Vabhav Sharma <vabhav.sharma@....com>; Yinbo Zhu <yinbo.zhu@....com>
Subject: RE: [PATCH v7 2/6] soc/fsl/guts: Add definition for LX2160A
> -----Original Message-----
> From: linux-arm-kernel
> [mailto:linux-arm-kernel-bounces@...ts.infradead.org]
> On Behalf Of Vabhav Sharma
> Sent: Monday, October 29, 2018 2:28 PM
> To: sudeep.holla@....com; oss@...error.net;
> linux-kernel@...r.kernel.org; devicetree@...r.kernel.org;
> robh+dt@...nel.org; mark.rutland@....com;
> linuxppc-dev@...ts.ozlabs.org; linux-arm-kernel@...ts.infradead.org;
> mturquette@...libre.com; sboyd@...nel.org; rjw@...ysocki.net;
> viresh.kumar@...aro.org; linux-clk@...r.kernel.org;
> linux-pm@...r.kernel.org; linux-kernel-owner@...r.kernel.org;
> catalin.marinas@....com; will.deacon@....com;
> gregkh@...uxfoundation.org; arnd@...db.de;
> kstewart@...uxfoundation.org; yamada.masahiro@...ionext.com; Leo Li
> <leoyang.li@....com>; shawnguo@...nel.org
> Cc: ulf.hansson@...aro.org; Udit Kumar <udit.kumar@....com>; Pankaj
> Bansal <pankaj.bansal@....com>; linux@...linux.org.uk;
> adrian.hunter@...el.com; Varun Sethi <V.Sethi@....com>; Vabhav Sharma
> <vabhav.sharma@....com>; Yinbo Zhu <yinbo.zhu@....com>
> 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 <vabhav.sharma@....com>
> Signed-off-by: Yinbo Zhu <yinbo.zhu@....com>
> Acked-by: Li Yang <leoyang.li@....com>
> ---
> 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.
> + .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@...ts.infradead.org
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist
> s.infr
> adead.org%2Fmailman%2Flistinfo%2Flinux-arm-
> kernel&data=02%7C01%7Cpoonam.aggrwal%40nxp.com%7Cd9b7c36c786
> 54cd6dc4008d63d7fee63%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
> %7C636764017001504288&sdata=pqFMlw6yVrHrvn4YRhqj%2FmoOnSscrZu
> tcoYn3In8OJc%3D&reserved=0
Powered by blists - more mailing lists