mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

The gpio node in PMIC dts'es define access to multiple GPIOs. Most Qcom PMICs were already using the plural _gpios label to point to this node, but a few PMICs were left behind including the recently-pulled pm(i)8950. Rename it from *_gpio to *_gpios for pm6125, pm6150(l), pm8005, pm(i)8950, and pm(i)8998. Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221209220450.1793421-1-marijn.suijten@somainline.org
37 lines
798 B
Plaintext
37 lines
798 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/* Copyright 2018 Google LLC. */
|
|
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
&spmi_bus {
|
|
pm8005_lsid0: pmic@4 {
|
|
compatible = "qcom,pm8005", "qcom,spmi-pmic";
|
|
reg = <0x4 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8005_gpios: gpio@c000 {
|
|
compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
|
|
reg = <0xc000>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pm8005_gpios 0 0 4>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
};
|
|
|
|
pm8005_lsid1: pmic@5 {
|
|
compatible = "qcom,pm8005", "qcom,spmi-pmic";
|
|
reg = <0x5 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8005_regulators: regulators {
|
|
compatible = "qcom,pm8005-regulators";
|
|
};
|
|
};
|
|
};
|