linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware
@ 2020-11-27 14:22 Guido Günther
  2020-11-27 14:22 ` [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132 Guido Günther
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

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


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

* [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 2/8] arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5 Guido Günther
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

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

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 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


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

* [PATCH v1 2/8] arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
  2020-11-27 14:22 ` [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132 Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 3/8] arm64: defconfig: Enable CONFIG_IMX_DCSS Guido Günther
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This is the Librem 5's LCD panel.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 22c9e65d1ba5..787806d0091b 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -656,6 +656,7 @@ CONFIG_DRM_MSM=m
 CONFIG_DRM_TEGRA=m
 CONFIG_DRM_PANEL_LVDS=m
 CONFIG_DRM_PANEL_SIMPLE=m
+CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m
 CONFIG_DRM_PANEL_RAYDIUM_RM67191=m
 CONFIG_DRM_PANEL_SITRONIX_ST7703=m
 CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
-- 
2.29.2


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

* [PATCH v1 3/8] arm64: defconfig: Enable CONFIG_IMX_DCSS
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
  2020-11-27 14:22 ` [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132 Guido Günther
  2020-11-27 14:22 ` [PATCH v1 2/8] arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5 Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 4/8] arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X Guido Günther
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

Enable the 2nd display controller found on the imx8mq.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 787806d0091b..b2a2e282f7d3 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -671,6 +671,7 @@ CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_I2C_ADV7511_AUDIO=y
 CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
 CONFIG_DRM_DW_HDMI_CEC=m
+CONFIG_DRM_IMX_DCSS=m
 CONFIG_DRM_VC4=m
 CONFIG_DRM_ETNAVIV=m
 CONFIG_DRM_HISI_HIBMC=m
-- 
2.29.2


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

* [PATCH v1 4/8] arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
                   ` (2 preceding siblings ...)
  2020-11-27 14:22 ` [PATCH v1 3/8] arm64: defconfig: Enable CONFIG_IMX_DCSS Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 5/8] arm64: defconfig: Enable CONFIG_LEDS_LM3692X Guido Günther
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This enables the Librem 5's USB-C PD controller.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index b2a2e282f7d3..d87d47d6125a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -780,6 +780,7 @@ CONFIG_TYPEC=m
 CONFIG_TYPEC_TCPM=m
 CONFIG_TYPEC_FUSB302=m
 CONFIG_TYPEC_HD3SS3220=m
+CONFIG_TYPEC_TPS6598X=m
 CONFIG_MMC=y
 CONFIG_MMC_BLOCK_MINORS=32
 CONFIG_MMC_ARMMMCI=y
-- 
2.29.2


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

* [PATCH v1 5/8] arm64: defconfig: Enable CONFIG_LEDS_LM3692X
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
                   ` (3 preceding siblings ...)
  2020-11-27 14:22 ` [PATCH v1 4/8] arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000 Guido Günther
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This is the Librem 5's backlight controller.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index d87d47d6125a..f999c4da8a88 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -810,6 +810,7 @@ CONFIG_MMC_SDHCI_AM654=y
 CONFIG_MMC_OWL=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_LM3692X=m
 CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_PWM=y
 CONFIG_LEDS_SYSCON=y
-- 
2.29.2


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

