diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2020-05-13 01:24:21 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-05-15 10:46:55 +0300 |
commit | de143a40fa7d0acae4295c3b312ec96cc8dd9cd0 (patch) | |
tree | f1c1b236b2bc335e453be80e66876a9e52dc4b23 /drivers/phy/amlogic/Kconfig | |
parent | 2c0dd8440312b77b42f8e27fd751015dc8f519ff (diff) | |
download | linux-de143a40fa7d0acae4295c3b312ec96cc8dd9cd0.tar.xz |
phy: amlogic: meson8b-usb2: Use a MMIO regmap
Using a MMIO regmap and switch to regmap_update_bits() to simplify the
code in the driver. Also switch to devm_platform_ioremap_resource()
instead of open-coding it. No functional changes intended.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Thomas Graichen <thomas.graichen@gmail.com>
Link: https://lore.kernel.org/r/20200512222424.549351-4-martin.blumenstingl@googlemail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/amlogic/Kconfig')
-rw-r--r-- | drivers/phy/amlogic/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/amlogic/Kconfig b/drivers/phy/amlogic/Kconfig index 71801e30d601..3495b23af797 100644 --- a/drivers/phy/amlogic/Kconfig +++ b/drivers/phy/amlogic/Kconfig @@ -9,6 +9,7 @@ config PHY_MESON8B_USB2 depends on USB_SUPPORT select USB_COMMON select GENERIC_PHY + select REGMAP_MMIO help Enable this to support the Meson USB2 PHYs found in Meson8, Meson8b and GXBB SoCs. |