Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1917248imm; Fri, 6 Jul 2018 08:41:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfeJOl7mPnHOsHqzrWlgs55YSQVZRC5M4K5JEIH0rbus1fLomzpNHufHZqlFnvzYfyUf4dX X-Received: by 2002:a17:902:d716:: with SMTP id w22-v6mr10739085ply.98.1530891697926; Fri, 06 Jul 2018 08:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530891697; cv=none; d=google.com; s=arc-20160816; b=JDqIljAHt0ElYnRiPBO0Lno5g4vz3Fo7R3UBBMDFdcz6M56BdfI/zp+/aNM0YxmHvB W/prunT6AnIQ6ZxByT/KvVQ5DiZJ/DQWbLoFB47gsye6eyao3OyxVCYP1TJTX2iSjqxU KRbGRzzljCWRDF3ogh2hFiSF21S6zLZPU7OsRhw5J/O/j9qP0WoQ0Up4PzsbYtdFP6lm coo0ZWciR0iNCg0R9qzFKNL2hNxwim+YBLT3vtsR/3fijQeeAgpZTNRATLeBRXGzTZFN RN3GeU7BujRsZm2x8s5s6mG7f3obcLcAZ/FJCiUNjEAbnFOHSR7UFIbyFsvaO3S+vgOk sPqw== 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 :arc-authentication-results; bh=UX55iiSFu5ABk52CTEyrtxT74cJUenOIvu8enPl+Mbk=; b=jFJJ2yE/c+0dWgL7+flwuOoKajVrHYdML/A8eF7ApCVnRy3gXvVtg9qHfcCwqdFEE4 2emoSI/gPJ7jx8/1JFmzJ7WKsw6zqDNU08re1/sLDaLXa+IkcMdJp0UocG/ujn/7Sp0p glVNC+MRk3n2lVqx5RwdoFEVaE+47BnkSx64pF7hmL/mZCnyAH3N3ZmS6Vw72s4IW2Ie T7AJ3I45w/blwbFvCtrNaigk2H2To2a7hXFQoZmnquEezejORvbXfJ9hGeA5Sj+1iWT8 XzkmrPAQTdsL+kFR/oM+JP+PAWule7sElCKtaXhF72+1omh26zAZ+ueR2tR7fGbeo3oP oTRg== 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 a12-v6si7706879pgv.296.2018.07.06.08.41.14; Fri, 06 Jul 2018 08:41:37 -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 S933418AbeGFPjb (ORCPT + 99 others); Fri, 6 Jul 2018 11:39:31 -0400 Received: from hermes.aosc.io ([199.195.250.187]:53473 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932703AbeGFPj3 (ORCPT ); Fri, 6 Jul 2018 11:39:29 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id F0C49643CB; Fri, 6 Jul 2018 15:39:03 +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 v2 0/9] Allwinner H6 USB support Date: Fri, 6 Jul 2018 23:37:56 +0800 Message-Id: <20180706153805.25842-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. This revision adds the USB2 support, and places it before the USB3 support. So only the USB3 part will have changelog in this revision. The first 5 PATCHes are the USB2 part, and the latter 4 PATCHes are the USB3 part. PATCH 1, 2, 6, 7 should go through the PHY tree, and the remaining patches should go through the armsoc tree via sunxi tree. Icenowy Zheng (9): 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 .../bindings/phy/sun50i-usb3-phy.txt | 24 +++ .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 46 +++++ arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 114 ++++++++++ drivers/phy/allwinner/Kconfig | 13 ++ drivers/phy/allwinner/Makefile | 1 + drivers/phy/allwinner/phy-sun4i-usb.c | 26 ++- drivers/phy/allwinner/phy-sun50i-usb3.c | 194 ++++++++++++++++++ 7 files changed, 416 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/sun50i-usb3-phy.txt create mode 100644 drivers/phy/allwinner/phy-sun50i-usb3.c -- 2.17.1