[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM6PR11MB37212B71B26A9642CDEBC320DD2E0@DM6PR11MB3721.namprd11.prod.outlook.com>
Date: Tue, 1 Sep 2020 04:49:25 +0000
From: "Wan Mohamad, Wan Ahmad Zainie"
<wan.ahmad.zainie.wan.mohamad@...el.com>
To: Vinod Koul <vkoul@...nel.org>
CC: "kishon@...com" <kishon@...com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"Shevchenko, Andriy" <andriy.shevchenko@...el.com>,
"eswara.kota@...ux.intel.com" <eswara.kota@...ux.intel.com>,
"vadivel.muruganx.ramuthevar@...ux.intel.com"
<vadivel.muruganx.ramuthevar@...ux.intel.com>,
"Raja Subramanian, Lakshmi Bai"
<lakshmi.bai.raja.subramanian@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: RE: [PATCH v7 3/3] phy: intel: Add Keem Bay eMMC PHY support
Hi Vinod.
Thanks for the review.
> -----Original Message-----
> From: Vinod Koul <vkoul@...nel.org>
> Sent: Monday, August 31, 2020 5:20 PM
> To: Wan Mohamad, Wan Ahmad Zainie
> <wan.ahmad.zainie.wan.mohamad@...el.com>
> Cc: kishon@...com; robh+dt@...nel.org; Shevchenko, Andriy
> <andriy.shevchenko@...el.com>; eswara.kota@...ux.intel.com;
> vadivel.muruganx.ramuthevar@...ux.intel.com; Raja Subramanian, Lakshmi
> Bai <lakshmi.bai.raja.subramanian@...el.com>; linux-
> kernel@...r.kernel.org; devicetree@...r.kernel.org
> Subject: Re: [PATCH v7 3/3] phy: intel: Add Keem Bay eMMC PHY support
>
> On 21-08-20, 19:37, Wan Ahmad Zainie wrote:
>
> > +/* From ACS_eMMC51_16nFFC_RO1100_Userguide_v1p0.pdf p17 */
> > +#define FREQSEL_200M_170M 0x0
> > +#define FREQSEL_170M_140M 0x1
> > +#define FREQSEL_140M_110M 0x2
> > +#define FREQSEL_110M_80M 0x3
> > +#define FREQSEL_80M_50M 0x4
> > +
> > +#define maskval(mask, val) (((val) << (ffs(mask) - 1)) & mask)
>
> Kernel has a macro do this for you, please use FIELD_PREP instead of
I have updated to v8, to remove this macro and use FIELD_PREP.
I also add changes based on Andy's comments.
>
> your own macro
> --
> ~Vinod
Best regards,
Zainie
Powered by blists - more mailing lists