]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: BCM5301X: Fix I2C controller interrupt
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 27 Oct 2021 19:37:29 +0000 (12:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:27:41 +0000 (09:27 +0100)
commit14f6a7a2e2f812cd1b0871303b646a74b890831f
tree6da5ac8c46aa78205bb6876bf19483f81adc1bc6
parent0dc62d3d6b6ef2067b6cd897f942826dd65e6b66
ARM: dts: BCM5301X: Fix I2C controller interrupt

[ Upstream commit 754c4050a00e802e122690112fc2c3a6abafa7e2 ]

The I2C interrupt controller line is off by 32 because the datasheet
describes interrupt inputs into the GIC which are for Shared Peripheral
Interrupts and are starting at offset 32. The ARM GIC binding expects
the SPI interrupts to be numbered from 0 relative to the SPI base.

Fixes: bb097e3e0045 ("ARM: dts: BCM5301X: Add I2C support to the DT")
Tested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/bcm5301x.dtsi