Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1297346imm; Tue, 5 Jun 2018 12:10:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ33SdpmzO8dEizRirhpfeK846IBwhNaQ4Jg3qRPfvWe+xKgCxcqhg2uahdDTyQCLN6vddH X-Received: by 2002:a65:4a42:: with SMTP id a2-v6mr22400503pgu.367.1528225812507; Tue, 05 Jun 2018 12:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528225812; cv=none; d=google.com; s=arc-20160816; b=ovJjBg2H1DTZX5D/OZ95sIWHFFPA9KzOHkV1tM0bTkabKLaZsXGpxjnmNJmzXS9mLy CHe/QMljWew375tI0+6qZns2EkskpjM0pVPGDtsm9FUWa+OTVYq4bTsY1SpJBDgnK298 IOAkbU9WEUB+Ko1zJiPe2LhLOx6gWW7It8VsEu2g5oEvZG1OucbIuGUkSyxkBS738q4m oVq+Bjzw9MOQW6SAto/RQy6e4K17o2I+zB9cMzyrTXR67i5ddUqJ9zqXH16Jdn+h1EiL B9qyYiwZjXcriltKLiRg1cL59wHqm+NwPvo/ORIGzj7OiFhK9FnWW9c/7bjnCNDPHIP2 JpsA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=rs2y9aOwv+jkvSeiPiv7WEogea0us2VCbhIwr9lsBVQ=; b=jpUDaip0wWyLCoCsYEg8seRNe8RLZ3YyeHdGx3uwSCXtDplITXWV1TpqFBQEt65YzI M9HmtoSklyVlQFx0Dh4fouuIXXtkj8IJQl92TGiGAfzuwS976MUQl4ywoIys8xL/oYjY zLGRZvGfzsKjGFbdet8l2D4s8yti40awv+x2pjn8cVbFlK/jEEkJmWlXdwOVlhaQtzw9 jJxncr2G50ShDT6aZ5ZRd0lWho22morT0As7J353RupAk4ukyzWVrU7uGqTUVDaiSKeg SzZrjUgdR80IY5tlJPpxKLAofrsNFqTx8teYj6X/3/sdTG6Q8Pb56HVAP9oofyASaJkM JJOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=fhXjQdOe; 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 y198-v6si13223800pfg.246.2018.06.05.12.09.58; Tue, 05 Jun 2018 12:10:12 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=fhXjQdOe; 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 S1752268AbeFETJb (ORCPT + 99 others); Tue, 5 Jun 2018 15:09:31 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35633 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbeFETJa (ORCPT ); Tue, 5 Jun 2018 15:09:30 -0400 Received: by mail-oi0-f66.google.com with SMTP id e8-v6so3132482oii.2 for ; Tue, 05 Jun 2018 12:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rs2y9aOwv+jkvSeiPiv7WEogea0us2VCbhIwr9lsBVQ=; b=fhXjQdOekrBqDsb17lX/OYslMsPY9Lp+3puagplj5+u0ekQxdg4Ziw+tDKNep7gDea WzIVwknKea3xw8P+Swbp9JLQ7UHS1qZR7TwU90Ux5IdCjFxUGBGHlcIJTFaU2/rCwb3x 4zKsiJbFsouzdnLZrYsdoKCVbwqtV7nqwbj924dqNGtnfh1JsR1ps/oLz7dLsgsABDAN LPkPGzh64oYX+XUvUHM0DChH9VQdvpAHTUrKRIQ500eDT/3ZQE4lvhKO9N2wArCe2Le3 TBEHdWi4Aq4HK8IgogJTX61hzjSOyAq+ZovgUAZl0wYaCxmkrZBa0JFz0LrsEg7I66/2 qORw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rs2y9aOwv+jkvSeiPiv7WEogea0us2VCbhIwr9lsBVQ=; b=Kj0Er4dCscVANiITn12542fNneoeDxWqs3mAnIbnlPOUbZaqOhziJgg8zcQMUal7hD d2s3tnZbkR0SYUK9mKlq2eL4aPSfdislJFZO+AUl5K7TVXNIDlgHe40+bbPOIyX9LwVc b71Cc7obWGt6B/AntRHEPL2emCDh7EbyIB9U536kWZDubWQyIZgBG4v6UVIOJItwztzz tMEqTb6VxQkRUifhwJpcsvDE5i1rAGXWNglwodhlmQtTs4AAghOddlvET2U5/v5fA0Ne O9GBM6HEz5PRKwTffwjgMpcr+V5bF5DrrCckamDov7c3bgw68wiFTkuIxZ5RN+MBYnv4 01qg== X-Gm-Message-State: APt69E0aSOGrTg3o6pKeUyJuTf+ZByRpBJ9Sp95PnqF+3J6yG3+A/qFT RgDHW6RrLOtvOUSNBUMI8hFkgOUNmKxd8m0uQoM= X-Received: by 2002:aca:7255:: with SMTP id p82-v6mr10291635oic.256.1528225770024; Tue, 05 Jun 2018 12:09:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a8a:656:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 12:09:09 -0700 (PDT) In-Reply-To: <1528188743-12798-1-git-send-email-narmstrong@baylibre.com> References: <1528188743-12798-1-git-send-email-narmstrong@baylibre.com> From: Martin Blumenstingl Date: Tue, 5 Jun 2018 21:09:09 +0200 Message-ID: Subject: Re: [PATCH] ARM64: dts: meson-gxl-s905x-p212: Add phy-supply for usb0 To: Neil Armstrong Cc: khilman@baylibre.com, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 On Tue, Jun 5, 2018 at 10:52 AM, Neil Armstrong wrote: > Like LibreTech-CC, the USB0 needs the 5V regulator to be enabled to power the > devices on the P212 Reference Design based boards. > > Fixes: b9f07cb4f41f ("ARM64: dts: meson-gxl-s905x-p212: enable the USB controller") > Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl out of curiosity: I guess you tested this using u-boot? if anyone else is interested: the only other way to test this is by ensuring that the hdmi_5v regulator is turned off by Linux (by removing it from the HDMI nodes) and then plugging in a USB device -> if it doesn't get VBUS then the hdmi_5v regulator is the cause (and needs to be kept/turned on by the USB code, just like Neil's patch does) > --- > arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi > index 0cfd701..a1b3101 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi > @@ -189,3 +189,10 @@ > &usb0 { > status = "okay"; > }; > + > +&usb2_phy0 { > + /* > + * HDMI_5V is also used as supply for the USB VBUS. > + */ > + phy-supply = <&hdmi_5v>; > +}; > -- > 2.7.4 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic