Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3873217ima; Mon, 4 Feb 2019 06:38:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN4U328baQ3GuWww+a2tFbJdNDM2I3wxxhNHyu6PLdoyUUhzZbo8KZcIsjhWVcTV8yGAB9oN X-Received: by 2002:a17:902:380c:: with SMTP id l12mr50547272plc.326.1549291086202; Mon, 04 Feb 2019 06:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549291086; cv=none; d=google.com; s=arc-20160816; b=rTPXyFTR50tqxtFK+NJtw/J0AnyrDpnmmFP98xVU3X/iw3l5/lQHPRJZwFGwM7qo7Y /7mQIDGYUmSY85JjsEib4Frpn/AuyxJKnC6NLHfaip+PyrOkzAl/y6Er2a9OpGrwbefd FhYAhMQ8Lh9ySQBpbACYsFVawFMkFdCxR8bAdmzVsXKQ96iUPbGJRe4duSZL1Y3/KM58 1hC2ZWLw89FLfViyuW4qa61K9g0QSqLaMA/IngbTEEjpXSP7A68SbmuKaUgN73oKyD50 iQZ0wNrAUd0K7tFP7/y+0KWmxPMRBU7mMjlgEShvC5vRIDVsL5OdeLysRJlUwjeaG6IX CtxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KF1X/3cj948PjMeFbZfRlquxhga99uxMWr3+oeJo3s0=; b=tuJihUMmIbIzJ0Pmi4VXw1xqCycAQdpoU1tPE+HKLR0iXjBlZsqsYB6YdE2p988/Pm E1DK3ovyzqb2vXsno8601rdQXBV3rP90gfhuZ/obxyJgRV9PzE0yrXKChiigsAbaM1cB 1JvqK+93vEAgKTazen49o7pM4MBrT2jYRPYhfh0EZnYz8EX4pf7DOhL1nadWrMM5kSVh qFWmAgrJIFd0b0OuF6U2sw2644F8LSvos6ttR+COtH4ZNrWnSU7IGiorO0uh3LE2pySi 9bNWbBtzekHeXzulpMbKAhRlJ8VB3iu+gfnepPxtnUdaiWiczTBJSZMRWWU6S/H34Zop GYGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=HzhvLDVC; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si196448pld.246.2019.02.04.06.37.50; Mon, 04 Feb 2019 06:38:06 -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=@googlemail.com header.s=20161025 header.b=HzhvLDVC; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730065AbfBDN7L (ORCPT + 99 others); Mon, 4 Feb 2019 08:59:11 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34685 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729055AbfBDN7K (ORCPT ); Mon, 4 Feb 2019 08:59:10 -0500 Received: by mail-ot1-f65.google.com with SMTP id t5so13083152otk.1; Mon, 04 Feb 2019 05:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KF1X/3cj948PjMeFbZfRlquxhga99uxMWr3+oeJo3s0=; b=HzhvLDVCyjAlYQIP9Q99PYJ+n6RKuxMfJDeP/Xg8EYZJOrfoFS/vbUYy7rA2WFcSHQ xsL9MWk536KDRcU/JY8zguE0848nvpan9b7tk9o8g6ZccbN/XYRpZrSMQx/HNkTvFunc 590R/45JEiKFOxrSUGRzMuI57rCsjfuGP4WhJS4YVYThyk6e7xiSEr9vwD2vfAIfZvL9 78+d8MwK/ZMVjtIkZ7yI7I7NEYdkVtcf0u/0bAXds0+sbKMloMhNLAXwEiJcFle32BVn 3pKfdbx96V8Jay8+VH/IFz6fKWDWrOopXfCIbDxE9sqNEN4lQwgzRzA6ndj8e4gemnwL EmYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KF1X/3cj948PjMeFbZfRlquxhga99uxMWr3+oeJo3s0=; b=jDdG/eyTeyb2TitxKVtCgZYKMhFQQFwMo6V1vqCmjqkjYBLAUZZN3Rn+sa1PBMbBwI 8gudMUG1iRXTCLSvyPyzRqIUmOOmDc5WMxvTl5lw3CvHh+5L+cAKEE8aoucYjVp0UiKw CRTJq/sndma/qUKtW/txql8x7xTKiwMGVs1nraTZQIRP6F92pSTf/VzwLmlPqeMtlXbo ceGqeWRS9TQHmhv0DmgNxDqhqpiHV2sMxylsQ0tkpZtdTMXx+YJOIQn5//a0VCCV4Ry5 RZ2iXZMN5uD5DQZTYvNiYMbzAvK9PIqdjMYJ7ELw8hxTVRu8AD/RydeZsV91NYLWKwFE 0R8Q== X-Gm-Message-State: AJcUukeYylRUoo4LsLxgKZc3OHQr/3Iz+ua+Kxi9cKN9PxIbEA72XWnr qGQI+2hzQou4ezCtlpI1k0MVNm1OOZcLf+nO69o3Biy1 X-Received: by 2002:a9d:715d:: with SMTP id y29mr37903772otj.148.1549288749719; Mon, 04 Feb 2019 05:59:09 -0800 (PST) MIME-Version: 1.0 References: <20190129102521.4141-1-linux.amoon@gmail.com> <20190129102521.4141-2-linux.amoon@gmail.com> In-Reply-To: <20190129102521.4141-2-linux.amoon@gmail.com> From: Martin Blumenstingl Date: Mon, 4 Feb 2019 14:58:58 +0100 Message-ID: Subject: Re: [PATCHv3 1/2] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy reset warning To: Anand Moon Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anand, On Tue, Jan 29, 2019 at 11:25 AM Anand Moon wrote: > > 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>; did you find out why this patch fixes the USB_OTG_PWR regulator? based on just reading the patch I can't find an explanation myself have you tested without this patch to rule out that you hit some bug in the regulator framework back when you wrote the patch? (I don't have an Odroid-C2 so I can't test this myself). Regards Martin