From patchwork Tue Nov 22 15:54:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 24445 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2297198wrr; Tue, 22 Nov 2022 08:05:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EUCcgC1ZE1gdTEj0JbTyLxTbRnGFPZ8oopB+dHoHNU0L8SciSBl3Pt5EL3ixaORUVhGyh X-Received: by 2002:a05:6638:252:b0:363:46aa:76e9 with SMTP id w18-20020a056638025200b0036346aa76e9mr2664128jaq.249.1669133143020; Tue, 22 Nov 2022 08:05:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669133142; cv=none; d=google.com; s=arc-20160816; b=r5Z9EHwTdqME3/eU6iND6WNdAjgn082LAxrgusyJR1u5B9L9GEcwUO2yyJ5B5dkZsj p7TrtTPNwSWFiiCUZejiMSQifrMKqYgA+o9vwGjMOSaqCnq2BAMeOG5GSvJ4Q+E0/2Kn qG937T/RRlFxWptIUkqsUngZ3GJ6MREnqJK/lBL8mJZgd2NI+bo9CjaWT7gUvS6X1aTC bcgpGO1NIRv/MRDjl5q+uVPYjFyX/JdWAV+f68HczxmDHTuAY4tp1EurLfO434bKAuF4 eMzD2+paMq2jIhbj2ics0Da/YGYWVrO4sC7VM/VB4bPT4HAC/26fajNXUzJdoPSJ6Dcs YKdg== 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 :dkim-signature; bh=Fu8hiyLXCFYB5QC/9ql9EXYpjHVVmiC5QND859S5OKg=; b=hbP1GzFAhpIJhdxrCgg+j4TuYyxJ+HP+WaMOqhO0DWRZ1mpBmmLg4VkrH9Po5TyGhc xnOkq09JV4LgNBzPq7PF9LXihr8TxmmUq7WxappTlubYvJgmO3aoRfKBtscZlwJX9fXp /hPxgVtvkSZWRNLqMpNSCU7m3dA1MJ6nQvL9b8ltO9J+qA5J0BITpqqg3AR5J1ZN8S2N SxhtvveRWqBiRfBsPU0Mc6llGyO/YtK7nyXlOQCd5wAR5NLQm83s5AJ0qfSjEQMjnIzi Jl5ez5TTeVDvqf3Xkeewv4ctOmoCvwwlGiiI+FK2NeZ+dTF0zOOAVrpQ22rUkTlZzkP5 fJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=IfIEPVvq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a056402270800b00461f44d7bfcsi12378240edd.573.2022.11.22.08.05.15; Tue, 22 Nov 2022 08:05:42 -0800 (PST) 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; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=IfIEPVvq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234147AbiKVQC1 (ORCPT + 99 others); Tue, 22 Nov 2022 11:02:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234069AbiKVQCL (ORCPT ); Tue, 22 Nov 2022 11:02:11 -0500 Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5099D72130 for ; Tue, 22 Nov 2022 08:02:07 -0800 (PST) Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4NGpjf3TgqzMq7XH; Tue, 22 Nov 2022 16:54:46 +0100 (CET) Received: from philippe-pc.toradex.int (unknown [31.10.206.125]) by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4NGpjf0KQ5zMpqZ7; Tue, 22 Nov 2022 16:54:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1669132486; bh=KQJXqE+JmnB6mDifCLAOwhhFYmr+jtuDDPQjdvLtyG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IfIEPVvq5kXFtGKZL3936aJ/BndOluvsqJ22VVXD3RIZK3N03+eWOrBA4cWv5CSvv 3ku1XroH2reDu5okXLvtVFXLNoBdq/t7mu56Zx/QASZCK7AjsLJMgKIl4j3CIZ/rWC QUbxnN+sUbfHlWPPqvGc+FtK4K5f+PFvFLlfPTIQ= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo Cc: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Philippe Schenker , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/5] ARM: dts: colibri-imx6ull: Disable usb over-current Date: Tue, 22 Nov 2022 16:54:36 +0100 Message-Id: <20221122155439.456142-4-dev@pschenker.ch> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221122155439.456142-1-dev@pschenker.ch> References: <20221122155439.456142-1-dev@pschenker.ch> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1750212954480576778?= X-GMAIL-MSGID: =?utf-8?q?1750212954480576778?= From: Philippe Schenker Disable usb over-current of the chipidea driver on all Carrier-Boards used by Toradex. Do this as we don't want to use this functionality on our Carrier Boards and to leave it open to someone who includes our module-level device-trees. This will prevent the warning "No over current polarity defined" from being printed on boot. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri-aster.dtsi | 2 ++ arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 2 ++ arch/arm/boot/dts/imx6ull-colibri-iris.dtsi | 2 ++ 3 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi b/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi index c9133ba2d705..de4dc7c1a03a 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi @@ -130,11 +130,13 @@ &uart5 { }; &usbotg1 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; }; &usbotg2 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi index e29907428c20..692ef26fbab3 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi @@ -106,11 +106,13 @@ &uart5 { }; &usbotg1 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; }; &usbotg2 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi b/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi index 166a0aefc869..f52f8b5ad8a6 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-iris.dtsi @@ -117,11 +117,13 @@ &uart5 { }; &usbotg1 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; }; &usbotg2 { + disable-over-current; vbus-supply = <®_usbh_vbus>; status = "okay"; };