mbox series

[v2,0/3] qcom: add support for SPMI PMICs found on SM8550 platforms

Message ID 20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org
Headers show
Series qcom: add support for SPMI PMICs found on SM8550 platforms | expand

Message

Neil Armstrong Nov. 18, 2022, 8:24 a.m. UTC
The SM8550 based platforms sports a bunch of new PMICs:
- pm8550
- pm8550b
- pm8550ve
- pm8550vs
- pmk8550
- pmr735d
- pm8010

With GPIO support on:
- pm8550
- pm8550b
- pm8550ve
- pm8550vs
- pmk8550
- pmr735d

This documents bindings for those SPMI PMIC and adds compatible in the
PMIC pinctrl driver for GPIO support.

To: Andy Gross <agross@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@somainline.org>
To: Lee Jones <lee@kernel.org>
To: Rob Herring <robh+dt@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
To: Stephen Boyd <sboyd@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>

---
Changes in v2:
- Squashed patch 3 & 2 into 1, added Reviewed-by from Krzysztof
- Squashed patch 5 into 4, added Reviewed-by from Krzysztof
- Squashed patch 7 into 6, added Reviewed-by from Konrad
- Link to v1: https://lore.kernel.org/r/20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org

---
Neil Armstrong (3):
      dt-bindings: mfd: qcom,spmi-pmic: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550, pm8010 & pmr735d
      dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d
      pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control

 .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml        |  7 +++++++
 .../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml    | 18 ++++++++++++++++++
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c               |  6 ++++++
 3 files changed, 31 insertions(+)
---
base-commit: 8274e19d9db1019f8fac39cf46da6680513fd5d3
change-id: 20221114-narmstrong-sm8550-upstream-spmi-d2c999ec5dc1

Best regards,

Comments

Neil Armstrong Jan. 2, 2023, 10:26 a.m. UTC | #1
On 18/11/2022 09:24, Neil Armstrong wrote:
> The SM8550 based platforms sports a bunch of new PMICs:
> - pm8550
> - pm8550b
> - pm8550ve
> - pm8550vs
> - pmk8550
> - pmr735d
> - pm8010
> 
> With GPIO support on:
> - pm8550
> - pm8550b
> - pm8550ve
> - pm8550vs
> - pmk8550
> - pmr735d
> 
> This documents bindings for those SPMI PMIC and adds compatible in the
> PMIC pinctrl driver for GPIO support.
> 
> To: Andy Gross <agross@kernel.org>
> To: Bjorn Andersson <andersson@kernel.org>
> To: Konrad Dybcio <konrad.dybcio@somainline.org>
> To: Lee Jones <lee@kernel.org>
> To: Rob Herring <robh+dt@kernel.org>
> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> To: Stephen Boyd <sboyd@kernel.org>
> To: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-arm-msm@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> 
> ---
> Changes in v2:
> - Squashed patch 3 & 2 into 1, added Reviewed-by from Krzysztof
> - Squashed patch 5 into 4, added Reviewed-by from Krzysztof
> - Squashed patch 7 into 6, added Reviewed-by from Konrad
> - Link to v1: https://lore.kernel.org/r/20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org
> 
> ---
> Neil Armstrong (3):
>        dt-bindings: mfd: qcom,spmi-pmic: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550, pm8010 & pmr735d
>        dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d
>        pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control
> 
>   .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml        |  7 +++++++
>   .../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml    | 18 ++++++++++++++++++
>   drivers/pinctrl/qcom/pinctrl-spmi-gpio.c               |  6 ++++++
>   3 files changed, 31 insertions(+)
> ---
> base-commit: 8274e19d9db1019f8fac39cf46da6680513fd5d3
> change-id: 20221114-narmstrong-sm8550-upstream-spmi-d2c999ec5dc1
> 
> Best regards,

Gentle ping,

Thanks,
Neil
Linus Walleij Jan. 9, 2023, 2:18 p.m. UTC | #2
On Fri, Nov 18, 2022 at 9:24 AM Neil Armstrong
<neil.armstrong@linaro.org> wrote:

>       dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d
>       pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control

These two patches applied to the pinctrl tree!

Yours,
Linus Walleij
Neil Armstrong Jan. 9, 2023, 3:16 p.m. UTC | #3
On 09/01/2023 15:18, Linus Walleij wrote:
> On Fri, Nov 18, 2022 at 9:24 AM Neil Armstrong
> <neil.armstrong@linaro.org> wrote:
> 
>>        dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d
>>        pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control
> 
> These two patches applied to the pinctrl tree!

Thanks !

> 
> Yours,
> Linus Walleij