]> git.hungrycats.org Git - linux/commit
phy: qualcomm: phy-qcom-eusb2-repeater: Use regmap_fields
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 13 Sep 2023 09:53:24 +0000 (11:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:14:49 +0000 (17:14 +0000)
commitd86b03dc9041acbfff732c9ab8dd130a5b0af738
treefcf6f566da088732e77a8c631505c0b93bf6e576
parent5fe0d30ecdc4113928b48aa2ff908acfb4785322
phy: qualcomm: phy-qcom-eusb2-repeater: Use regmap_fields

[ Upstream commit 4ba2e52718c0ce4ece6a269bec84319c355c030f ]

Switch to regmap_fields, so that the values written into registers are
sanitized by their explicit sizes and the different registers are
structured in an iterable object to make external changes to the init
sequence simpler.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230830-topic-eusb2_override-v2-2-7d8c893d93f6@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c