[v1,11/15] ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port
Message ID | 20230530120345.2874900-12-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2129271vqr; Tue, 30 May 2023 05:08:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dG3AFhVozjL4+6paIbVrMB4Gwl6SZC2Hk6t5OBd2obpBBeKMuhc75p4ml2qhr0b0zegJ8 X-Received: by 2002:a17:903:1c6:b0:1b0:2743:10f4 with SMTP id e6-20020a17090301c600b001b0274310f4mr1835518plh.6.1685448485243; Tue, 30 May 2023 05:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685448485; cv=none; d=google.com; s=arc-20160816; b=fV9qbFJpoVARe2ZaucXnvStJiXFP1eDcdIdvKA15FbqmD+/F8v+uIF2FrbLxPgPDwQ X0AdsjgB7ZI/POaZylPgGIE8iULLjQtUXvnTUrose5Kifd5BZ4eJtpjz1wofyUUbFVyb R1+1ilsuECpF6PLFstNYwnIL4sw/zbP1ui1C9tFox4oBODsRXRU4c0+l+8CvTvWDg6kG LXu73kpoPVLY13QIPbaJ7iCiDJy14qMoVyZiGT29+JOsBpMpXU3f4p/6QntSoHhCGek7 fJd4eYmDdrGi/Zwy6VkLHAn2DWJF6ygdUQqsPOx6q8ZnU4LRZ7EuzGOeI50Nu61zTvhT UjxQ== 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:from; bh=Xti+Fx+piPD8YGPzzDOWxqhexREqchVVohG8jiOzp0s=; b=a0Nuey7Z62THaQIHe3RSHy/y3X/fGFC3YDNaFCe97TvywAEOErc7wSeh2sjlfzfAij krYug7vnX8RF9aKUmsrz+beVh9/S1jLD81B7O+kOQ3Mo+CcAXI19KkEj4JOyKM9bf283 P+q5n1eYx5XNKSvU05Nvt4UF9kJ0tkLVHwcfj0SesHBk0/7Wg7+v2yHv5ANHEsgaqgn/ ni2a0FKEd9TV8YFm2xUpFtESAZtsZgYooOzLw6y96azONfoGkvS4zLFeZA7+/8FYKICu Xp6IfFlsh/AVFvjQEWY38JzztM53icoSA+NNld9u9BARzYiX1zaGGCMNNf8OGTYbxJhv O4BQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj3-20020a170903048300b001b03e2c53afsi3666225plb.24.2023.05.30.05.07.49; Tue, 30 May 2023 05:08:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232229AbjE3MEQ (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Tue, 30 May 2023 08:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232152AbjE3MEE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 30 May 2023 08:04:04 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF86690 for <linux-kernel@vger.kernel.org>; Tue, 30 May 2023 05:04:03 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1q3y4s-0000Co-6I; Tue, 30 May 2023 14:03:50 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q3y4r-003rWl-EY; Tue, 30 May 2023 14:03:49 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q3y4o-00C3vz-SS; Tue, 30 May 2023 14:03:46 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team <linux-imx@nxp.com>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH v1 11/15] ARM: dts: imx6qp: prtwd3: Enable USB over current detection on USB OTG port Date: Tue, 30 May 2023 14:03:41 +0200 Message-Id: <20230530120345.2874900-12-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230530120345.2874900-1-o.rempel@pengutronix.de> References: <20230530120345.2874900-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767320830564227304?= X-GMAIL-MSGID: =?utf-8?q?1767320830564227304?= |
Series |
Maintenance updates for Protonic Holland boards
|
|
Commit Message
Oleksij Rempel
May 30, 2023, 12:03 p.m. UTC
The imx6qp-prtwd3 board supports USB over current detection on the USB
OTG port, however, it was previously disabled in the device tree. This
commit enables the over current detection by changing the device tree
setting from 'disable-over-current' to 'over-current-active-low'. This
could potentially protect the USB port from damage due to over current
situations.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6qp-prtwd3.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qp-prtwd3.dts b/arch/arm/boot/dts/imx6qp-prtwd3.dts index a8154c901d4f..657d112ac3a1 100644 --- a/arch/arm/boot/dts/imx6qp-prtwd3.dts +++ b/arch/arm/boot/dts/imx6qp-prtwd3.dts @@ -518,7 +518,7 @@ &usbotg { pinctrl-0 = <&pinctrl_usbotg>; phy_type = "utmi"; dr_mode = "host"; - disable-over-current; + over-current-active-low; status = "okay"; };