]> git.baikalelectronics.ru Git - kernel.git/commit
ARM64: dts: meson: add comments with the GPIO for the PHY interrupts
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 2 Dec 2017 21:40:36 +0000 (22:40 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 8 Dec 2017 18:46:33 +0000 (10:46 -0800)
commit50290cfe50bd94deb221731a25347d0ac12d9f40
treec7f417cbff54bf55f732e7fe684b4ce522931d07
parent0cb6c604232ccb6bbbd148c7451f99f9101b46d7
ARM64: dts: meson: add comments with the GPIO for the PHY interrupts

Currently one has to look/calculate the GPIO for the PHY interrupts
manually. Add a comment for the existing PHY interrupt lines to make it
easier to find out which GPIO is used.
This is done using the following calculation:
- number of GPIO AO pins (14 on GXBB: GPIOAO_0..13)
- add the offset of the pin which is used for the interrupt (for example
  GPIOZ_15 = 15 on Odroid-C2)

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-By: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts