Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4526869imm; Sat, 21 Jul 2018 22:59:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3V17ZVzhRXQ8vk63H3JBKRjoFNGi0JJPUcwlMG92zbP/4iSQAp67LLlhKywXF/M3/Lgon X-Received: by 2002:a62:700a:: with SMTP id l10-v6mr8169781pfc.71.1532239164297; Sat, 21 Jul 2018 22:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532239164; cv=none; d=google.com; s=arc-20160816; b=Spg1qHvcGkd8Yg9q96r+Dg9jOX9mZvHFCAvCq2o80nAHT8nNcr1rmXAT0/ZvVqOvhe V9XdKwwwK3xv3kmBT8AQehJqhF516zGkU3QXKJfSKpYFkEPHCk/hgC5Ag4nt/j7jGOde 1BclNvkyD/JfyGc8LEV11femXJ62qf2axi4ZIM3xAH0ysQAHaqOEs7g15D6wZ0UTRdR+ XY9StzlHbI0pera3YUZGwtCvlY5mRuwtMyxnIDf0BTBuSrUr0+koAZVqTuAoq/6fcCyQ aWmq6efLJbFIHvM8kDWyLnPQTahiLeu0zGS8duw9xsY+a9TdxZEF8r1FX5f9fpNzMbsk Uzxw== 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=D+LoyGvsNFh7H3BQZDnaYX4YA9hfknMw1H7cSu8yR50=; b=FYWtXYZZhrlctyG03Y0oA1bOZ7ZmRogTNRPHoRzwFmYtfKoZvsn+LIEm/sP9joeIB9 YS0Q2RawtxikeW9e5Kpzw82NpaO3M0D3PrtT9LPI/ejjKkb/nEWGFVV/Y6R81eGrdZF0 NYfU1k6qGdy/GJraolDmCOFQMjR15r5VBOAKua+ntwJ/jTwt1vbgmdPz3rod0D40tnpB CG4XCIwpHWz9lGs0sF8KqQllAEZKtVYeBaCx8v25f1w7KIUUqqS2sqVnrBuJMHgNOGUK vzfByPGBwDif7tkcfjmF8p+zg2+aAhBEdssXjCBLoXSoVpfgkZ+hf3Jgmp8alFwPzFw4 0BWQ== 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 1-v6si5386841plv.16.2018.07.21.22.59.09; Sat, 21 Jul 2018 22:59:24 -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 S1727993AbeGVGxv (ORCPT + 99 others); Sun, 22 Jul 2018 02:53:51 -0400 Received: from hermes.aosc.io ([199.195.250.187]:45354 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727768AbeGVGxv (ORCPT ); Sun, 22 Jul 2018 02:53:51 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 11CEA9F163; Sun, 22 Jul 2018 05:58:15 +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 v3 0/9] Allwinner H6 USB support Date: Sun, 22 Jul 2018 13:57:30 +0800 Message-Id: <20180722055739.26464-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 | 113 ++++++++++ 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, 415 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.18.0