From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Wolfram Sang <wsa@kernel.org>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
linux-i2c@vger.kernel.org
Cc: loongarch@lists.linux.dev, linux-acpi@vger.kernel.org,
WANG Xuerui <kernel@xen0n.name>,
Jianmin Lv <lvjianmin@loongson.cn>,
Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH V2 0/4] i2c: ls2x: Add support for the Loongson-2K/LS7A I2C
Date: Mon, 26 Sep 2022 21:00:03 +0800 [thread overview]
Message-ID: <cover.1664193316.git.zhoubinbin@loongson.cn> (raw)
Hi all:
This patch series adds support for the I2C module found on various
Loongson systems with the Loongson-2K SoC or the Loongson LS7A bridge chip.
For now, the I2C driver is suitable for DT-based or ACPI-based systems.
I have only tested the Loongson-3A5000+LS7A1000/LS7A2000 under LoongArch
architecture.
Thanks.
Changes since V1:
1. Remove the function of getting the static i2c bus number from ACPI "_UID";
2. Fix build warning from kernel test robot.
Binbin Zhou (4):
i2c: gpio: Add support on ACPI-based system
dt-bindings: i2c: add bindings for Loongson LS2X I2C
i2c: Add driver for Loongson-2K/LS7A I2C controller
LoongArch: Enable LS2X I2C in loongson3_defconfig
.../bindings/i2c/loongson,ls2x-i2c.yaml | 48 +++
arch/loongarch/configs/loongson3_defconfig | 1 +
drivers/i2c/busses/Kconfig | 7 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-gpio.c | 30 ++
drivers/i2c/busses/i2c-ls2x.c | 365 ++++++++++++++++++
6 files changed, 452 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/loongson,ls2x-i2c.yaml
create mode 100644 drivers/i2c/busses/i2c-ls2x.c
--
2.31.1
next reply other threads:[~2022-09-26 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 13:00 Binbin Zhou [this message]
2022-09-26 13:00 ` [PATCH V2 1/4] i2c: gpio: Add support on ACPI-based system Binbin Zhou
2022-09-26 14:59 ` Mika Westerberg
2022-09-27 7:49 ` Arnd Bergmann
2022-09-26 15:39 ` Andy Shevchenko
2022-09-26 13:00 ` [PATCH V2 2/4] dt-bindings: i2c: add bindings for Loongson LS2X I2C Binbin Zhou
2022-09-26 13:00 ` [PATCH V2 3/4] i2c: Add driver for Loongson-2K/LS7A I2C controller Binbin Zhou
2022-09-26 16:06 ` Andy Shevchenko
2022-09-26 13:00 ` [PATCH V2 4/4] LoongArch: Enable LS2X I2C in loongson3_defconfig Binbin Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1664193316.git.zhoubinbin@loongson.cn \
--to=zhoubinbin@loongson.cn \
--cc=kernel@xen0n.name \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=lvjianmin@loongson.cn \
--cc=mika.westerberg@linux.intel.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=wsa@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox