Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: witherspoon: Add gpio line names

Name the GPIOs to help userspace work with them. The names describe the
functionality the lines provide, not the net or ball name. This makes it
easier to share userspace code across different systems and makes the
use of the lines more obvious.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Andrew Geissler and committed by
Joel Stanley
d5ece55c c998f40f

+34
+34
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
··· 191 191 192 192 }; 193 193 194 + &gpio { 195 + gpio-line-names = 196 + /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","", 197 + /*B0-B7*/ "","","","","","air-water","","", 198 + /*C0-C7*/ "","","","","","","","", 199 + /*D0-D7*/ "fsi-enable","","","","","","","", 200 + /*E0-E7*/ "fsi-data","","","","","","","", 201 + /*F0-F7*/ "","","","","","","","", 202 + /*G0-G7*/ "","","","","","","","", 203 + /*H0-H7*/ "","","","","","","","", 204 + /*I0-I7*/ "","","","","","","","", 205 + /*J0-J7*/ "","","checkstop","","","","","", 206 + /*K0-K7*/ "","","","","","","","", 207 + /*L0-L7*/ "","","","","","","","", 208 + /*M0-M7*/ "","","","","","","","", 209 + /*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power", 210 + "led-rear-id","","","", 211 + /*O0-O7*/ "","","","","","","","", 212 + /*P0-P7*/ "","","","","","","","presence-ps0", 213 + /*Q0-Q7*/ "","","","","","","","", 214 + /*R0-R7*/ "","","fsi-trans","","","power-button","","", 215 + /*S0-S7*/ "","","","","","","","", 216 + /*T0-T7*/ "","","","","","","","", 217 + /*U0-U7*/ "","","","","","","","", 218 + /*V0-V7*/ "","","","","","","","", 219 + /*W0-W7*/ "","","","","","","","", 220 + /*X0-X7*/ "","","","","","","","", 221 + /*Y0-Y7*/ "","","","","","","","", 222 + /*Z0-Z7*/ "","","","","","","","", 223 + /*AA0-AA7*/ "fsi-clock","","","","","","","", 224 + /*AB0-AB7*/ "","","","","","","","", 225 + /*AC0-AC7*/ "","","","","","","",""; 226 + }; 227 + 194 228 &fmc { 195 229 status = "okay"; 196 230