Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4250101ybg; Tue, 29 Oct 2019 04:29:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjq+EzDlqeRi6Jl4DuIY+8lKbd2ZK0UJDVxjlBL8u7Syu8U6hx16ebc2GVwrr8ocOjkOgD X-Received: by 2002:a50:f783:: with SMTP id h3mr25005641edn.294.1572348585626; Tue, 29 Oct 2019 04:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572348585; cv=none; d=google.com; s=arc-20160816; b=BrJoVEADYNbFfuPhH1XW0kois60oc6fgVuEOQr1axhXKq13Iq55Tv/INCMltySL8b9 U5gliQKWARmhrvUienaOpqvm/yPeA9Qr9SCiZFS5LhmuRwy/brsiXV1MurrokIQgxMya 9gLvzWFqAx+OvBKi0sIFrNhUPXape9uySF1lIEsHoHxOwWkRW1pbx8NCqtjrD1thk+Rc 1oZgZQGNLxhhQp8PhO/SLpP7jNfPvIIOK/7Aa2Fzd2u1XbQNm6v+c8tO5Mvx+U8+0xNz GoK5hleirVMqF8gchCHY/8iIFsnp0Q49z1AMmmQ6li442UMMPbA9fOy/bZzGXtPGdIEE KQDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=LBOLhdrF2nD/b+qofcoUOphjgNV6E1Gy6hCnhtFRzVk=; b=F/1/Xk0sy08Mrnq20W5WPouV03Gc6KJQlSmJ5Ith3McqkO+YrKb2rgbKmAwWfEZgRI zLeWjc6y9QKcE4aEpBf2h29YsFPdGe+zNit6iXtaOA8bwFrRSWYPip4Ljqla30uFpG0j 7FbphtW0tA/Mu6NDndA6a0cXfHgpb7E4KWZOAGDt/0v2rnJ9uV0YAvc8q+lKxWkqnx9K wTbatbXwhaH+5JPxxyZwY+ubAaLFsnXFmsxRjKDK804v+TdXDddB23P3g87hmTBIWIH1 BwCdzdeETHH4S6WWDnImMHql88WBOrkbncIgIpMZB7d8c7sCjK4gkKHzVnl1WP9dWW/1 Y7Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si6813886edf.36.2019.10.29.04.29.21; Tue, 29 Oct 2019 04:29:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730942AbfJ2L2N convert rfc822-to-8bit (ORCPT + 99 others); Tue, 29 Oct 2019 07:28:13 -0400 Received: from skedge03.snt-world.com ([91.208.41.68]:45694 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730794AbfJ2L2L (ORCPT ); Tue, 29 Oct 2019 07:28:11 -0400 Received: from sntmail10s.snt-is.com (unknown [10.203.32.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge03.snt-world.com (Postfix) with ESMTPS id 77A1F60CF62; Tue, 29 Oct 2019 12:28:04 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail10s.snt-is.com (10.203.32.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Oct 2019 12:28:04 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1713.004; Tue, 29 Oct 2019 12:28:04 +0100 From: Schrempf Frieder To: Krzysztof Kozlowski , Fabio Estevam , Schrempf Frieder , Mark Rutland , NXP Linux Team , "Pengutronix Kernel Team" , Rob Herring , "Sascha Hauer" , Shawn Guo CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH v2 07/11] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Topic: [PATCH v2 07/11] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Index: AQHVjkvtzuEd7ia9eEiSRBR9LAU6oA== Date: Tue, 29 Oct 2019 11:28:04 +0000 Message-ID: <20191029112655.15058-8-frieder.schrempf@kontron.de> References: <20191029112655.15058-1-frieder.schrempf@kontron.de> In-Reply-To: <20191029112655.15058-1-frieder.schrempf@kontron.de> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 77A1F60CF62.A0BE3 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frieder Schrempf To silence the warnings shown by the driver at boot time, we add a fixed regulator for the 5V supply of usbotg2 and specify the polarity of the overcurrent signal for usbotg1. Signed-off-by: Frieder Schrempf --- arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi index 2299cad900af..d3eb21aa9014 100644 --- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi +++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi @@ -45,6 +45,13 @@ regulator-max-microvolt = <3300000>; }; + reg_5v: regulator-5v { + compatible = "regulator-fixed"; + regulator-name = "5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + reg_usb_otg1_vbus: regulator-usb-otg1-vbus { compatible = "regulator-fixed"; regulator-name = "usb_otg1_vbus"; @@ -191,6 +198,7 @@ srp-disable; hnp-disable; adp-disable; + over-current-active-low; vbus-supply = <®_usb_otg1_vbus>; status = "okay"; }; @@ -198,6 +206,7 @@ &usbotg2 { dr_mode = "host"; disable-over-current; + vbus-supply = <®_5v>; status = "okay"; }; -- 2.17.1