From patchwork Wed Aug 12 16:33:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11711001 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5EF12618 for ; Wed, 12 Aug 2020 16:33:53 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 58E5420829; Wed, 12 Aug 2020 16:33:53 +0000 (UTC) Delivered-To: soc@kernel.org Received: from localhost.localdomain (unknown [194.230.155.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 661DF2076B; Wed, 12 Aug 2020 16:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597250033; bh=rUJhFNXDnVmwColLvrth5573fL1t+WqQxOOcDFDs9Ck=; h=From:List-Id:To:Cc:Subject:Date:From; b=kW7PTwlK6ycQkVf/OwpyLInXZhUOyF+Pjjwpp59V+D7pTytRAcnbJ73Dms/CzIdef s9fjDFGbVzjwoBTI3mUl41qhHQyblqfTdrtFtXLEFrpOJ0ULmtORVAtczUn5ZrOPkA TBbqXl+xhmZn/uKafs6Y9XGHsHrZPoysfiYGGg0w= From: Krzysztof Kozlowski List-Id: To: Catalin Marinas , Will Deacon , Shawn Guo , Li Yang , Arnd Bergmann , Geert Uytterhoeven , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, arm@kernel.org, soc@kernel.org, Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: defconfig: Enable USB gadget with configfs Date: Wed, 12 Aug 2020 18:33:41 +0200 Message-Id: <20200812163342.6547-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 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 --- 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 From patchwork Wed Aug 12 16:33:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11711003 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6783A618 for ; Wed, 12 Aug 2020 16:33:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 60808207DA; Wed, 12 Aug 2020 16:33:57 +0000 (UTC) Delivered-To: soc@kernel.org Received: from localhost.localdomain (unknown [194.230.155.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB36B20855; Wed, 12 Aug 2020 16:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597250037; bh=o5kZR9BZS5GL18PbT8nQ00d/yb1NCloZqYKsHbT3PYA=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=fqcAP+xaG2ofIPUPAtRqM+BirnAabIFzkXvoU6wdBKSp1hqKzyeNPiJrp0y9tEdXp qVB7I2RAqpaTnByeq4/6lxiRxQR8vvZ7cJb/Hk+m5H6UHO6SfL7gK/n8uZ80TYwUyc 7vln779tZeRZf6Yr1CMl7wE4YmYQ0ImRDsGK3vIs= From: Krzysztof Kozlowski List-Id: To: Catalin Marinas , Will Deacon , Shawn Guo , Li Yang , Arnd Bergmann , Geert Uytterhoeven , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, arm@kernel.org, soc@kernel.org, Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: defconfig: Enable ptn5150 extcon driver Date: Wed, 12 Aug 2020 18:33:42 +0200 Message-Id: <20200812163342.6547-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200812163342.6547-1-krzk@kernel.org> References: <20200812163342.6547-1-krzk@kernel.org> 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 --- 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