From patchwork Tue May 30 12:03:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 100801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2135511vqr; Tue, 30 May 2023 05:17:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ML2oe4nqgabNUVc/DLfmWP9BdWayshtC10EASXja+RQgUP4Ekzp3P/JMjjinwYFodKij/ X-Received: by 2002:a17:902:ab97:b0:1af:c7f8:b329 with SMTP id f23-20020a170902ab9700b001afc7f8b329mr1961458plr.24.1685449040025; Tue, 30 May 2023 05:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685449040; cv=none; d=google.com; s=arc-20160816; b=1FSSvC6Ltmvj8TeFNtDtfSLtUriqymNqrgqX7opzM3b+GuwmH/Df4QHmwpJUpdOVAm F7E79PUOqvBYYWCerCDp6LJJ5ac6g8Jd+Pu+/hDwKWXT8KlzhwjiZT+V3V2wj7XAxfD8 piZzDBcPlnjMhU1VQ/cbFaEx3Sy9/pGevkXch99hTAy0d/SlCrcOufp6C7sDJe8vKLYQ UN96PX7FaPbr+naCNXyuBhaI+cSrzjytvHHYkQUpqAKI5sTmTvf2F4wwd39A3mfZvVGh UAW9+ox68RUw62sWu4qrDIEBQdrDaCX+TxpCTGoJjUqm2G0rxrZzujF12uAJ+TKM4Yn1 iMNQ== 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=HUrDRO9rm63MS04y++L4ZeuZA+83MALJXfW7YjOdOtE=; b=aAgxPHU59GEoGbbB0W1rajJmi30x8ZDDb7r0EfXfwdmbsqZV8TA2BrkS8zGfrYSEeP nm9pHjFVqg+Isg6kNf0s/+GxGGu2ak8VKGPAyVs2D5F8Ngr3QZbwJVJuOy+r9zwjDSgv lfoCGYjpuOzee4lYvtjbUftXeGrndVREfg1h9w81fJxzlI+Y8MKnzJM3YegZ+4W2oD9M FDAazNeecisw4iaDBnk3drxSXpPM2401voDsXQvMdEz+NedOuKyyX8PHGeSGRfg2LKGt OrzNvUU8Me0CO6qVEp++Bb7vEr3AA725m2zzYb7XOA6gKWYnNrcbl895cm681uxG0ShU dMCg== 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 h6-20020a170902ac8600b001ac5dd95bc5si1761094plr.476.2023.05.30.05.17.08; Tue, 30 May 2023 05:17:20 -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 S232248AbjE3MEV (ORCPT + 99 others); Tue, 30 May 2023 08:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232158AbjE3MEF (ORCPT ); Tue, 30 May 2023 08:04:05 -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 08D729D for ; Tue, 30 May 2023 05:04:04 -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 1q3y4r-0000CJ-Sv; Tue, 30 May 2023 14:03:49 +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-003rWg-6B; 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-00C3vf-RO; 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 09/15] ARM: dts: imx6dl: alti6p: fix different USB related warnings Date: Tue, 30 May 2023 14:03:39 +0200 Message-Id: <20230530120345.2874900-10-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767321412771800716?= X-GMAIL-MSGID: =?utf-8?q?1767321412771800716?= Fix USB-related warnings in imx6dl alti6p device tree by disabling unused usbphynop1 and usbphynop2 USB PHYs and properly configuring over-current detection on related ports. 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 Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-alti6p.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-alti6p.dts b/arch/arm/boot/dts/imx6dl-alti6p.dts index e6a4e2770640..4989e8d069a1 100644 --- a/arch/arm/boot/dts/imx6dl-alti6p.dts +++ b/arch/arm/boot/dts/imx6dl-alti6p.dts @@ -361,6 +361,7 @@ &usbh1 { pinctrl-0 = <&pinctrl_usbh1>; phy_type = "utmi"; dr_mode = "host"; + over-current-active-low; status = "okay"; }; @@ -370,9 +371,18 @@ &usbotg { pinctrl-0 = <&pinctrl_usbotg>; phy_type = "utmi"; dr_mode = "host"; + over-current-active-low; status = "okay"; }; +&usbphynop1 { + status = "disabled"; +}; + +&usbphynop2 { + status = "disabled"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>;