[PATCH v2] arm64: qcom: sbc: Name GPIO lines
From: Bjorn Andersson <hidden>
Date: 2017-10-11 05:54:09
Also in:
linux-arm-msm
On Mon 09 Oct 02:28 PDT 2017, Linus Walleij wrote:
quoted hunk ↗ jump to hunk
This names the GPIO lines on the APQ8016 "SBC" also known as the DragonBoard 410c, according to the schematic. This is necessary for a conforming userspace looking across all GPIO chips for the GPIO lines named "GPIO-A" thru "GPIO-L". Signed-off-by: Linus Walleij <redacted> --- ChangeLog v1->v2: - Put the GPIO line names into the .dtsi file for the SBC as requested. - Put the GPIO line names into the hierarchical SoC DTS structure as requested. - Adjusted legend text to only cover used terminology. - Insert proper comments telling which line on the LSEC or HSEC a certain line is routed to. I don't have this hardware available, you can test it easily by compiling tools/gpio/* and issue "lsgpio" to see the GPIO line names in the console. --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 169 ++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+)diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
[..]
+ "NC", /* GPIO 70 */ + "NC", + "NC", + "NC", + "NC", /* GPIO 74 */
Convenient to know where index 74 is ;P
+ "NC", + "NC", + "NC", + "NC", + "NC", + "BOOT_CONFIG_0", /* GPIO 80 */
Acked-by: Bjorn Andersson <redacted> Regards, Bjorn