* [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels
@ 2023-01-11 16:03 Johan Hovold
2023-01-11 16:03 ` [PATCH v2 1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include Johan Hovold
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2023-01-11 16:03 UTC (permalink / raw)
To: Bjorn Andersson, Andy Gross
Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Eric Chanudet,
Andrew Halaney, Brian Masney, linux-arm-msm, devicetree,
linux-kernel, Johan Hovold
These patches add a missing include to the new sa8540p-pmics dtsi and
rename the PMIC labels so that they reflect the actual name of the
PMICs.
Johan
Changes in v2
- fix patch summary prefix (Eric)
Johan Hovold (2):
arm64: dts: qcom: sa8540p-pmics: add missing interrupt include
arm64: dts: qcom: sa8540p-pmics: rename pmic labels
arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi | 25 +++++++++++----------
1 file changed, 13 insertions(+), 12 deletions(-)
--
2.38.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include
2023-01-11 16:03 [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
@ 2023-01-11 16:03 ` Johan Hovold
2023-01-11 16:03 ` [PATCH v2 2/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
2023-01-11 19:49 ` [PATCH v2 0/2] " Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Johan Hovold @ 2023-01-11 16:03 UTC (permalink / raw)
To: Bjorn Andersson, Andy Gross
Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Eric Chanudet,
Andrew Halaney, Brian Masney, linux-arm-msm, devicetree,
linux-kernel, Johan Hovold
Add the missing interrupt-controller include which is needed by the RTC
node.
Reviewed-by: Brian Masney <bmasney@redhat.com>
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
index c9b8da43b237..8c393f0bd6a8 100644
--- a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
@@ -4,6 +4,7 @@
* Copyright (c) 2022, Linaro Limited
*/
+#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
--
2.38.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels
2023-01-11 16:03 [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
2023-01-11 16:03 ` [PATCH v2 1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include Johan Hovold
@ 2023-01-11 16:03 ` Johan Hovold
2023-01-11 19:49 ` [PATCH v2 0/2] " Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Johan Hovold @ 2023-01-11 16:03 UTC (permalink / raw)
To: Bjorn Andersson, Andy Gross
Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Eric Chanudet,
Andrew Halaney, Brian Masney, linux-arm-msm, devicetree,
linux-kernel, Johan Hovold
The SA8540P PMICs are named PMM8540. Rename the devicetree source labels
to reflect this.
Reviewed-by: Brian Masney <bmasney@redhat.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi | 24 ++++++++++-----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
index 8c393f0bd6a8..1221be89b3de 100644
--- a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi
@@ -8,7 +8,7 @@
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
- pm8450a: pmic@0 {
+ pmm8540a: pmic@0 {
compatible = "qcom,pm8150", "qcom,spmi-pmic";
reg = <0x0 SPMI_USID>;
#address-cells = <1>;
@@ -22,62 +22,62 @@ rtc@6000 {
wakeup-source;
};
- pm8450a_gpios: gpio@c000 {
+ pmm8540a_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
- gpio-ranges = <&pm8450a_gpios 0 0 10>;
+ gpio-ranges = <&pmm8540a_gpios 0 0 10>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
- pm8450c: pmic@4 {
+ pmm8540c: pmic@4 {
compatible = "qcom,pm8150", "qcom,spmi-pmic";
reg = <0x4 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
- pm8450c_gpios: gpio@c000 {
+ pmm8540c_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
- gpio-ranges = <&pm8450c_gpios 0 0 10>;
+ gpio-ranges = <&pmm8540c_gpios 0 0 10>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
- pm8450e: pmic@8 {
+ pmm8540e: pmic@8 {
compatible = "qcom,pm8150", "qcom,spmi-pmic";
reg = <0x8 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
- pm8450e_gpios: gpio@c000 {
+ pmm8540e_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
- gpio-ranges = <&pm8450e_gpios 0 0 10>;
+ gpio-ranges = <&pmm8540e_gpios 0 0 10>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
- pm8450g: pmic@c {
+ pmm8540g: pmic@c {
compatible = "qcom,pm8150", "qcom,spmi-pmic";
reg = <0xc SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
- pm8450g_gpios: gpio@c000 {
+ pmm8540g_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
- gpio-ranges = <&pm8450g_gpios 0 0 10>;
+ gpio-ranges = <&pmm8540g_gpios 0 0 10>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
--
2.38.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels
2023-01-11 16:03 [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
2023-01-11 16:03 ` [PATCH v2 1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include Johan Hovold
2023-01-11 16:03 ` [PATCH v2 2/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
@ 2023-01-11 19:49 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2023-01-11 19:49 UTC (permalink / raw)
To: johan+linaro, agross
Cc: krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, echanude,
devicetree, ahalaney, konrad.dybcio, bmasney, robh+dt
On Wed, 11 Jan 2023 17:03:33 +0100, Johan Hovold wrote:
> These patches add a missing include to the new sa8540p-pmics dtsi and
> rename the PMIC labels so that they reflect the actual name of the
> PMICs.
>
> Johan
>
>
> [...]
Applied, thanks!
[1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include
commit: 32c028fccb120603368c4f2aaac44376b4a1a21e
[2/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels
commit: aab961de74f10968ea67f42c0ca7c5cd866df3ec
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-01-11 19:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 16:03 [PATCH v2 0/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
2023-01-11 16:03 ` [PATCH v2 1/2] arm64: dts: qcom: sa8540p-pmics: add missing interrupt include Johan Hovold
2023-01-11 16:03 ` [PATCH v2 2/2] arm64: dts: qcom: sa8540p-pmics: rename pmic labels Johan Hovold
2023-01-11 19:49 ` [PATCH v2 0/2] " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).