2020-11-27 14:27:07

by Guido Günther

[permalink] [raw]
Subject: [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware

This series enables components found on Purism's Librem 5
that are available in mainline. I've split this up in one
setting per commit so in case other defconfig changes conflict
the rest remains valid. Happy to squash things if preferred.

Patches are on top of Shawn's imx/defconfig

Guido Günther (8):
arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132
arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5
arm64: defconfig: Enable CONFIG_IMX_DCSS
arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X
arm64: defconfig: Enable CONFIG_LEDS_LM3692X
arm64: defconfig: Enable CONFIG_VCNL4000
arm64: defconfig: Enable CONFIG_BATTERY_MAX17042
arm64: defconfig: Enable CONFIG_CHARGER_BQ25980

arch/arm64/configs/defconfig | 8 ++++++++
1 file changed, 8 insertions(+)

--
2.29.2


2020-11-27 14:28:09

by Guido Günther

[permalink] [raw]
Subject: [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132

This is used by the Librem 5 to supply power to the panel.

Signed-off-by: Guido Günther <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 270d326d5f28..22c9e65d1ba5 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -595,6 +595,7 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=y
CONFIG_REGULATOR_QCOM_SPMI=y
CONFIG_REGULATOR_RK808=y
CONFIG_REGULATOR_S2MPS11=y
+CONFIG_REGULATOR_TPS65132=m
CONFIG_REGULATOR_VCTRL=m
CONFIG_RC_CORE=m
CONFIG_RC_DECODERS=y
--
2.29.2

2020-11-27 14:28:40

by Guido Günther

[permalink] [raw]
Subject: [PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980

This is the Librem 5's charge controller.

Signed-off-by: Guido Günther <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 0ac1ff5cccd6..5e36344203e0 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -522,6 +522,7 @@ CONFIG_SYSCON_REBOOT_MODE=y
CONFIG_BATTERY_SBS=m
CONFIG_BATTERY_BQ27XXX=y
CONFIG_BATTERY_MAX17042=m
+CONFIG_CHARGER_BQ25980=m
CONFIG_SENSORS_ARM_SCPI=y
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_PWM_FAN=m
--
2.29.2