* [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
                   ` (4 preceding siblings ...)
  2020-11-27 14:22 ` [PATCH v1 5/8] arm64: defconfig: Enable CONFIG_LEDS_LM3692X Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 16:13   ` Krzysztof Kozlowski
  2020-11-27 14:22 ` [PATCH v1 7/8] arm64: defconfig: Enable CONFIG_BATTERY_MAX17042 Guido Günther
  2020-11-27 14:22 ` [PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980 Guido Günther
  7 siblings, 1 reply; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This is the Librem 5's proximity sensor.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f999c4da8a88..de3c11300920 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -985,6 +985,7 @@ CONFIG_IIO_CROS_EC_SENSORS_CORE=m
 CONFIG_IIO_CROS_EC_SENSORS=m
 CONFIG_IIO_CROS_EC_LIGHT_PROX=m
 CONFIG_SENSORS_ISL29018=m
+CONFIG_VCNL4000=m
 CONFIG_IIO_CROS_EC_BARO=m
 CONFIG_MPL3115=m
 CONFIG_PWM=y
-- 
2.29.2


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

* [PATCH v1 7/8] arm64: defconfig: Enable CONFIG_BATTERY_MAX17042
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
                   ` (5 preceding siblings ...)
  2020-11-27 14:22 ` [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000 Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  2020-11-27 14:22 ` [PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980 Guido Günther
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This is the Librem 5's battery chip.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

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


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

* [PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980
  2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
                   ` (6 preceding siblings ...)
  2020-11-27 14:22 ` [PATCH v1 7/8] arm64: defconfig: Enable CONFIG_BATTERY_MAX17042 Guido Günther
@ 2020-11-27 14:22 ` Guido Günther
  7 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 14:22 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Guido Günther, Anson Huang,
	Geert Uytterhoeven, Michael Walle, Krzysztof Kozlowski,
	Olof Johansson, linux-arm-kernel, linux-kernel

This is the Librem 5's charge controller.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 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


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

* Re: [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000
  2020-11-27 14:22 ` [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000 Guido Günther
@ 2020-11-27 16:13   ` Krzysztof Kozlowski
  2020-11-27 16:42     ` Guido Günther
  0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-27 16:13 UTC (permalink / raw)
  To: Guido Günther
  Cc: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Anson Huang, Geert Uytterhoeven,
	Michael Walle, Olof Johansson, linux-arm-kernel, linux-kernel

On Fri, 27 Nov 2020 at 15:23, Guido Günther <agx@sigxcpu.org> wrote:
>
> This is the Librem 5's proximity sensor.

Just squash all of them. Enabling option by option is too much.

Best regards,
Krzysztof

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

* Re: [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000
  2020-11-27 16:13   ` Krzysztof Kozlowski
@ 2020-11-27 16:42     ` Guido Günther
  0 siblings, 0 replies; 11+ messages in thread
From: Guido Günther @ 2020-11-27 16:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Catalin Marinas, Will Deacon, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Anson Huang, Geert Uytterhoeven,
	Michael Walle, Olof Johansson, linux-arm-kernel, linux-kernel

Hi Krzysztof,
On Fri, Nov 27, 2020 at 05:13:58PM +0100, Krzysztof Kozlowski wrote:
> On Fri, 27 Nov 2020 at 15:23, Guido Günther <agx@sigxcpu.org> wrote:
> >
> > This is the Librem 5's proximity sensor.
> 
> Just squash all of them. Enabling option by option is too much.

Done for v2.
Cheers,
 -- Guido

> 
> Best regards,
> Krzysztof
> 

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

end of thread, other threads:[~2020-11-27 16:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 14:22 [PATCH v1 0/8] arm64: defconfig: Enable Librem 5 hardware Guido Günther
2020-11-27 14:22 ` [PATCH v1 1/8] arm64: defconfig: Enable CONFIG_REGULATOR_TPS65132 Guido Günther
2020-11-27 14:22 ` [PATCH v1 2/8] arm64: defconfig: Enable CONFIG_DRM_PANEL_MANTIX_MLAF057WE5 Guido Günther
2020-11-27 14:22 ` [PATCH v1 3/8] arm64: defconfig: Enable CONFIG_IMX_DCSS Guido Günther
2020-11-27 14:22 ` [PATCH v1 4/8] arm64: defconfig: Enable CONFIG_TYPEC_TPS6598X Guido Günther
2020-11-27 14:22 ` [PATCH v1 5/8] arm64: defconfig: Enable CONFIG_LEDS_LM3692X Guido Günther
2020-11-27 14:22 ` [PATCH v1 6/8] arm64: defconfig: Enable CONFIG_VCNL4000 Guido Günther
2020-11-27 16:13   ` Krzysztof Kozlowski
2020-11-27 16:42     ` Guido Günther
2020-11-27 14:22 ` [PATCH v1 7/8] arm64: defconfig: Enable CONFIG_BATTERY_MAX17042 Guido Günther
2020-11-27 14:22 ` [PATCH v1 8/8] arm64: defconfig: Enable CONFIG_CHARGER_BQ25980 Guido Günther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).