mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
phy: meson8b-usb2: fix offsets for some of the registers
The register offsets for REG_DBG_UART (and all following) were off by 0x4. This was not a problem yet because these registers are currently not used by the driver. Signed-off-by: Martin Blumenstingl <[email protected]> Reviewed-by: Jerome Brunet <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
This commit is contained in:
parent
3ecc25e12f
commit
5b85927e5c
1 changed files with 3 additions and 3 deletions
|
|
@ -81,9 +81,9 @@
|
|||
#define REG_ADP_BC_ACA_PIN_GND BIT(25)
|
||||
#define REG_ADP_BC_ACA_PIN_FLOAT BIT(26)
|
||||
|
||||
#define REG_DBG_UART 0x14
|
||||
#define REG_DBG_UART 0x10
|
||||
|
||||
#define REG_TEST 0x18
|
||||
#define REG_TEST 0x14
|
||||
#define REG_TEST_DATA_IN_MASK GENMASK(3, 0)
|
||||
#define REG_TEST_EN_MASK GENMASK(7, 4)
|
||||
#define REG_TEST_ADDR_MASK GENMASK(11, 8)
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
#define REG_TEST_DATA_OUT_MASK GENMASK(19, 16)
|
||||
#define REG_TEST_DISABLE_ID_PULLUP BIT(20)
|
||||
|
||||
#define REG_TUNE 0x1c
|
||||
#define REG_TUNE 0x18
|
||||
#define REG_TUNE_TX_RES_TUNE_MASK GENMASK(1, 0)
|
||||
#define REG_TUNE_TX_HSXV_TUNE_MASK GENMASK(3, 2)
|
||||
#define REG_TUNE_TX_VREF_TUNE_MASK GENMASK(7, 4)
|
||||
|
|
|
|||
Loading…
Reference in a new issue