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=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 DED22C43460 for ; Wed, 21 Apr 2021 04:30:45 +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 5BE2761419 for ; Wed, 21 Apr 2021 04:30:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BE2761419 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org 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: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:In-Reply-To:References:List-Owner; bh=SumesJX4JzXu3rVqh4CnxTWSq90vZkOxScoNH/zi2EA=; b=DeSaSo3BJKv/0nqHuKnV/S1Eof tfo9JeS1kx0j4QB0mujbZS23+G7m1QCWJss4X0NyfnXUhEHazwYPbrjk5hqlIQ/oMPufpEsOinSap +hGtC8Ih4mMuq66RR3eY6IilzlNjrJ8qxx2IgG0486v3QXzdtWAxa/3eg60AwYoa3oyz7beDEXygd VZO8Ry0RyepUsGEKZA8LdeKigMh0NqwuXWOmPyVLflimQqKvne5LJc2X83aePz8rZSL0U8vUNKgGh vXTjWdxcPUEaqWpfd/JibbpBcOeUKRsrKxq8Mc2K85H0wty4ab0GxSztAuitsGVUoLU9jE0S9Wpta D4/PqvPA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZ4UB-00Dcrx-Ov; Wed, 21 Apr 2021 04:29:11 +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 1lZ4Ts-00DcqZ-1M for linux-arm-kernel@desiato.infradead.org; Wed, 21 Apr 2021 04:28:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=YXnwjaQf4TTDuRmPezz8p5W4Jgqo7LkSPHQCWgY88+M=; b=HgtQFZbGIO1fwm3riIOFEc3G4Y 5drbmBDik0j4zzouNmykxzQdzIHDIpEmV8HlIeXUkewnCmaD1bOWF1d4pe+vgEOvv9XpOOLLVnmav t/RxBQH3VxXGv9TGpwAvspZwE8T6aA4j45RhoPnuHjEQ+Rrkw1yryOdep5hHcBoY1pV18pMLIRtAr PR/qFq6RW/7cq97zyGZ2t1HUfyNvS+3WeFK4hMM06X//FqhJAk30/dS7hpdiIPkHECF/NteLBGn7n AxmIG3xnXG5UCKFilnae2CmOUyEFf3kpCHrw7O2MWjiSRGkiqo6DnRsYXZ5rFvCTFjN3HcRRR+aRn AqxyR4+w==; Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ4Tj-00CaY1-Li for linux-arm-kernel@lists.infradead.org; Wed, 21 Apr 2021 04:28:50 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 208A9580E36; Wed, 21 Apr 2021 00:28:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 21 Apr 2021 00:28:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=YXnwjaQf4TTDuRmPezz8p5W4Jg qo7LkSPHQCWgY88+M=; b=YLEYDOnSCY6uJsLXSQ1JmuVG3Rzr6SOCgxRZkoWcjZ eKEbd0oUunvLRN3plY3ecTweyhZIjOVKXDoXvasqSMM+mKMZcxf78gcXBIRFUWbH aj1Rv/nWsFhF/Pqu0ViG8Yg9L3VikT9o5pJ7b7qIxxSojIx4gOQmffuqYn1I31mS jpC7946qWIdiwcSgSB8XSBEdxLVBG+6MmVNbXgrn+0VI9c6efMg7XQHUfp/DU3J3 0d+7GrQnt+lZptomaQ32Dcg4e1JUutxUpNjcKCB6bAXE1rQ6g2tSYik0DJiDak5k n90tdtf5Tg5BRGQp7Y4cHGwkfGsb6egSx39bV3epCu7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=YXnwjaQf4TTDuRmPe zz8p5W4Jgqo7LkSPHQCWgY88+M=; b=IQQMKATz/C5peZqJUjIwgisq89Je0gnVq MB8u3OKT0EePtYp+RDv6vpHXwSU5O+KoKolpLs9OhSizsUEOdx2YVklXSQpTgeQ5 tm6Ewq0K+QJn3SxJKzryMZ4qjWq6KROi/pDOO1sYgNeng/xs8IYlBnjFNQrkBiEX YPxPMuJF7xzOYN4pTIIdemFviBKYrAzh6o9uzQzVzRMEEfdFovp5EKQ9rySys+ZH 5mLbDu5hk7pZyTupbQTv2nvzu8DLhcqRbAAIY36lpg7gfRJ2G/sdSvXYl8lfSzOq ZpAUmfz5HLVIBHVOwr1cuBICOnK0s3ezy1L017gLRrS+Z4nu43TpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtjedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeeiteekhfehuddugfeltddufeejjeefgeevheekueffhffhjeekheeiffdt vedtveenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdr ohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 9AB9D24005A; Wed, 21 Apr 2021 00:28:35 -0400 (EDT) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Andre Przywara , Greg Kroah-Hartman , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Samuel Holland Subject: [PATCH 0/2] Allwinner H6 USB3 device tree updates Date: Tue, 20 Apr 2021 23:28:32 -0500 Message-Id: <20210421042834.27309-1-samuel@sholland.org> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_212843_810118_06BAE24D X-CRM114-Status: GOOD ( 10.41 ) 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 While implementing support for this USB controller in U-Boot, I noticed that the reset line alsp affects they PHY. It looks like most platforms use a separate glue node to represent this, and in fact there is already a compatible for the H6 listed in drivers/usb/dwc3/dwc3-of-simple.c. Since this layout matches the usual way of modeling this hardware, it allows using the existing drivers without adding platform-specific code. Samuel Holland (2): dt-bindings: usb: Document the Allwinner H6 DWC3 glue arm64: dts: allwinner: h6: Wrap DWC3 and PHY in glue layer .../usb/allwinner,sun50i-h6-dwc3.yaml | 75 +++++++++++++++++++ .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 6 +- .../dts/allwinner/sun50i-h6-orangepi-3.dts | 6 +- .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +-- .../dts/allwinner/sun50i-h6-tanix-tx6.dts | 6 +- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 60 ++++++++------- 6 files changed, 115 insertions(+), 47 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/allwinner,sun50i-h6-dwc3.yaml -- 2.26.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel