Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1701451rwe; Fri, 2 Sep 2022 02:13:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ySVIrCMIEuE/voiHwB/5hKBV8x6zLguGQhk83rmiiZqBs9U0tQe4z325364hr2QSSLjh4 X-Received: by 2002:a17:906:d550:b0:750:59d0:7aa0 with SMTP id cr16-20020a170906d55000b0075059d07aa0mr1700093ejc.0.1662110006616; Fri, 02 Sep 2022 02:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662110006; cv=none; d=google.com; s=arc-20160816; b=VKCqec/SrcJdVtkCQ3bGBpJQUD0Ell5sI9y5LldfOzkCGkrMowbiA2b0rsgCfP9Cj9 HNpNqWksh+1oweXQtA38JbgYNwU6Ytjd4vC+BvcQ1JDgvENDPlQnQtdXJ4JwCHh/r3v9 +G0EePf92TiTwzZDM3zWgqqZlf4JuuJMrJeF+iIDW3/sKTU/T/KXAikzvUqA0e6eQEI/ QEhOHF3fDi2Y3ncqLcDDTYjTHXlLmFS3PeuURIDMnvwe5IvzpcalrK3gSdWCGAwSnXAj QhTuZzvECVE7ZqAFka6EePzcZ2p8e7bwq53TzndomYgUcF9//Qm0b8FQzbf9LrGuE3aE 9Lww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=NFxKZnXFa8T17+vE9mN0XzPdgom9006HDyQ4bOTdvGY=; b=zFo06RCvzVQVyVUPa/zULa5ipccAVJc88L9G1Xw+srrk/Bjg91yEwCywzv4EXLCfYg OU3d14bWBa/aXc0i/1+1TNiuhHEUQgy5KnfM6bLBnHgC/e+l929kCETUkZn+iU/JCJCK w2+uvG7T3NJSO6tO46FdP7l8qkptOVwFkYPVVlMflga5UlkdvYQdJKK2a2FeS9T1VpKb uUg3uVGvqNEsVaHRB3rbgKN1dimghmUzHBnL6xj7q8m06ReLnO+vBlk4CeP/qNjzPfzk Oa+HhSuMWUWD57cz2jDRx/vi9K2naZlK0jX6qLue5rRKMzvB07RA0zSvmjK4L8sm41tI A0dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@puri.sm header.s=comms header.b=urzOoLme; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a056402274600b00447726f8e2asi1640086edd.48.2022.09.02.02.13.01; Fri, 02 Sep 2022 02:13:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@puri.sm header.s=comms header.b=urzOoLme; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235878AbiIBImq (ORCPT + 99 others); Fri, 2 Sep 2022 04:42:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235817AbiIBImn (ORCPT ); Fri, 2 Sep 2022 04:42:43 -0400 Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 473529DB54; Fri, 2 Sep 2022 01:42:43 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 { -- 2.30.2