[PATCH 0/2] arm64: dts: ti: k3-am62p/j722s: Add gpio-reserved-ranges for main_gpio1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx/

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





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux