Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4415737rwd; Tue, 30 May 2023 05:17:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EtbGiRggj+kCh1F1f1i9sUlbALIIxQhCOETFZi6S9oTl0lhZ8HUdI2nO3LHmHxfR5GW6H X-Received: by 2002:a17:902:f682:b0:1ac:63ac:10a7 with SMTP id l2-20020a170902f68200b001ac63ac10a7mr2210920plg.68.1685449068289; Tue, 30 May 2023 05:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685449068; cv=none; d=google.com; s=arc-20160816; b=U7+FiSWguLV73lrkL2GrNI4eclzhsJNQfB1Bnh9Ex4TShMCsobjfNhVZyItn3VJ1Cx S0nKoSfPPSgs+uaCKbzdnPJSvwlC0XR1B5D1U2ITghrpMtUZbRqUwFDgM1BGFY7bWPMJ cYkxF5T8Pq7BqRj202LItkMYbDXcq5nurPuPaNcSB5poUW01F2Y+i4wpKXjfwZQujknx D8LLTtWBJWk82eymy65litMyTCczbGu7gVGI3t6dFcLtiOi+BRthZeMNt3eZwAbdLZjB ITNOn9wAT7K/5UpZ2m8skheAXth2cIlM1s+p2cnnkXLtkdKz3zj5kd7n3pWcncYCvLr3 wL0Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a170902b10900b001ae4c933bd4si10568085plr.446.2023.05.30.05.17.35; Tue, 30 May 2023 05:17:48 -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 S232227AbjE3MEQ (ORCPT + 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 ); 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 ; 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 ) 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 ) 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 ) id 1q3y4o-00C3vz-SS; Tue, 30 May 2023 14:03:46 +0200 From: Oleksij Rempel To: Shawn Guo , Sascha Hauer , Rob Herring , Krzysztof Kozlowski Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , Fabio Estevam 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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"; }; -- 2.39.2