Messages in this thread | | | From | Yicong Yang <> | Subject | [PATCH 0/2] Add I2C bus recovery support on Kunpeng 920/930 | Date | Tue, 25 Jan 2022 20:49:28 +0800 |
| |
This series adds the I2C bus recovery support on Kunpeng 920/930. We're using HiSilicon I2C controller on Kunpeng 930 and Designware I2C controller on Kunpeng 920. For both platform, the SCL/SDA pins are multiplexed with GPIOs. Both driver use generic GPIO recovery method and we need to switch the pin mutiplexing before/after the recovery process. We use ACPI method to help on the pin mux switching which is also introduced in this series.
Yicong Yang (2): i2c: hisi: Add generic GPIO bus recovery support i2c: designware: Add ACPI assisted recovery support
drivers/i2c/busses/i2c-designware-core.h | 2 + drivers/i2c/busses/i2c-designware-master.c | 84 ++++++++++++++++++++- drivers/i2c/busses/i2c-designware-platdrv.c | 6 +- drivers/i2c/busses/i2c-hisi.c | 78 +++++++++++++++++++ 4 files changed, 164 insertions(+), 6 deletions(-)
-- 2.24.0
| |