Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3849741ybx; Mon, 4 Nov 2019 03:58:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxfCtuGQGIMv0T2xq8whFnQRZDXblGvX7WAriH7orQQpAHgzH6B8AuqUkwKhbc9woP/s9NP X-Received: by 2002:a17:906:4bd7:: with SMTP id x23mr1083340ejv.245.1572868688485; Mon, 04 Nov 2019 03:58:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572868688; cv=none; d=google.com; s=arc-20160816; b=fkIRaCSanvKrlAlLyvTAFrRfMc08q9jTU3ToleqftOpxJZrYTS23w75nk8AzXOKBsD fHysmNVMRRaQPgm0Yz09woSLzQ9SchAgSMCba6Syr1I7eIw6Opwd2+FhaMT9LQlki2G2 D1IyUE0W5/kqYjyMk6ibXaHE5P6CB0DsgCbUU3FapxFntawxYDl/VzM8mSGDHoGQLjRY W20US4Iiax0WVBoLt7DnTW+GyPlkUJoGg6MBn+XOMcxiBM5qg+kVVPSbmyApn+DM/e0M 9bT5bQlfgCfp2F/JkPJQrIcj46LFX3kJhMOO5pWPWQ2KuWKDlIv0hTqWAcgp9Ua3syzy e0sQ== 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=ysBKaZzLONH1xNXrSSlY5LNaG8WdBlS0Iq0XGBlkbLI=; b=QSsMOkeh29K7AcE1YkQY9T+zgFmkqG+wmF2sGkVbyLQdBePNzyDEWcXU+cOmYWxgln +yyOSh0gbvKqU09ySX29HCZlE81cFrhCOVwGiafrpMCByvDFMCEX/TALI/o/iYZYooIn pfjyzJZ1ccFADiYpgmZ00ntjQ+0WjOUVv+5OZFSdpMoLxDQoe0kIZ/c0RH2LrYR3qz61 86taOF3wLEiOuRFFj0xE3K1qKy3VXlmCbsA0XVQz4JN9i0Ke+4ug08p3I7XWfL1zFuVs lAlMGMXJ9IzfE1ZFRyHibwR7vfoojUVZar8Wj8FnnaAqvjbQP8v7SepHdMXQskBM81US MZ9A== 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 qc8si10140615ejb.164.2019.11.04.03.57.44; Mon, 04 Nov 2019 03:58:08 -0800 (PST) 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 S1729240AbfKDLy2 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Nov 2019 06:54:28 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:47360 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729197AbfKDLy1 (ORCPT ); Mon, 4 Nov 2019 06:54:27 -0500 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 skedge03.snt-world.com (Postfix) with ESMTPS id B55B360CAED; Mon, 4 Nov 2019 12:54:16 +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; Mon, 4 Nov 2019 12:54:16 +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; Mon, 4 Nov 2019 12:54:16 +0100 From: Schrempf Frieder To: Krzysztof Kozlowski , Fabio Estevam , Mark Rutland , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo CC: Schrempf Frieder , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH v4 7/9] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Topic: [PATCH v4 7/9] ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes Thread-Index: AQHVkwaVufhtjmqoVUmeatWPXxjOJA== Date: Mon, 4 Nov 2019 11:54:16 +0000 Message-ID: <20191104115352.8728-8-frieder.schrempf@kontron.de> References: <20191104115352.8728-1-frieder.schrempf@kontron.de> In-Reply-To: <20191104115352.8728-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: B55B360CAED.A29C4 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 93a0f0ca5b84..5725e5fc271b 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"; @@ -187,6 +194,7 @@ srp-disable; hnp-disable; adp-disable; + over-current-active-low; vbus-supply = <®_usb_otg1_vbus>; status = "okay"; }; @@ -194,6 +202,7 @@ &usbotg2 { dr_mode = "host"; disable-over-current; + vbus-supply = <®_5v>; status = "okay"; }; -- 2.17.1