From patchwork Wed Mar 11 06:50:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 243497 List-Id: U-Boot discussion From: chunfeng.yun at mediatek.com (Chunfeng Yun) Date: Wed, 11 Mar 2020 14:50:37 +0800 Subject: [PATCH 0/8] Add support for MediaTek xHCI host controller Message-ID: <1583909445-27444-1-git-send-email-chunfeng.yun@mediatek.com> The series of patches are used to support xHCI host controller on MediaTek SoCs which has a glue layer IPPC (IP Port Control), and add USB function on T-PHY including T-PHY V1 and V2; Finally add USB related nodes for MT7629 platform. Chunfeng Yun (8): phy: phy-mtk-tphy: add support USB phys phy: phy-mtk-tphy: add support new version phy: phy-mtk-tphy: add a new reference clock dm: core: Add function to get child count of ofnode xhci: mediatek: Add support for MTK xHCI host controller arm: dts: mt7629: add support usb related nodes dt-bindings: phy-mtk-tphy: add properties of address mapping and clocks dt-bindings: usb: mtk-xhci: Add binding for MediaTek xHCI host controller arch/arm/dts/mt7629-rfb.dts | 8 + arch/arm/dts/mt7629.dtsi | 41 ++ doc/device-tree-bindings/phy/phy-mtk-tphy.txt | 78 ++- .../usb/mediatek,mtk-xhci.txt | 40 ++ drivers/phy/phy-mtk-tphy.c | 313 ++++++++++- drivers/usb/host/Kconfig | 6 + drivers/usb/host/Makefile | 1 + drivers/usb/host/xhci-mtk.c | 508 ++++++++++++++++++ include/dm/ofnode.h | 17 + 9 files changed, 987 insertions(+), 25 deletions(-) create mode 100644 doc/device-tree-bindings/usb/mediatek,mtk-xhci.txt create mode 100644 drivers/usb/host/xhci-mtk.c