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)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Sep 2023 14:38:51 +0000 (16:38 +0200)
commit4ba2e52718c0ce4ece6a269bec84319c355c030f
tree300d326f9e7a6311edd5513fc01abb86af9391fe
parentc20b59b2996c89c4f072c3312e6210528a298330
phy: qualcomm: phy-qcom-eusb2-repeater: Use regmap_fields

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>
drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c