[PATCH 0/2] arm64: dts: ti: k3-am62p/j722s: Add gpio-reserved-ranges for main_gpio1
Jared McArthur
j-mcarthur at ti.com
Fri Aug 9 09:28:26 PDT 2024
Hi,
The current main_gpio1 gpio controllers for the am62p and
j722s have holes that are not obvious to a user. Add the
gpio-reserved-ranges property to the davinci-gpio properties list and
add gpio-reserved-ranges to the am62p and j722s device trees. Prevents
users from trying to access gpios that don't exist.
The holes are taken from the am62p datasheet [1] (Table 5-24) and
am67x datasheet [2] (Table 5-27).
Patches depend on patch: dt-bindings: gpio: gpio-davinci: Add the
gpio-reserved-ranges property [3]
[1] https://www.ti.com/lit/ds/symlink/am62p.pdf
[2] https://www.ti.com/lit/ds/symlink/am67.pdf
[3] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/
Best,
Jared McArthur
Jared McArthur (2):
arm64: dts: ti: k3-am62p: Add gpio-reserved-ranges for main_gpio1
arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 +
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 1 +
2 files changed, 2 insertions(+)
--
2.34.1
More information about the linux-arm-kernel
mailing list