mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 07:03:28 -04:00
pinctrl: airoha: an7583: fix I2C0_SDA_PD register bit order
I2C1_SCL_PD and RG_I2C1_SDA_PD bits are swapped, fix it.
Fixes: 3ffeb17a9a ("pinctrl: airoha: add support for Airoha AN7583 PINs")
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
committed by
Linus Walleij
parent
65ce9d5d78
commit
d560e28bdc
@@ -185,8 +185,8 @@
|
||||
#define I2C_SDA_PU_MASK BIT(0)
|
||||
|
||||
#define REG_I2C_SDA_PD 0x0048
|
||||
#define AN7583_I2C1_SDA_PD_MASK BIT(16)
|
||||
#define AN7583_I2C1_SCL_PD_MASK BIT(15)
|
||||
#define AN7583_I2C1_SCL_PD_MASK BIT(16)
|
||||
#define AN7583_I2C1_SDA_PD_MASK BIT(15)
|
||||
#define SPI_MISO_PD_MASK BIT(14)
|
||||
#define SPI_MOSI_PD_MASK BIT(13)
|
||||
#define SPI_CLK_PD_MASK BIT(12)
|
||||
|
||||
Reference in New Issue
Block a user