]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line
authorHugh Cole-Baker <sigmaris@gmail.com>
Sat, 21 Sep 2019 13:14:57 +0000 (14:14 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 3 Oct 2019 22:01:31 +0000 (00:01 +0200)
commitfdee34bd0778029e9b775dffb40735a840793d8b
treea79cd0d2762d28d06497bb3e2902aab8f4f1c29d
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line

Fix the pinctrl and interrupt specifier for RK808 to use GPIO3_B2. On the
Rockpro64 schematic [1] page 16, it shows GPIO3_B2 used for the interrupt
line PMIC_INT_L from the RK808, and there's a note which translates as:
"PMU termination GPIO1_C5 changed to this".

Tested by setting an RTC wakealarm and checking /proc/interrupts counters.
Without this patch, neither the rockchip_gpio_irq counter for the RK808,
nor the RTC alarm counter increment when the alarm time is reached.
With this patch, both interrupt counters increment by 1 as expected.

[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf

Fixes: d0b34973932d ("arm64: dts: rockchip: add initial dts support for Rockpro64")
Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
Link: https://lore.kernel.org/r/20190921131457.36258-1-sigmaris@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts