246f2494131cf46c3ec34ca46217aa26660b78db
[openwrt/openwrt.git] / target / linux / bcm4908 / patches-5.10 / 087-v5.18-0001-i2c-brcmstb-allow-compiling-on-BCM4908.patch
1 From d0aee048d648ec2d9aa7af43b127ebf847d497d5 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 11 Feb 2022 11:58:06 +0100
4 Subject: [PATCH] i2c: brcmstb: allow compiling on BCM4908
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM4908 SoCs use the same I2C hardware block as STB and BCM63xx devices.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
13 Signed-off-by: Wolfram Sang <wsa@kernel.org>
14 ---
15 drivers/i2c/busses/Kconfig | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/drivers/i2c/busses/Kconfig
19 +++ b/drivers/i2c/busses/Kconfig
20 @@ -477,8 +477,8 @@ config I2C_BCM_KONA
21
22 config I2C_BRCMSTB
23 tristate "BRCM Settop/DSL I2C controller"
24 - depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC || \
25 - ARCH_BCM_63XX || COMPILE_TEST
26 + depends on ARCH_BCM2835 || ARCH_BCM4908 || ARCH_BCM_63XX || \
27 + ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
28 default y
29 help
30 If you say yes to this option, support will be included for the