linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: defconfig: Enable USB gadget with configfs
@ 2020-08-12 16:33 Krzysztof Kozlowski
  2020-08-12 16:33 ` [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-12 16:33 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Shawn Guo, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Olof Johansson, linux-arm-kernel,
	linux-kernel, devicetree, linux-samsung-soc, arm, soc,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team
  Cc: Krzysztof Kozlowski

USB OTG connections are pretty common for embedded and development
boards, for example to have networking or serial access to the device.
Build as a module the USB gadget configfs options so the defconfig can
be used in such development configurations.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/configs/defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 500b782b92df..2b02a5a179d7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -725,6 +725,17 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_RENESAS_USBHS_UDC=m
 CONFIG_USB_RENESAS_USB3=m
 CONFIG_USB_TEGRA_XUDC=m
+CONFIG_USB_CONFIGFS=m
+CONFIG_USB_CONFIGFS_SERIAL=y
+CONFIG_USB_CONFIGFS_ACM=y
+CONFIG_USB_CONFIGFS_OBEX=y
+CONFIG_USB_CONFIGFS_NCM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
+CONFIG_USB_CONFIGFS_RNDIS=y
+CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+CONFIG_USB_CONFIGFS_F_FS=y
 CONFIG_TYPEC=m
 CONFIG_TYPEC_TCPM=m
 CONFIG_TYPEC_FUSB302=m
-- 
2.17.1


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

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

* [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver
  2020-08-12 16:33 [PATCH 1/2] arm64: defconfig: Enable USB gadget with configfs Krzysztof Kozlowski
@ 2020-08-12 16:33 ` Krzysztof Kozlowski
  2020-08-12 16:39   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-12 16:33 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Shawn Guo, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Olof Johansson, linux-arm-kernel,
	linux-kernel, devicetree, linux-samsung-soc, arm, soc,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team
  Cc: Krzysztof Kozlowski

Enable the extcon driver for NXP PTN5150A chips (CC logic for USB Type-C
applications) present on some of i.MX8 evaluation boards (e.g. Variscite
Symphony board).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2b02a5a179d7..e2346ad6ba90 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -926,6 +926,7 @@ CONFIG_ARCH_TEGRA_194_SOC=y
 CONFIG_ARCH_K3_AM6_SOC=y
 CONFIG_ARCH_K3_J721E_SOC=y
 CONFIG_TI_SCI_PM_DOMAINS=y
+CONFIG_EXTCON_PTN5150=y
 CONFIG_EXTCON_USB_GPIO=y
 CONFIG_EXTCON_USBC_CROS_EC=y
 CONFIG_IIO=y
-- 
2.17.1


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

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

* Re: [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver
  2020-08-12 16:33 ` [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver Krzysztof Kozlowski
@ 2020-08-12 16:39   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-12 16:39 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Shawn Guo, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Olof Johansson, linux-arm-kernel,
	linux-kernel, devicetree, linux-samsung-soc, arm, soc,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team

On Wed, Aug 12, 2020 at 06:33:42PM +0200, Krzysztof Kozlowski wrote:
> Enable the extcon driver for NXP PTN5150A chips (CC logic for USB Type-C
> applications) present on some of i.MX8 evaluation boards (e.g. Variscite
> Symphony board).
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 2b02a5a179d7..e2346ad6ba90 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -926,6 +926,7 @@ CONFIG_ARCH_TEGRA_194_SOC=y
>  CONFIG_ARCH_K3_AM6_SOC=y
>  CONFIG_ARCH_K3_J721E_SOC=y
>  CONFIG_TI_SCI_PM_DOMAINS=y
> +CONFIG_EXTCON_PTN5150=y

Ah, this should be a module. Works as =m as well, so either this could
be fixed while applying or I can send a v2.

Best regards,
Krzysztof


>  CONFIG_EXTCON_USB_GPIO=y
>  CONFIG_EXTCON_USBC_CROS_EC=y
>  CONFIG_IIO=y
> -- 
> 2.17.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] 3+ messages in thread

end of thread, other threads:[~2020-08-12 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-12 16:33 [PATCH 1/2] arm64: defconfig: Enable USB gadget with configfs Krzysztof Kozlowski
2020-08-12 16:33 ` [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver Krzysztof Kozlowski
2020-08-12 16:39   ` Krzysztof Kozlowski

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).