From patchwork Wed Aug 31 08:03:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12960508 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71BBAECAAD1 for ; Wed, 31 Aug 2022 08:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rGApeL2gdP32LhSKTebi41KxXmuiZlgSsX08WjDgLds=; b=dSYWxvaiAS/U27 HJL23R1GuRvmlEZUIrQXdZx5CVCMmlSE04BwkQ/XFEM5QD3J0noSbwz2dkr3fOzHZlqTfOW9gQiea 3wpgOPwarkhq4ACONog9vnTTvHYPNOOCfmXSK/pzU+byQcDaG4xvSKG1IEtCRfizrVAONJrve7dmN Zm6WE/KVp2tOdBZ7I1SC1Hj1F28U8Q2ofaH5XXUmagJ7KTpi32/EGwXePAMQpBtw+BzQddgXGeH24 L0GWbsVAeCCjnim2C/YnAFr9XaSkhZCo3xEkQ1NIwii3CVO9vmQfYRG/TUEasXLolrykHGV4N7PhQ tfB9MywP3uF/N2R1gojA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTIqh-004qKt-Hc; Wed, 31 Aug 2022 08:13:24 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTIhL-004mxV-GP for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 08:03:44 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id DBE8EDF8D9; Wed, 31 Aug 2022 01:03:42 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HoFfwWJ9Hs3T; Wed, 31 Aug 2022 01:03:42 -0700 (PDT) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1661933022; bh=pTAM1GG6G97KUgnlgXB/M7yFHEvP6eRofoU5RlNqxKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DRbLYS6OJx6shFzLIrYUFTZtfUFEPfnMa8+PbfRdSKLzinAbkNEz5gtFf2yxhlW+g W4Uiw9YjLga3qQvf609FRTudkrJJm0LRGUlpcSpY12VFCJ8tRARz72yjqMt5xhWf50 G86nH9ClvaHXqz/FiMNdg873VidJjMMhF0skSMnFQDvyIfYqo32dKBys2whykDmoue 3c0HvYbmRWf86PAhGB6ivTJgr4Jcfi1iDY6s+ruU5GS/dmLGfy/R3yV1fFetnBZH41 UTU1zIeXOPY3UmYIQZyDpaWgOsVjrGbmQQNumLfDvub85LuxZrKX6vdEBTNKITW0GF B0J1s/NS1aC3g== To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, Angus Ainslie Subject: [PATCH v1 5/5] arm64: dts: imx8mq-librem5: add usb-role-switch property to dwc3 Date: Wed, 31 Aug 2022 10:03:01 +0200 Message-Id: <20220831080301.1092737-6-martin.kepplinger@puri.sm> In-Reply-To: <20220831080301.1092737-1-martin.kepplinger@puri.sm> References: <20220831080301.1092737-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_010343_635430_03952B64 X-CRM114-Status: UNSURE ( 7.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Angus Ainslie In order to enable (PD and data) role switching on the Librem 5 phone, add the usb-role-switch property to imx8mq's dwc3 node. Signed-off-by: Angus Ainslie Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index d5c7c35d2e85f..e685a636ca6c4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -1302,6 +1302,7 @@ &usb_dwc3_0 { #size-cells = <0>; dr_mode = "otg"; snps,dis_u3_susphy_quirk; + usb-role-switch; status = "okay"; port@0 {