From patchwork Mon Aug 17 06:56:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11716501 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 550D01392 for ; Mon, 17 Aug 2020 06:57:15 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 2FFFE207FF; Mon, 17 Aug 2020 06:57:15 +0000 (UTC) Delivered-To: soc@kernel.org Received: from localhost.localdomain (unknown [194.230.155.242]) (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 750BF20772; Mon, 17 Aug 2020 06:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597647435; bh=rUJhFNXDnVmwColLvrth5573fL1t+WqQxOOcDFDs9Ck=; h=From:List-Id:To:Cc:Subject:Date:From; b=qmhJy7PWFE86O5i/XHqLQTWUzsDtG4ly+1CrA2bOT/GeGJ9Jx2L6DEGTCmKBmMGJn mRLWL3FcY7AOBROJ7dWjuuYzigrQ6ufYm2A7xweYWrudl3nbL0ED7tE8N4GAaqvPzh 2abWM1vll2qVGOI0ukEai8BWFp5gd6WhDkd2WT/M= 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 v2 1/2] arm64: defconfig: Enable USB gadget with configfs Date: Mon, 17 Aug 2020 08:56:53 +0200 Message-Id: <20200817065654.4419-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 Mon Aug 17 06:56:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11716503 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 1929F618 for ; Mon, 17 Aug 2020 06:57:19 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 12C362078A; Mon, 17 Aug 2020 06:57:19 +0000 (UTC) Delivered-To: soc@kernel.org Received: from localhost.localdomain (unknown [194.230.155.242]) (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 7E78F20829; Mon, 17 Aug 2020 06:57:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597647439; bh=sNuDF7ke9+ni+8ikhPl8xCn9/Marh5GnLmuxAC3/EVA=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=gfWRbz1ATrQ1Q0GmFCANUeLvnSsZRxQNdUYbseYt7DsXj4XJH2nKemeJKp/gR/etj ezwqT8K1NqhXL/sj+4r3oEjkUGGGrvL2uMGRuTEiaqAp8nrVq+70rUjtmWCsTWYLAJ p8jY1JN0S1MSa8qsMvVGPwdkTMYwG9S8drz/9veU= 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 v2 2/2] arm64: defconfig: Enable ptn5150 extcon driver Date: Mon, 17 Aug 2020 08:56:54 +0200 Message-Id: <20200817065654.4419-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200817065654.4419-1-krzk@kernel.org> References: <20200817065654.4419-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 --- Changes since v1: 1. Build as module --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2b02a5a179d7..938b92af2978 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=m CONFIG_EXTCON_USB_GPIO=y CONFIG_EXTCON_USBC_CROS_EC=y CONFIG_IIO=y