public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/4] MediaTek MT6357/8/9 PMIC Auxiliary ADC support
@ 2024-05-30  9:34 AngeloGioacchino Del Regno
  2024-05-30  9:34 ` [PATCH v1 1/4] dt-bindings: iio: adc: Add MediaTek MT6359 PMIC AUXADC AngeloGioacchino Del Regno
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-05-30  9:34 UTC (permalink / raw)
  To: jic23
  Cc: lars, robh, krzk+dt, conor+dt, matthias.bgg,
	angelogioacchino.delregno, lee, andy, nuno.sa, bigunclemax,
	dlechner, marius.cristea, marcelo.schmitt, fr0st61te,
	mitrutzceclan, mike.looijmans, marcus.folkesson, linux-iio,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	kernel

This series adds support for the Auxiliary ADC IP found on the MediaTek
MT635(x) PMICs, including MT6357, 6358 and 6359, exposing various ADC
channels for accessory detection (usually, on 3.5mm jack), battery
voltage, PMIC temperature, PMIC-integrated voltage regulators, and
others, depending on the PMIC model.

AngeloGioacchino Del Regno (4):
  dt-bindings: iio: adc: Add MediaTek MT6359 PMIC AUXADC
  iio: adc: Add support for MediaTek MT6357/8/9 Auxiliary ADC
  mfd: mt6397-core: Add support for AUXADCs on MT6357/58/59 PMICs
  arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs

 .../iio/adc/mediatek,mt6359-auxadc.yaml       |  43 ++
 arch/arm64/boot/dts/mediatek/mt6357.dtsi      |   5 +
 arch/arm64/boot/dts/mediatek/mt6358.dtsi      |   5 +
 arch/arm64/boot/dts/mediatek/mt6359.dtsi      |   5 +
 drivers/iio/adc/Kconfig                       |  12 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/mt6359-auxadc.c               | 598 ++++++++++++++++++
 drivers/mfd/mt6397-core.c                     |  10 +
 .../iio/adc/mediatek,mt6357-auxadc.h          |  21 +
 .../iio/adc/mediatek,mt6358-auxadc.h          |  22 +
 .../iio/adc/mediatek,mt6359-auxadc.h          |  22 +
 11 files changed, 744 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml
 create mode 100644 drivers/iio/adc/mt6359-auxadc.c
 create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6357-auxadc.h
 create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6358-auxadc.h
 create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6359-auxadc.h

-- 
2.45.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-06-06 19:52 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  9:34 [PATCH v1 0/4] MediaTek MT6357/8/9 PMIC Auxiliary ADC support AngeloGioacchino Del Regno
2024-05-30  9:34 ` [PATCH v1 1/4] dt-bindings: iio: adc: Add MediaTek MT6359 PMIC AUXADC AngeloGioacchino Del Regno
2024-06-01 15:32   ` Krzysztof Kozlowski
2024-06-04  8:55     ` AngeloGioacchino Del Regno
2024-06-04  9:38       ` Krzysztof Kozlowski
2024-06-04 12:24         ` AngeloGioacchino Del Regno
2024-06-02  9:40   ` Jonathan Cameron
2024-06-04  9:04     ` AngeloGioacchino Del Regno
2024-06-06 19:40       ` Jonathan Cameron
2024-05-30  9:34 ` [PATCH v1 2/4] iio: adc: Add support for MediaTek MT6357/8/9 Auxiliary ADC AngeloGioacchino Del Regno
2024-05-30 13:34   ` Andy Shevchenko
2024-06-04 10:38     ` AngeloGioacchino Del Regno
2024-06-04 11:05       ` Andy Shevchenko
2024-06-04 11:56         ` AngeloGioacchino Del Regno
2024-06-02 10:11   ` Jonathan Cameron
2024-06-04  9:42     ` AngeloGioacchino Del Regno
2024-06-04 10:55       ` Andy Shevchenko
2024-06-04 11:20         ` Andy Shevchenko
2024-06-04 11:57         ` AngeloGioacchino Del Regno
2024-06-06 19:51       ` Jonathan Cameron
2024-05-30  9:34 ` [PATCH v1 3/4] mfd: mt6397-core: Add support for AUXADCs on MT6357/58/59 PMICs AngeloGioacchino Del Regno
2024-05-31 17:05   ` (subset) " Lee Jones
2024-05-30  9:34 ` [PATCH v1 4/4] arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox