Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1221573ybx; Thu, 31 Oct 2019 07:26:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqw65jplo3sBl6bkhCOGofucAf+ZzIuFGma1zyhDUXfO76X4gEUlXcKbHcmyJ2L/EkmXQCTo X-Received: by 2002:a17:906:245b:: with SMTP id a27mr4358858ejb.192.1572531960072; Thu, 31 Oct 2019 07:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572531960; cv=none; d=google.com; s=arc-20160816; b=u2tFzAnsxdM9PguFZo6cXiT+W55s3Z04gLtlqP/9GshGTm7QUkXrk2RikoEa6tbTBT 8EHe4ESlHrTuptSrmyRQeD+Vlmgw4Y7SyHHk1sJC+RcECn85M/OSZBVn/p8uA9iToxuC vlFCcF+AJGCKOF3dwI3EhHtFIRxqIVvCFL0BZJsziDDcCx54igCoeQwz2dh1NGTNk2tI o9x3D8kkZGmBuxEZ9cmE48RLb2r24QWGS4YPS0N9CYRgk6yTOIXYbq/Z38kmBLfhdy6P miyDKBjdd1dJfV5W0CXTeCCaHmcqXc3QrAyZYU9nMU9prjZAF+hQUIE2LaWjrTsP1sG9 d2zQ== 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=zix6GWmiQbNh36HZEJ6bqtCFu1xeE1IUWGzNZ/5ZdFc=; b=J4oHK86Gf6MhXxbRMeyZ4Kypwctt0I4dUObYL8iiInvkCmKNzwHVzs+0vs7CDly0nq aajUG580mM2Df/sOwBzjp2ORFo8dTzWArrxry0QykEsVC+iNFoijuqRUBozZ9V4y4OF6 0/Xs0XuEASR3R+GkAEEZcqimpBzG0M5Ns+QFwlxcr6BpgvmoqMzymnS9xwVHlzxipHlT 1E9sVJpoQLQ/26Y5tBYTIaTcI2xI85wQc0KDHH0ve2iXyJs5sr98RqouBKH+HRZNKsXH NxhVvXR1Jcctdd0xMRk1GFBzv9oE3NHLty/dQHSfQApB3Uz+1CRT8LLndy0eDGWItH2J bm+w== 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 o24si4264092edc.342.2019.10.31.07.25.36; Thu, 31 Oct 2019 07:26:00 -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 S1728093AbfJaOY0 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 31 Oct 2019 10:24:26 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:54914 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728078AbfJaOYZ (ORCPT ); Thu, 31 Oct 2019 10:24:25 -0400 Received: from sntmail11s.snt-is.com (unknown [10.203.32.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id 1653AD4A582; Thu, 31 Oct 2019 15:24:22 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail11s.snt-is.com (10.203.32.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 31 Oct 2019 15:24:21 +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; Thu, 31 Oct 2019 15:24:21 +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 v3 07/11] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Topic: [PATCH v3 07/11] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Index: AQHVj/bjTjNmxCvGY0q8/rNxh/IlvQ== Date: Thu, 31 Oct 2019 14:24:21 +0000 Message-ID: <20191031142112.12431-8-frieder.schrempf@kontron.de> References: <20191031142112.12431-1-frieder.schrempf@kontron.de> In-Reply-To: <20191031142112.12431-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: 1653AD4A582.A205A 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 Fixes: 1ea4b76cdfde ("ARM: dts: imx6ul-kontron-n6310: Add Kontron i.MX6UL N6310 SoM and boards") --- 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