All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] power: supply: Acer Aspire 1 embedded controller
@ 2023-12-12 12:49 Nikita Travkin
  2023-12-12 12:49 ` [PATCH v2 1/3] dt-bindings: power: supply: Add Acer Aspire 1 EC Nikita Travkin
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Nikita Travkin @ 2023-12-12 12:49 UTC (permalink / raw)
  To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, cros-qcom-dts-watchers, Andy Gross,
	Bjorn Andersson, Konrad Dybcio
  Cc: linux-pm, devicetree, linux-kernel, linux-arm-msm, Nikita Travkin

The laptop contains an embedded controller that provides a set of
features:

- Battery and charger monitoring
- USB Type-C DP alt mode HPD monitoring
- Lid status detection
- Small amount of keyboard configuration*

[*] The keyboard is handled by the same EC but it has a dedicated i2c
bus and is already enabled. This port only provides fn key behavior
configuration.

Unfortunately, while all this functionality is implemented in ACPI, it's
currently not possible to use ACPI to boot Linux on such Qualcomm
devices. Thus this series implements and enables a new driver that
provides support for the EC features.

The EC would be one of the last pieces to get almost full support for the
Acer Aspire 1 laptop in the upstream Linux kernel.

This series is similar to the EC driver for Lenovo Yoga C630, proposed
in [1] but seemingly never followed up...

[1] https://lore.kernel.org/all/20230205152809.2233436-1-dmitry.baryshkov@linaro.org/

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
Changes in v2:
- Drop incorrectly allowed reg in the ec connector binding (Krzysztof)
- Minor style changes (Konrad)
- Link to v1: https://lore.kernel.org/r/20231207-aspire1-ec-v1-0-ba9e1c227007@trvn.ru

---
Nikita Travkin (3):
      dt-bindings: power: supply: Add Acer Aspire 1 EC
      power: supply: Add Acer Aspire 1 embedded controller driver
      arm64: dts: qcom: acer-aspire1: Add embedded controller

 .../bindings/power/supply/acer,aspire1-ec.yaml     |  67 ++++
 arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts   |  40 +-
 drivers/power/supply/Kconfig                       |  14 +
 drivers/power/supply/Makefile                      |   1 +
 drivers/power/supply/acer-aspire1-ec.c             | 433 +++++++++++++++++++++
 5 files changed, 554 insertions(+), 1 deletion(-)
---
base-commit: abb240f7a2bd14567ab53e602db562bb683391e6
change-id: 20231206-aspire1-ec-6b3d2cac1a72

Best regards,
-- 
Nikita Travkin <nikita@trvn.ru>


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

end of thread, other threads:[~2024-02-23 13:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12 12:49 [PATCH v2 0/3] power: supply: Acer Aspire 1 embedded controller Nikita Travkin
2023-12-12 12:49 ` [PATCH v2 1/3] dt-bindings: power: supply: Add Acer Aspire 1 EC Nikita Travkin
2023-12-12 17:24   ` Conor Dooley
2023-12-13  5:44     ` Nikita Travkin
2023-12-14 22:02   ` Rob Herring
2023-12-15  5:29     ` Nikita Travkin
2024-01-28  6:22       ` Nikita Travkin
2024-02-23  4:52       ` Rob Herring
2024-02-23 13:45         ` Nikita Travkin
2023-12-12 12:49 ` [PATCH v2 2/3] power: supply: Add Acer Aspire 1 embedded controller driver Nikita Travkin
2023-12-12 12:49 ` [PATCH v2 3/3] arm64: dts: qcom: acer-aspire1: Add embedded controller Nikita Travkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.