[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220125124930.50369-1-yangyicong@hisilicon.com>
Date: Tue, 25 Jan 2022 20:49:28 +0800
From: Yicong Yang <yangyicong@...ilicon.com>
To: <jarkko.nikula@...ux.intel.com>,
<andriy.shevchenko@...ux.intel.com>,
<mika.westerberg@...ux.intel.com>, <wsa@...nel.org>,
<linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <yangyicong@...ilicon.com>, <prime.zeng@...ilicon.com>,
<linuxarm@...wei.com>
Subject: [PATCH 0/2] Add I2C bus recovery support on Kunpeng 920/930
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
Powered by blists - more mailing lists