Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp912742imm; Thu, 4 Oct 2018 05:31:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV61aU6A8b68E0NNZR390BcbSmDKl9y8/fmQeB8tnjUJT2MKpx4gpcbiq9dFjpQnAOxKV19pF X-Received: by 2002:a62:f58a:: with SMTP id b10-v6mr6624250pfm.253.1538656263653; Thu, 04 Oct 2018 05:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538656263; cv=none; d=google.com; s=arc-20160816; b=Uzyq5FE3jLU/zUrp1Gvm8XFx7645HQl7/buawRh1e59rs9j+TGuz+aTrlwjZuSSLh9 Uo5vQ6mh6AsKGmfrwL4rBQbutxkj2CMct/FTAHvDUnqUaWIMB522mDEt179KPzAnyJrR ColFc2lAXsK73BlNu75aPxsOsXOkc/OOSQK8JXDsr96H7orbSEfA8KMWXc0FKm7m6y0I 9gr0HT023tZuxBdWp7JzH+SNkByRUevbFpGbIBzHucKRTxNF2CFcOXtHQl/oMyJs4mgJ EO+wZw/WuTbTBTTzfTj+7NDFKfKVoufnNV5nURcGjBwiXWwohKn3U4dS/nXfruFt4W0G hT3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=5Eh3yWQNL5AywNUMguK9zxPXwfWNtryC422fT7zGvT8=; b=aTv9lazE3zBBUUDTScQkYoJkRVdr3qe/XLXUTVDHQuc5/g+SzXdE5Z3cepcDC3j1uX aiXV8/GEO0Lbc9cc4GKZUyFHcwtVVpSfrjjttQLNZbz5H3Fntk4HxFSfCMxDAHS7z1NB UbWRsG2s8t+URl0VcsWV+705CyqATCxOxLoQDc6loi6jJV64ZD1lMgNZ2uQt8hEcg516 F70ZAYJrg0Yoch1BUCgwYNeoa3RdvwY+tzdRU/63BEeBIPZR0tVm7GLnfi0UFLDOW1NC YZgZm3pHZ2AvFcOQQttNIzOBZyOMqpqRulCzhxGYWOBpwbyVVj4LA/m9GdHXHIIhSUhp TmtA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21-v6si4082489pgh.167.2018.10.04.05.30.47; Thu, 04 Oct 2018 05:31:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727617AbeJDTWU (ORCPT + 99 others); Thu, 4 Oct 2018 15:22:20 -0400 Received: from hermes.aosc.io ([199.195.250.187]:43902 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbeJDTWU (ORCPT ); Thu, 4 Oct 2018 15:22:20 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id BD06E6687F; Thu, 4 Oct 2018 12:29:11 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v4 00/10] Allwinner H6 USB support Date: Thu, 4 Oct 2018 20:28:45 +0800 Message-Id: <20181004122855.22981-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces support for the USB ports (both USB2 and USB3) on the Allwinner H6 SoC. The first 6 PATCHes are the USB2 part, and the latter 4 PATCHes are the USB3 part. PATCH 1, 2, 3, 7, 8 should go through the PHY tree, and the remaining patches should go through the armsoc tree via sunxi tree. Icenowy Zheng (10): dt-bindings: phy: add binding for Allwinner H6 USB2 PHY phy: sun4i-usb: add support for missing USB PHY index phy: sun4i-usb: add support for H6 USB2 PHY arm64: allwinner: dts: h6: add USB2-related device nodes arm64: allwinner: dts: h6: add USB Vbus regulator arm64: allwinner: dts: h6: enable USB2 on Pine H64 dt-bindings: phy: add binding for Allwinner USB3 PHY phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC arm64: allwinner: dts: h6: add USB3 device nodes arm64: allwinner: dts: h6: enable USB3 port on Pine H64 .../devicetree/bindings/phy/sun4i-usb-phy.txt | 8 +- .../bindings/phy/sun50i-usb3-phy.txt | 23 ++ .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 46 ++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 113 +++++++++ drivers/phy/allwinner/Kconfig | 12 + drivers/phy/allwinner/Makefile | 1 + drivers/phy/allwinner/phy-sun4i-usb.c | 26 +- drivers/phy/allwinner/phy-sun50i-usb3.c | 239 ++++++++++++++++++ 8 files changed, 463 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt create mode 100644 drivers/phy/allwinner/phy-sun50i-usb3.c -- 2.18.0