From patchwork Fri Sep 2 08:42:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12963834 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 D5610C54EE9 for ; Fri, 2 Sep 2022 08:43:40 +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=sugE+xZ4wtL3nHo/WBOS5mnhcQJU1ipsYO2jnScx1B4=; b=p4wPVmnCKgLWsP ZfNkukTZ7QtIIVYuwT1TLzVar64xE+4rUj/T3lszzKZsUr37hALY355btf5UiltYB9TtCebGiqPLk cwyIIP3hPY3xwS0/ViJZZeTSm0qqO+Nx3NkpS+8OPHgSVEPW46fRXgA9WMIahwmsPJ7HxapOcNN2i MfhKZrn7hCbr7nBhRuyCp7gfn0V2hzFCL1uvYUg4mgc22nqXKG9uMF5nnQAU9VyEkaUTlgjj6n/ee d03DMDc//ybxkk6uI780CHa/2oOEdsV6jqXrAaz3E4L5uMBFEu5gtH9zRr74FsAcEqomIybDKbpSc KNLfCFLEWiN7UiKwQysg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oU2GE-0020US-Tc; Fri, 02 Sep 2022 08:42:47 +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 1oU2GB-0020RM-95 for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2022 08:42:44 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 19BDEDFC97; Fri, 2 Sep 2022 01:42:43 -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 Qth0n9K1XUrE; Fri, 2 Sep 2022 01:42:42 -0700 (PDT) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1662108162; bh=f5pKOXHbGKD/nYgQOSeg2/+MMasiz7zAAfiGLG+NTJk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=urzOoLmeLNMFJMJGbZH/mv+bUIioZASCyXEWUEs2h6UkYtL9SnNZBry6M8PYWC1P4 CSz6PEo2ndgfEJt1dSTtqNONizhTft7zfQVUSFwpco5QwwF15rk+gApgUlhWLhQIGp QMgSIFLU/dfs6ISLZl810Gf3KEJs1wF1EbuktFiwEob0OaPduYK5R7L+Ey2FhusM1Y 5atxY7Ecp2uBE9TwFvMGK0XaL8QreXs9toiAt16FHf36VYJ/i7M1HDQXDXNxtrrwta DszHDcvvrwEIMkPqZduprCTOgXGsMY2k1itfV2CUJJxCnF1PcUW36HFfJy1ejLMGNp gpAW/o/inxEVw== 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 v2 5/6] arm64: dts: imx8mq-librem5: add usb-role-switch property to dwc3 Date: Fri, 2 Sep 2022 10:42:15 +0200 Message-Id: <20220902084216.1259202-6-martin.kepplinger@puri.sm> In-Reply-To: <20220902084216.1259202-1-martin.kepplinger@puri.sm> References: <20220902084216.1259202-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-20220902_014243_348047_BCB033A8 X-CRM114-Status: UNSURE ( 8.25 ) 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 f07d1c6e97777..058d6ecf109b2 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 {