Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4489907imu; Tue, 29 Jan 2019 02:26:31 -0800 (PST) X-Google-Smtp-Source: AHgI3IYhkTVqnD1y/u1wquzvr62lyATEYSPZBNzxG71GruL5d60OYqFroNbLvStgAmXRbsSsOoMM X-Received: by 2002:a63:ac46:: with SMTP id z6mr2687169pgn.162.1548757591149; Tue, 29 Jan 2019 02:26:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548757591; cv=none; d=google.com; s=arc-20160816; b=oZvimqXiXta4C6l69Vdij0on187uJ/hrEjQFbF+weST5O15eYgywbbAhShf+gIHN50 WwJi6+2kB1FfJ0SFB0Z6scoHlibMA79RBciECtpLwGfCsUI6VIGaixSERcB5oLxLWIA6 YmyXxztDq0TbzvyK82bVB3CCDnDbA50kL5GEYCKOkuSCzMD3URgvciEQ2DaMOHlvQ+7x BO4RgzlmhBMTEVlRfZ7a5H8HxDgb5mIpDP9chu8K4vxGEg1tDKjFx4qYEaFfoM4IFvwe MnM9nvhwqLKBLoweJb346xVlH3FIOodnSCvEVmeia31rTigkp5DU8NPlXjjTOJSCxH/L P24g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jFWGUl7z7nhwQNXynQb9n7uk9a+BMTH31BB1HMIVpnY=; b=clraEQXsKglKIkUEXLJ/6O9LJhy0TUpaOPS7aamHrbcu/XVqNkC2rp2QUr+gEOHbQn vFHmxyJD6LFGCzETGOJDDm4eht9OzqWub/5EdzeD8FuEB13WvILB361KJ9yVC/6z0Eg/ WnR77NNzNcrIRn42iu3B/Qz1K0EmWBoFLk5bfF4AYBb/ZnUatyuObY8NioH5lBviXZK/ gTVz2pR3dWRhzP9SoMEhgRQxbklhSya9wiIrFQG68YPjzOQIxNqO14p+DNGKVsl0MTwK RMg6Jr2gp04PDT/US3fqi+hCeY+HstgCUqEjzjEOMghvI+FCYPf7w71cpBKQ1AeDwt3C 4Mfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Esy4jdEL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si18251315pgs.8.2019.01.29.02.26.15; Tue, 29 Jan 2019 02:26:31 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Esy4jdEL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728402AbfA2KZn (ORCPT + 99 others); Tue, 29 Jan 2019 05:25:43 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37627 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfA2KZn (ORCPT ); Tue, 29 Jan 2019 05:25:43 -0500 Received: by mail-pf1-f196.google.com with SMTP id y126so9462990pfb.4; Tue, 29 Jan 2019 02:25:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jFWGUl7z7nhwQNXynQb9n7uk9a+BMTH31BB1HMIVpnY=; b=Esy4jdELg3IUjWKjkOkBTrFtfTK6XK7o7SY17QtpxSCDy7rUMyYUJ7QZIRH2U3S17E SM5Qk+NbOABCq5Ic+xxn7k0aianbOfgjw3DpOZwM9B9mIZV2oc3/l6QhDH+0M7rkWiUs V91SJ1JKmNsM+9e3XR150xCEM8OLKxXsCWc6NzKwOS1aFfxL2BcNhbZSCLSQagwHm8E3 CFIPoGNCGgz8ey65N6AnSQUA16PzZdwP5fBeKcoL9X6M2fsY2F8C1pdT9efk+MfFP5YO yeajrSoy0mdu8GKA1EUTP3uQy+pa2DLvV8jTmTIlXUf+Npw/s9uy4Zz8hvMH3pHEK/Lt 6HDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jFWGUl7z7nhwQNXynQb9n7uk9a+BMTH31BB1HMIVpnY=; b=ZPHZ1nwZwCnnLa6BF0eu0BFeWDkIpdWrp4fNzcCkA0uFo8JaIQOtBwoocRLSowBRcW k2rNdjgy/G4vEdI3An1ogISr9/zCCRyt9KoA/+22yY/7qpDLnro4+75NSESHeVHQ3tXE acGqh7uSlzNli/Q5DIx36Rv3WEsfaL9k/+eIo0gl0yeXPW7SAG6+OBBcDGEqHy3E+sTl ODJDkjHRyYBYXTEl8VpkRNrkAkNnWnbTfYSPt7VaEC0EuTmOmPw+jMCkZON2TklRAP9L OpBEFUM8w0g92sTGVbgRYk5BOGhKYCCgO72p+Bvwz7kv44IMPueN8RMJMakjOktCB9OX 68Tg== X-Gm-Message-State: AJcUukecbSMy678Q8CSmQPqzYh/sDq+MiClC/2BonUO5KPlMnIQ3fWmT w583H/rBmZKIqGkpgXlsueFJLME6 X-Received: by 2002:a63:e21:: with SMTP id d33mr23070880pgl.272.1548757541849; Tue, 29 Jan 2019 02:25:41 -0800 (PST) Received: from localhost.localdomain ([103.51.74.149]) by smtp.gmail.com with ESMTPSA id d21sm47744462pfo.162.2019.01.29.02.25.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 02:25:41 -0800 (PST) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Kevin Hilman , Martin Blumenstingl , Neil Armstrong , Jerome Brunet Subject: [PATCHv3 1/2] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy reset warning Date: Tue, 29 Jan 2019 10:25:20 +0000 Message-Id: <20190129102521.4141-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129102521.4141-1-linux.amoon@gmail.com> References: <20190129102521.4141-1-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing vin-supply node 5.0V regulator setting to power to usb ports, changes help fix the usb reset warning. [ 795.380156] usb 1-1.2: reset high-speed USB device number 3 using dwc2 [ 798.356073] usb 1-1.2: reset high-speed USB device number 3 using dwc2 [ 801.331999] usb 1-1.2: reset high-speed USB device number 3 using dwc2 [ 804.307919] usb 1-1.2: reset high-speed USB device number 3 using dwc2 [ 807.283844] usb 1-1.2: reset high-speed USB device number 3 using dwc2 Fixes: 5a0803bd5ae (ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes) Tested-by: Kevin Hilman Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- changes from prevoius regulator use open bypass opmode voltage current min max --------------------------------------------------------------------------------------- regulator-dummy 5 4 0 unknown 0mV 0mA 0mV 0mV c9100000.usb 1 0mA 0mV 0mV c9100000.usb 1 0mA 0mV 0mV c9000000.usb 1 0mA 0mV 0mV c9000000.usb 1 0mA 0mV 0mV P5V0 1 1 0 unknown 5000mV 0mA 5000mV 5000mV USB_OTG_PWR 4 2 0 unknown 5000mV 0mA 5000mV 5000mV phy-c0000020.phy.1 2 0mA 0mV 0mV phy-c0000000.phy.0 2 0mA 0mV 0mV -- --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 2e1cd5e3a246..da729ed00408 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -28,6 +28,13 @@ reg = <0x0 0x0 0x0 0x80000000>; }; + p5v0: regulator-p5v0 { + compatible = "regulator-fixed"; + regulator-name = "P5V0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + usb_otg_pwr: regulator-usb-pwrs { compatible = "regulator-fixed"; @@ -36,6 +43,8 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + vin-supply = <&p5v0>; + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; enable-active-high; }; -- 2.20.1