mbox series

[v2,0/6] arm64: dts: qcom: msm8956-loire: SDCard and USB support

Message ID 20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org
Headers show
Series arm64: dts: qcom: msm8956-loire: SDCard and USB support | expand

Message

Marijn Suijten Jan. 21, 2024, 10:33 p.m. UTC
Add pinctrl nodes to enable SD Cards to work on the Sony Loire platform,
and define extcon nodes in PMI8950 to feed into the ci-hdrc driver as it
cannot figure out the presence of a USB cable (nor the desired role
based on the ID pin) on its own.  While at it, extend PMI8950 with some
more channels with now-available VADC_ register constants.

Depends on:
- dt-bindings: iio: qcom-spmi-vadc: Add definitions for USB DP/DM VADCs:
  https://lore.kernel.org/linux-arm-msm/20221111120156.48040-2-angelogioacchino.delregno@collabora.com/

Changes since v1:
- Moved pinctrl-names before pinctrl-N (Konrad);
- Keep status=okay last in OTG node (Konrad);
- Rename `adc-chan@` node names to `channel@` (my own patch from a long
  time ago).

v1: https://lore.kernel.org/linux-arm-msm/60a40ace-d4e9-df74-88f9-4354d80efaac@linaro.org/

Marijn Suijten (6):
  arm64: dts: qcom: pmi8950: Add USB vbus and id sensing nodes
  arm64: dts: qcom: msm8956-loire: Add usb vbus and id extcons to
    ci-hdrc
  arm64: dts: qcom: pmi8950: Add missing ADC channels
  arm64: dts: qcom: msm8976: Declare and use SDC1 pins
  arm64: dts: qcom: msm8976: Declare and use SDC2 pins
  arm64: dts: qcom: msm8956-loire: Add SD Card Detect to SDC2 pin states

 .../qcom/msm8956-sony-xperia-loire-kugo.dts   |   6 ++
 .../dts/qcom/msm8956-sony-xperia-loire.dtsi   |  25 +++++
 arch/arm64/boot/dts/qcom/msm8976.dtsi         | 100 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/pmi8950.dtsi         |  38 +++++++
 4 files changed, 169 insertions(+)

--
2.39.0

---
Marijn Suijten (6):
      arm64: dts: qcom: pmi8950: Add USB vbus and id sensing nodes
      arm64: dts: qcom: msm8956-loire: Add usb vbus and id extcons to ci-hdrc
      arm64: dts: qcom: pmi8950: Add missing ADC channels
      arm64: dts: qcom: msm8976: Declare and use SDC1 pins
      arm64: dts: qcom: msm8976: Declare and use SDC2 pins
      arm64: dts: qcom: msm8956-loire: Add SD Card Detect to SDC2 pin states

 .../dts/qcom/msm8956-sony-xperia-loire-kugo.dts    |   6 ++
 .../boot/dts/qcom/msm8956-sony-xperia-loire.dtsi   |  25 ++++++
 arch/arm64/boot/dts/qcom/msm8976.dtsi              | 100 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/pmi8950.dtsi              |  38 ++++++++
 4 files changed, 169 insertions(+)
---
base-commit: ad5c60d66016e544c51ed98635a74073f761f45d
change-id: 20240121-msm8976-dt-73f42eeef1bc

Best regards,