Re: [PATCH v1 1/1] phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2

2020-07-14 Thread Liam Beguin
Hi Vinod, On Mon Jul 13, 2020 at 10:38 AM Vinod Koul wrote: > On 01-07-20, 21:06, Liam Beguin wrote: > > From: Liam Beguin > > > > Start by reading the content of the VENDOR_SPECIFIC2 register and update > > each bit field based on device properties when defined. > > > > The use of bit masks

Re: [PATCH v1 1/1] phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2

2020-07-12 Thread Vinod Koul
On 01-07-20, 21:06, Liam Beguin wrote: > From: Liam Beguin > > Start by reading the content of the VENDOR_SPECIFIC2 register and update > each bit field based on device properties when defined. > > The use of bit masks prevents fields from overriding each other and > enables users to clear bits

[PATCH v1 1/1] phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2

2020-07-01 Thread Liam Beguin
From: Liam Beguin Start by reading the content of the VENDOR_SPECIFIC2 register and update each bit field based on device properties when defined. The use of bit masks prevents fields from overriding each other and enables users to clear bits which are set by default, like datapolarity in this