public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Add driver for EC found on Qualcomm reference devices
@ 2026-03-13 10:29 Anvesh Jain P
  2026-03-13 10:29 ` [PATCH v4 1/5] dt-bindings: embedded-controller: Add EC bindings for " Anvesh Jain P
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Anvesh Jain P @ 2026-03-13 10:29 UTC (permalink / raw)
  To: Sibi Sankar, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue,
	Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, devicetree, linux-kernel, platform-driver-x86,
	Anvesh Jain P, Maya Matuszczyk

From: Anvesh Jain P <anvesh.p@oss.qualcomm.com>

Add Embedded controller driver support for Hamoa/Purwa/Glymur Qualcomm
reference boards. It handles fan control, temperature sensors, access
to EC state changes and supports reporting suspend entry/exit to the EC.

---
Changes in v4:
  - Fix fan count calculation to use min() instead of max() to correctly
    cap fan_cnt at EC_MAX_FAN_CNT.
  - Remove unnecessary mutex lock/unlock.
  - Disable fan debug mode on ec module removal.
  - Fix issue reported by kernel test robot.
  - Consolidate hamoa-iot-evk specific changes into hamoa-iot-evk.dts.
  - Add board-specific compatible strings as per review comments.
  - Link to v3: https://lore.kernel.org/all/20260308233646.2318676-1-sibi.sankar@oss.qualcomm.com/

Changes in v3:
  - Revamp the bindings and driver to support generic ec specification
    that works across Qualcomm Hamoa/Purwa and Glymur reference devices.
  - Add ec nodes to Hamoa/Purwa CRDs and IOT-EVKs.
  - Add ec node to Glymur CRDs.
  - Link to v2: https://lore.kernel.org/lkml/20241219200821.8328-1-maccraft123mc@gmail.com/
  - Link to v1: https://lore.kernel.org/lkml/20240927185345.3680-1-maccraft123mc@gmail.com/

---
Maya Matuszczyk (1):
      dt-bindings: embedded-controller: Add EC bindings for Qualcomm reference devices

Sibi Sankar (4):
      platform: arm64: Add driver for EC found on Qualcomm reference devices
      arm64: dts: qcom: glymur-crd: Add Embedded controller node
      arm64: dts: qcom: x1-crd: Add Embedded controller node
      arm64: dts: qcom: hamoa-iot-evk: Add Embedded controller node

 .../embedded-controller/qcom,hamoa-ec.yaml         |  56 +++
 MAINTAINERS                                        |   8 +
 arch/arm64/boot/dts/qcom/glymur-crd.dts            |  22 +
 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts         |  16 +
 arch/arm64/boot/dts/qcom/x1-crd.dtsi               |  16 +
 drivers/platform/arm64/Kconfig                     |  12 +
 drivers/platform/arm64/Makefile                    |   1 +
 drivers/platform/arm64/qcom-hamoa-ec.c             | 468 +++++++++++++++++++++
 8 files changed, 599 insertions(+)
---
base-commit: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
change-id: 20260309-v04-add-driver-for-ec-3fa478f264d9

Best regards,
-- 
Anvesh Jain P <anvesh.p@oss.qualcomm.com>


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

end of thread, other threads:[~2026-03-16 17:29 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 10:29 [PATCH v4 0/5] Add driver for EC found on Qualcomm reference devices Anvesh Jain P
2026-03-13 10:29 ` [PATCH v4 1/5] dt-bindings: embedded-controller: Add EC bindings for " Anvesh Jain P
2026-03-13 19:01   ` Krzysztof Kozlowski
2026-03-16  9:37     ` Anvesh Jain P
2026-03-13 10:29 ` [PATCH v4 2/5] platform: arm64: Add driver for EC found on " Anvesh Jain P
2026-03-13 12:17   ` Bryan O'Donoghue
2026-03-13 14:13     ` Anvesh Jain P
2026-03-13 14:35   ` Dmitry Baryshkov
2026-03-13 17:24     ` Anvesh Jain P
2026-03-13 19:05   ` Krzysztof Kozlowski
2026-03-16  9:43     ` Anvesh Jain P
2026-03-16 10:27   ` Konrad Dybcio
2026-03-16 17:07     ` Anvesh Jain P
2026-03-16 10:29   ` Konrad Dybcio
2026-03-16 17:20     ` Anvesh Jain P
2026-03-16 13:23   ` kernel test robot
2026-03-16 17:28   ` kernel test robot
2026-03-13 10:29 ` [PATCH v4 3/5] arm64: dts: qcom: glymur-crd: Add Embedded controller node Anvesh Jain P
2026-03-13 15:49   ` Dmitry Baryshkov
2026-03-16 10:46   ` Konrad Dybcio
2026-03-13 10:29 ` [PATCH v4 4/5] arm64: dts: qcom: x1-crd: " Anvesh Jain P
2026-03-13 15:49   ` Dmitry Baryshkov
2026-03-16 10:45   ` Konrad Dybcio
2026-03-13 10:29 ` [PATCH v4 5/5] arm64: dts: qcom: hamoa-iot-evk: " Anvesh Jain P
2026-03-13 15:49   ` Dmitry Baryshkov
2026-03-16 10:45   ` Konrad Dybcio
2026-03-13 12:18 ` [PATCH v4 0/5] Add driver for EC found on Qualcomm reference devices Bryan O'Donoghue
2026-03-13 13:15   ` Anvesh Jain P
2026-03-13 16:26     ` Bryan O'Donoghue
2026-03-13 17:17       ` Dmitry Baryshkov
2026-03-14  4:09         ` Bryan O'Donoghue
2026-03-16 10:22           ` Anvesh Jain P
2026-03-16 13:31             ` Bryan O'Donoghue

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