projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188e26b
)
arm64: dts: qcom: pm8953: add GPIOs
author
Luca Weiss
<luca@z3ntu.xyz>
Fri, 21 Apr 2023 21:56:22 +0000
(23:56 +0200)
committer
Bjorn Andersson
<andersson@kernel.org>
Thu, 25 May 2023 04:50:46 +0000
(21:50 -0700)
Add a node for the GPIOs found on the pm8953.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link:
https://lore.kernel.org/r/20230421-pm8953-gpio-v1-3-3d33e2de47e3@z3ntu.xyz
arch/arm64/boot/dts/qcom/pm8953.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/qcom/pm8953.dtsi
b/arch/arm64/boot/dts/qcom/pm8953.dtsi
index a1d36f9ebbd259e41a80e3af516d9a044419afe0..2268daf27fa7afc028d9a244f6c03a31375aecd8 100644
(file)
--- a/
arch/arm64/boot/dts/qcom/pm8953.dtsi
+++ b/
arch/arm64/boot/dts/qcom/pm8953.dtsi
@@
-79,6
+79,16
@@
reg-names = "rtc", "alarm";
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
};
+
+ pm8953_gpios: gpio@c000 {
+ compatible = "qcom,pm8953-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ gpio-ranges = <&pm8953_gpios 0 0 8>;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
};
pmic@1 {