Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp4107358rwi; Wed, 2 Nov 2022 07:01:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XTbsG6hXoqVqb0Xm+I2XErjt5A5BlKg3RG1KgPsnq7ABCuIFfsFeP2LFEEumyn53xq+dt X-Received: by 2002:a17:907:1c01:b0:78d:eb6e:3807 with SMTP id nc1-20020a1709071c0100b0078deb6e3807mr24151509ejc.481.1667397661039; Wed, 02 Nov 2022 07:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667397661; cv=none; d=google.com; s=arc-20160816; b=pcCDiV+pfIraP/iQNHQFOyP/DPh/tdXXC2f5wCJ5PpTBN/nf7diFAhBchwcofSzhxt jroBHYG9cFMyoJTj7ryL1KN+KL+QUrFf+7oOi7DySWV/d8KJF4vZeSYeLixC4aezvVnv 7i8xEGElXq5sMUff+xnNWuLMc7LSJkVib/Mf/N5EsXMv+HYFvm4HOOCW46E7GalIyT5D w9OB0N+P7XbK2NVHHORSg2S4LtW+eV3wPVsyf7H7uT0ylmC+7J3BXuiDwhraaPsFRB5k S51eqsjnHzsqHxM7XcL+Wb1nqgmPgW1IiUMWmnVk9TxZxiMius3PXrEC6gvUP896Ahi3 5ibg== 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=lamRhdOjFJ9aHqg/LER9/fXWuOvbh3EfZb3L5JnKUTQ=; b=RalYaMy36i10rgve0vRvswXNX2KyiBWuxVE6h2x3wdSPyb6pJeqHKmVYNWVEwOO96v Z8HYWATSfJpswgc/FttPFVm+qDTdd6WinmBAnceE6UbBjYT4lI7ftEGbEYBACTzxJCqu RvrNHFVZCTLlGO43HnJtKjyGshvnc70H2095WvfAJIeU00qzfvXUvD/Rc/K93lM2iwFj jPcj4MSkdOwbLYNcAIZCOuIm0i62wm7DhW9ON5ktuLSd/tSR73q+SG9ESArxlCbKxpj3 qPQwwsMykdH1gSJMBbgt8kh24si0AV6fkNOlIeiYAENTrgkvGl+skYcBMeY7ZzMDi33Q FCeg== 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 he12-20020a1709073d8c00b0078cc8a2cf4bsi19035151ejc.614.2022.11.02.07.00.26; Wed, 02 Nov 2022 07:01:01 -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 S231540AbiKBNSh (ORCPT + 99 others); Wed, 2 Nov 2022 09:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbiKBNSC (ORCPT ); Wed, 2 Nov 2022 09:18:02 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D50E52AC56; Wed, 2 Nov 2022 06:18:01 -0700 (PDT) Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M71P9-1pDfns39uv-00wiDa; Wed, 02 Nov 2022 14:12:22 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Peter Chen , Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Laurent Pinchart , Max Krummenacher , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/6] arm64: dts: verdin-imx8mp: add usb_1 over-current detection Date: Wed, 2 Nov 2022 14:12:00 +0100 Message-Id: <20221102131203.35648-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221102131203.35648-1-marcel@ziswiler.com> References: <20221102131203.35648-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:VQbP8JLwp2ycgZAlAZ0to6PKhljnPQABl1FTvBfHv1rJtfSopi7 vPe+rWbhjlwwe1A93h2mL39nKQDtaP8K5RTOdxNqkFPTrRz+u4+soxZr/RZiOK86fVpCzSC /3W06Yb3s1TtauANsKRV3ryZCS+bn5q3/fcNH33a+0EH93suLgrYn1MJlQdiEJOFkDAAXBM /mW9xtTKe3eOYAkqEw9oQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:pGSKfUY51eU=:QJqQ2uMMenQDLUt5ihljxK t4kyeYOJxu+bqAL2A6R3ACETH43xCzcI9SXAZEtv8gKaELzPpZyuO0nc0nDdOBzeBJIf2vOv/ kEXYNK9ajn4eEjO68FOdrc8LEc6bOUiKp4mqWQHpk+oxzIzyVryOIblOJsB4zZTXfaEv4UoDn l/ogNVXj7cBTlkb63nfM88zvNkW6racyx65g2lUw+0/PTHkX6jI4lDd/5rfHsNsrG9ukW11mP 5IS/X3wV8th/3PYp4W+V2hF8qW7ytjggrUkESiqBDUQ5HWd9v6RYxtrYT0ItoNH8iIkuhIEyy rT16Pg7nWnMVZANer4sEH3VDEkjlOW0bWWuJABVFHD4zYbkH+NKVguSLXa4UgQ1F6CsNAYDKk CrR1zm2RuDeCl3HHyjt4HKJEHi1Vq64+zVPIgo/M0s++Ha3M0aq0eW535kPvO3n5uRN5474t5 gbkSMDwTs7Wq4hc72tqBnC/LaSrlhHiUVuDrdSVk6ikO1Zgp4jlofc63/NqIObQG1mAs6kaAI rydeIuCm7DoGF+caQXUxLsWqRlhVYNjDCyz3CN487vJlDh351Ydbi+vTq0pXj2YkgvEIojQMq OBsfP77LHSBZeOOIJeq8Wo5FBcHVRw17sETSJJ0XSiUKYY2BvLbCK/8cMTTI19SIshX8PkhDr mbinh5U4Nqy9YKvuFpQ5YXqJGhkiekoJwuLKgmhELzoT52NOnj33OMYSbC/EaZTXVY8lc4Dvb pcHWSVukfWLa8Q9o7kuXB9/WntzSPWvxWFgF44yosYyVvKzFwOKn38vpPD3q3X+j09sHrjTEi iD4rNIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE 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 From: Marcel Ziswiler Add Verdin USB_1 over-current detection functionality via Verdin USB_1_OC# (SODIMM 157) being active-low and removing its previous gpio_hog3 mapping. Signed-off-by: Marcel Ziswiler --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 57cddf1bf6b3..85af2875fb70 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -807,6 +807,12 @@ &uart4 { }; /* Verdin USB_1 */ +&usb3_0 { + fsl,over-current-active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_1_oc_n>; +}; + &usb3_phy0 { vbus-supply = <®_usb1_vbus>; }; @@ -816,7 +822,6 @@ &usb_dwc3_0 { dr_mode = "otg"; hnp-disable; maximum-speed = "high-speed"; - over-current-active-low; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_1_id>; srp-disable; @@ -1045,7 +1050,6 @@ pinctrl_gpio_hog2: gpiohog2grp { pinctrl_gpio_hog3: gpiohog3grp { fsl,pins = - , /* SODIMM 157 */ /* CSI_1_MCLK */ ; /* SODIMM 91 */ }; @@ -1229,6 +1233,12 @@ pinctrl_usb_1_id: usb1idgrp { ; /* SODIMM 161 */ }; + /* USB_1_OC# */ + pinctrl_usb_1_oc_n: usb1ocngrp { + fsl,pins = + ; /* SODIMM 157 */ + }; + pinctrl_usb2_vbus: usb2vbusgrp { fsl,pins = ; /* SODIMM 185 */ -- 2.36.1