mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-10 21:01:44 +00:00
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.70 Removed upstreamed: generic/backport-6.6/902-net-llc-reset-skb-transport_header.patch[1] generic/pending-6.6/605-netfilter-nft_set_hash-unaligned-atomic-read-on-stru.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=0c896816aa193e6459fc947747e5753c06b395b9 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=4f49349c1963e507aa37c1ec05178faeb0103959 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17545 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit efafd7d47f8fa26a9f99283605c9324a833ef852)
47 lines
1.7 KiB
Diff
47 lines
1.7 KiB
Diff
From 63a0a4d85bc900464c5b046b13808a582345f8c8 Mon Sep 17 00:00:00 2001
|
|
From: Birger Koblitz <git@birger-koblitz.de>
|
|
Date: Sat, 11 Dec 2021 20:14:47 +0100
|
|
Subject: [PATCH] realtek: Add support for RTL9300/RTL9310 I2C controller
|
|
|
|
This adds support for the RTL9300 and RTL9310 I2C controller.
|
|
The controller implements the SMBus protocol for SMBus transfers
|
|
over an I2C bus. The driver supports selecting one of the 2 possible
|
|
SCL pins and any of the 8 possible SDA pins. Bus speeds of
|
|
100kHz (standard speed) and 400kHz (high speed I2C) are supported.
|
|
|
|
Submitted-by: Birger Koblitz <git@birger-koblitz.de>
|
|
---
|
|
drivers/i2c/busses/Kconfig | 10 +++++++++
|
|
drivers/i2c/busses/Makefile | 1 +
|
|
2 files changed, 11 insertions(+)
|
|
|
|
--- a/drivers/i2c/busses/Kconfig
|
|
+++ b/drivers/i2c/busses/Kconfig
|
|
@@ -1023,6 +1023,16 @@ config I2C_RK3X
|
|
This driver can also be built as a module. If so, the module will
|
|
be called i2c-rk3x.
|
|
|
|
+config I2C_RTL9300
|
|
+ tristate "Realtek RTL9300 I2C adapter"
|
|
+ depends on OF
|
|
+ help
|
|
+ Say Y here to include support for the I2C adapter in Realtek RTL9300
|
|
+ and RTL9310 SoCs.
|
|
+
|
|
+ This driver can also be built as a module. If so, the module will
|
|
+ be called i2c-rtl9300.
|
|
+
|
|
config I2C_RZV2M
|
|
tristate "Renesas RZ/V2M adapter"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
--- a/drivers/i2c/busses/Makefile
|
|
+++ b/drivers/i2c/busses/Makefile
|
|
@@ -101,6 +101,7 @@ obj-$(CONFIG_I2C_QCOM_GENI) += i2c-qcom-
|
|
obj-$(CONFIG_I2C_QUP) += i2c-qup.o
|
|
obj-$(CONFIG_I2C_RIIC) += i2c-riic.o
|
|
obj-$(CONFIG_I2C_RK3X) += i2c-rk3x.o
|
|
+obj-$(CONFIG_I2C_RTL9300) += i2c-rtl9300.o
|
|
obj-$(CONFIG_I2C_RZV2M) += i2c-rzv2m.o
|
|
obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o
|
|
obj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o
|