Message ID | 20220505022706.1692554-4-bjorn.andersson@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | f041bb3cd77fb68b59cbec8031bfe65eeff15823 |
Headers | show |
Series | arm64: dts: qcom: Add a few LPG LEDs | expand |
On 05/05/2022 05:27, Bjorn Andersson wrote: > The pmi8994 has 4 multi-purpose-pins, add these to the definition. > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > arch/arm64/boot/dts/qcom/pmi8994.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi > index b1b50c99ada2..0dfdd42f6f55 100644 > --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi > +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi > @@ -19,6 +19,16 @@ pmi8994_gpios: gpios@c000 { > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + pmi8994_mpps: mpps@a000 { > + compatible = "qcom,pmi8994-mpp"; > + reg = <0xa000>; > + gpio-controller; > + gpio-ranges = <&pmi8994_mpps 0 0 4>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmic@3 {
diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index b1b50c99ada2..0dfdd42f6f55 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -19,6 +19,16 @@ pmi8994_gpios: gpios@c000 { interrupt-controller; #interrupt-cells = <2>; }; + + pmi8994_mpps: mpps@a000 { + compatible = "qcom,pmi8994-mpp"; + reg = <0xa000>; + gpio-controller; + gpio-ranges = <&pmi8994_mpps 0 0 4>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; }; pmic@3 {
The pmi8994 has 4 multi-purpose-pins, add these to the definition. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> --- arch/arm64/boot/dts/qcom/pmi8994.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)