From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E71C5C433B4 for ; Mon, 10 May 2021 15:32:39 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60695611BE for ; Mon, 10 May 2021 15:32:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60695611BE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/eo7Xms87lyAoz40/ptwDZmzUHD5eu40TN7WzfSoPP4=; b=ieTAZRpKnLHqcej16JY5hmPgN fz0eAx06Wk1fkvRO2UoT5LWv7Y9TIqlJJqPvfsnhr5iPV+ORhe4jPx+dxFcC7fdiCPlu46BGnMh77 9PCX4Sk6MHSsD+4Cne+7VasYYgx8cCb2gSGnjynmpvhAmYB266aewkcPa1eGCsb5x+cvhuSmtoV5q rwaDCf6Z+ru7vtMcg8VmU4TMcwCh1kls1encBwYWlY+53TjuLNx1zhHzTZMrQZkzMeNnziGvbX4tm AqXxA34LLaMQIZStX0+4XD/Edx8jznAzTT7fs/hsmTUiQLYoMYCDaThlKb8O1Z98dMhNnUjQ11FeZ MEem+cmaA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg7rz-00Emje-G7; Mon, 10 May 2021 15:30:55 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg7rw-00EmjT-2h for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 15:30:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=BIpftz5QKaqbdczxyxTMwM8Y/OLzgltNif3KujXG5rU=; b=rMiD6GKCi7egz7bUhh2BiGjm52 U4+65Kkmxd0OU/91B1kGSfLZ8VBbn8BLgJXU6Y8NvvcUtevThbbo0DBlRAM06RvulJzvThdPC9aTV srl0Jcqc7HZHCwUMtGYofzPa0a6qaSfUu0TYUb105FCZQ9no6lmAUP0KZMNJBFEPeY3h3FMDWTjIc V3FMs1qFMiqgHUYAyqtqt/sirySBtcFzFj7j9AQLSGADmr/BVf7yC1MSo/ZZbYAkM64VKzLPRBNVl u6FJ9zxOzkWnAPDkxMH+D42fbwr39Fuv4BmbibCZnauQzvUxH2cT2Zs64I788N6Ud/lPOZHmY0Txi 1ZYcurOA==; Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg7rt-008s6A-4Z for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 15:30:50 +0000 Received: by mail-wm1-x330.google.com with SMTP id b11-20020a7bc24b0000b0290148da0694ffso11407639wmj.2 for ; Mon, 10 May 2021 08:30:47 -0700 (PDT) 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=BIpftz5QKaqbdczxyxTMwM8Y/OLzgltNif3KujXG5rU=; b=DqkSjiy4YmypNkE5TQC+Wlabp95BO/iGGaqY2XM/1MAevutq75qI++4Ggz0EIsaQzE +cruWV04cD0qoKs2VblpL5cWhYq8m74vdt0PmFdwMtc9rt1X9WL4f/tYZPn1QWF+ZYVC 3yq+i3dFmtZ6BomH+YVaQ8zuT1rzB+Ve6HC8JOe9oXe3SSWkjh6YmoV+uEMlwrthy5Ae nJ3YejhbM47/W+zKt72oss6w/0pnVvoa+f+6jc3Jv7FwgGuIjAGZz7+cp/++U801VsOb kkMSBpK0quUyN8HSOGVyFdWfVl1zDn2gM2lMJM+U0lO2Ymub3wWLRmlI2HnYIe19xW9u fW1A== 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=BIpftz5QKaqbdczxyxTMwM8Y/OLzgltNif3KujXG5rU=; b=T9dqrv+hfS+1ZPPwzBlmEDeMmL4nTPXHeKJwJIlaQ7c78ZtA2URo9Ulao0JYtA1mse /BkrNXChzXaMS5Ld6lmE9J6d3Ygl5lxLBgQ62YaH8lk6/z+7olQr9QdwqupjHSwVHZ0Y KJ/kobp0q95zfyodTIpgdB3FiM+xWHTAHbikzT1sLrdZbW8A08TZF/tIbcVZI9EF0A55 ubEGV61h3hSc+3u+aF0SSaqnivGqbzsJbWkJIvzCAxUmb2sAlHE+Qp6v9C+iJYYssuhg t5yarNp9V6H4lo8oG+GDMa+eMKHlu/wqV9Pdsc8Z1uG0B2g0w/AbAa7CY34hZ3KOpcRI c2ew== X-Gm-Message-State: AOAM530CRhPI2oLbrhtzUQARamc0ZO8pMTqZ0HXkk7XzvVIuSTmXlm1O /Krw0B4bqg7XaUmMYeQEyaI= X-Google-Smtp-Source: ABdhPJwZRoaeQtZWSrmI8dVBe7amjp6/ZX2fc1ylbmWzbySigiBRWFKDVeUbBjDHJrAiyhbAKKn6+A== X-Received: by 2002:a05:600c:154a:: with SMTP id f10mr27351030wmg.31.1620660646776; Mon, 10 May 2021 08:30:46 -0700 (PDT) Received: from kista.localnet (cpe-86-58-17-133.cable.triera.net. [86.58.17.133]) by smtp.gmail.com with ESMTPSA id 61sm25983049wrm.52.2021.05.10.08.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 08:30:46 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Andre Przywara Cc: Icenowy Zheng , Samuel Holland , Corentin Labbe , =?ISO-8859-1?Q?Cl=E9ment_P=E9ron?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev Subject: Re: [PATCH] arm64: dts: allwinner: Pine H64: Enable USB 3.0 port Date: Mon, 10 May 2021 17:30:44 +0200 Message-ID: <2288435.7XXmsQVVxE@kista> In-Reply-To: <20210510130119.6534-1-andre.przywara@arm.com> References: <20210510130119.6534-1-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_083049_210871_46673E18 X-CRM114-Status: GOOD ( 17.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Andre! Dne ponedeljek, 10. maj 2021 ob 15:01:19 CEST je Andre Przywara napisal(a): > The Pine H64 board features an USB 3.0 type A port, which works just > fine. > > Enable the controller and USB PHY in the .dts to make it usable. > > Signed-off-by: Andre Przywara > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/ arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > index 1ffd68f43f87..9061c9913f4c 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts > @@ -89,6 +89,10 @@ > status = "okay"; > }; > > +&dwc3 { > + status = "okay"; > +}; > + > &ehci0 { > status = "okay"; > }; > @@ -332,3 +336,8 @@ > usb3_vbus-supply = <®_usb_vbus>; > status = "okay"; > }; > + > +&usb3phy { > + phy-supply = <®_usb_vbus>; > + status = "okay"; > +}; > -- > 2.17.5 > Exactly the same patch was already proposed by Icenowy. In short, PHY is powered by internal power and doesn't need phy-supply property. It's connector that needs power supply. One of her latest attempts can be found here: https://lore.kernel.org/patchwork/cover/1058917/ Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel