summaryrefslogtreecommitdiffstats
path: root/drivers/phy/ti/phy-twl4030-usb.c
diff options
context:
space:
mode:
authorLiam Beguin <lvb@xiphos.com>2020-12-11 14:12:41 -0500
committerVinod Koul <vkoul@kernel.org>2021-03-12 15:33:05 +0530
commiteb445a15fa6910dd25b2fc1217ac39f47104b7d6 (patch)
treef75a88c0725dbf256f5452f40e0131b870ac7539 /drivers/phy/ti/phy-twl4030-usb.c
parent015acd5d3addb0e2cae1c4e1ed81d5f0a1c785ad (diff)
downloadlinux-eb445a15fa6910dd25b2fc1217ac39f47104b7d6.tar.bz2
phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2
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 instance. Signed-off-by: Liam Beguin <lvb@xiphos.com> Link: https://lore.kernel.org/r/20201211191241.21306-1-liambeguin@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/ti/phy-twl4030-usb.c')
0 files changed, 0 insertions, 0 deletions