Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4403474rwd; Tue, 30 May 2023 05:08:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7LhL0bCI9EtvzxT1IyhtZUsaCcoJ+xE1wOiJrVVi4805vMRmkRrSakHUUKBsxsSbkt8JF1 X-Received: by 2002:a17:902:b084:b0:1b0:72f1:3742 with SMTP id p4-20020a170902b08400b001b072f13742mr366486plr.12.1685448504345; Tue, 30 May 2023 05:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685448504; cv=none; d=google.com; s=arc-20160816; b=bLTJ8sGJfpOlRoZgV1HC0EIoCtGyIw0bXX+QJufhjeenxk9qT91wMsDyzrgIwgwJX2 jlMMJjK7o37PO7tgfssZW4KtxyOOzrMvXXLqK8HbdJNP9QkSH8akJ2558HnNduckCIs+ cHhMPg/woyT59XEMiiaokyRrDCumntGeUmXAyvtF0lHfBt9SDLA938RJ3RDd+focLHZj ji55KXP8yOtu0ZZPL0pet76FGKSVN55HJSWAVRVD2ELLPYhWh3uqCd4tFs5NGUweDL7v HuZ+aYHWur8BUQR0nrSNDCKbByfC1VYkYvR9EjRQw+l1eHs9dLfraW+q9obBRmtfbim6 n7hQ== 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=VKO5qYXiJrelqz5M7Zp3+Fh8jRpxL2rO+2TGdWWT6sU=; b=s3v9tIFPR+fT5UsRud6UJsxSduofGlQdAmxLHb6EJGYS8BbeSUqoZMEkEKUcYWGHN7 y3Eicrfj83ZEq/gZcDxhw/VxL/ts9k21WmEGv2lMJHJt7qVryR6QophKD9UrC6jc5v2U /IDINpx+YMv6L5tvhIVPdM4xS2v33OY+0OuqMObUNDOYIOjbPiqA8D1zjEWX0cpkv8YL ncnzMGnG9k14ncGs0SBOIaF5N8ezxazJgCmFk2Ip1TFvqmtz0p3JUMtPhxOzptHwcWVq h+2GmImLXiyPvmbELrucvkqehJ/ti89vfo6SUPeyOj7cr/dOq1sl3SZUqgkOU3NTx6vt 29Tw== 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 x3-20020a170902ea8300b001b06fa86af9si302252plb.462.2023.05.30.05.08.07; Tue, 30 May 2023 05:08:24 -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 S232279AbjE3MEf (ORCPT + 99 others); Tue, 30 May 2023 08:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232169AbjE3MEH (ORCPT ); Tue, 30 May 2023 08:04:07 -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 95882FF for ; Tue, 30 May 2023 05:04:05 -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-0000DN-Ma; 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-003rWz-Tu; 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-00C3vp-Rw; 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 10/15] ARM: dts: imx6dl: prtmvt: fix different USB related warnings Date: Tue, 30 May 2023 14:03:40 +0200 Message-Id: <20230530120345.2874900-11-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 Fix USB-related warnings in imx6dl prtmvt device tree by disabling unused usbphynop1 and usbphynop2 USB PHYs and over-current detection which is not supported on USB h1 port. This fixes the following warnings with the current kernel: usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests imx_usb 2184200.usb: No over current polarity defined By the way, fix over-current detection on usbotg port. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtmvt.dts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-prtmvt.dts b/arch/arm/boot/dts/imx6dl-prtmvt.dts index 5f4fa796ca18..773a84a5739d 100644 --- a/arch/arm/boot/dts/imx6dl-prtmvt.dts +++ b/arch/arm/boot/dts/imx6dl-prtmvt.dts @@ -560,6 +560,7 @@ &usbh1 { pinctrl-names = "default"; phy_type = "utmi"; dr_mode = "host"; + disable-over-current; status = "okay"; }; @@ -569,10 +570,18 @@ &usbotg { pinctrl-0 = <&pinctrl_usbotg>; phy_type = "utmi"; dr_mode = "host"; - disable-over-current; + over-current-active-low; status = "okay"; }; +&usbphynop1 { + status = "disabled"; +}; + +&usbphynop2 { + status = "disabled"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; -- 2.39.2