android_kernel_motorola_sm6225/drivers/phy/amlogic
Martin Blumenstingl ae91a799fb phy: amlogic: phy-meson-gxl-usb2: rename some of the U2P_R2 registers
The U2P_R2 register provides "test mode" functionality for bits 17:0.
These are only used during SoC development and should be left untouched
on production SoC versions.
Rename these register definitions to indicate that these are for "test
mode" only.

While here, also merge the definitions for U2P_R2_DATA_IN_MASK and
U2P_R2_DATA_IN_EN_MASK (bits 0:7) because Amlogic's internal
documentation suggests that these bits belong together. The old
definition was not taken from the documentation but rather from a struct
definition in the Amlogic GPL kernel sources.

No functional changes.

Suggested-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-03-08 13:56:29 +05:30
..
Kconfig phy: amlogic: phy-meson-gxl-usb2: default to host mode 2018-03-08 13:56:28 +05:30
Makefile phy: meson: add USB2 PHY support for Meson GXL and GXM 2017-06-06 14:49:47 +05:30
phy-meson-gxl-usb2.c phy: amlogic: phy-meson-gxl-usb2: rename some of the U2P_R2 registers 2018-03-08 13:56:29 +05:30
phy-meson8b-usb2.c phy: meson8b-usb2: add support for the USB PHY on Meson8 SoCs 2017-06-06 14:50:14 +05:30