mbox series

[0/4] SPMI GPIOs and MPPs on PM/PMI8950

Message ID 20191031103507.30678-1-kholk11@gmail.com (mailing list archive)
Headers show
Series SPMI GPIOs and MPPs on PM/PMI8950 | expand

Message

AngeloGioacchino Del Regno Oct. 31, 2019, 10:35 a.m. UTC
From: AngeloGioacchino Del Regno <kholk11@gmail.com>

This patch series enables support for GPIOs and MPPs found on the
PM8950 and PMI8950 ICs, usually found on boards using the MSM8956,
MSM8976, MSM8952, MSM8953 (and APQ variants) SoC.

These are important to get the PA_THERM, QUIET_THERM MPPs enabled
on PM8950 for standard thermals (and other board specific ones,
where applicable) and GPIOs usually used to enable the audio mclk
path, the wlan sleep clock and sometimes the eLDO for the WCD codec,
plus other board specific paths, where applicable.
For example, on the MSM8956 Sony Xperia Loire platform, this also
includes a GPIO for the USB switch and one for the simple GPIO
controlled vibrator included in all devices for this series of
boards.

This has been tested on Sony Xperia Loire phones, including the
Xperia X Compact (Kugo) and Xperia X (Suzu).

AngeloGioacchino Del Regno (4):
  pinctrl: qcom: spmi-gpio: Add PM/PMI8950 compatibility
  dt-bindings: pinctrl: qcom-pmic-gpio: Add support for PM/PMI8950
  pinctrl: qcom: spmi-mpp: Add PM/PMI8950 compatible strings
  dt-bindings: pinctrl: qcom-pmic-mpp: Add support for PM/PMI8950

 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 4 ++++
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt  | 4 ++++
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c                     | 3 +++
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c                      | 2 ++
 4 files changed, 13 insertions(+)

Comments

Linus Walleij Nov. 5, 2019, 10:20 a.m. UTC | #1
On Thu, Oct 31, 2019 at 11:35 AM <kholk11@gmail.com> wrote:

> From: AngeloGioacchino Del Regno <kholk11@gmail.com>
>
> This patch series enables support for GPIOs and MPPs found on the
> PM8950 and PMI8950 ICs, usually found on boards using the MSM8956,
> MSM8976, MSM8952, MSM8953 (and APQ variants) SoC.
>
> These are important to get the PA_THERM, QUIET_THERM MPPs enabled
> on PM8950 for standard thermals (and other board specific ones,
> where applicable) and GPIOs usually used to enable the audio mclk
> path, the wlan sleep clock and sometimes the eLDO for the WCD codec,
> plus other board specific paths, where applicable.
> For example, on the MSM8956 Sony Xperia Loire platform, this also
> includes a GPIO for the USB switch and one for the simple GPIO
> controlled vibrator included in all devices for this series of
> boards.
>
> This has been tested on Sony Xperia Loire phones, including the
> Xperia X Compact (Kugo) and Xperia X (Suzu).
>
> AngeloGioacchino Del Regno (4):
>   pinctrl: qcom: spmi-gpio: Add PM/PMI8950 compatibility
>   dt-bindings: pinctrl: qcom-pmic-gpio: Add support for PM/PMI8950
>   pinctrl: qcom: spmi-mpp: Add PM/PMI8950 compatible strings
>   dt-bindings: pinctrl: qcom-pmic-mpp: Add support for PM/PMI8950

These patches seem very simple and straight-forward and
noncontroversial so I just applied them.

Stakeholders can complain if they think otherwise.

Yours,
Linus Walleij