{"id":810025,"url":"http://patchwork.ozlabs.org/api/1.2/covers/810025/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/1504602267-31283-1-git-send-email-patrice.chotard@st.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504602267-31283-1-git-send-email-patrice.chotard@st.com>","list_archive_url":null,"date":"2017-09-05T09:04:17","name":"[U-Boot,v10,00/10] STiH410-B2260: add reset, usb and fastboot support","submitter":{"id":63958,"url":"http://patchwork.ozlabs.org/api/1.2/people/63958/?format=json","name":"Patrice CHOTARD","email":"patrice.chotard@st.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/1504602267-31283-1-git-send-email-patrice.chotard@st.com/mbox/","series":[{"id":1524,"url":"http://patchwork.ozlabs.org/api/1.2/series/1524/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1524","date":"2017-09-05T09:04:18","name":"STiH410-B2260: add reset, usb and fastboot support","version":10,"mbox":"http://patchwork.ozlabs.org/series/1524/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/810025/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmh0b2z2mz9s4q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 19:16:15 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 15300C21EEF; Tue,  5 Sep 2017 09:07:55 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AF22EC21F88;\n\tTue,  5 Sep 2017 09:07:35 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 62A45C21F88; Tue,  5 Sep 2017 09:06:04 +0000 (UTC)","from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com\n\t[91.207.212.93])\n\tby lists.denx.de (Postfix) with ESMTPS id 445FDC21D8C\n\tfor <u-boot@lists.denx.de>; Tue,  5 Sep 2017 09:04:42 +0000 (UTC)","from pps.filterd (m0046661.ppops.net [127.0.0.1])\n\tby mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv857cru3019878; Tue, 5 Sep 2017 11:04:31 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx08-00178001.pphosted.com with ESMTP id 2crp3j8p9q-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tTue, 05 Sep 2017 11:04:31 +0200","from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 56ACA58;\n\tTue,  5 Sep 2017 09:04:30 +0000 (GMT)","from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 38B94110C;\n\tTue,  5 Sep 2017 09:04:30 +0000 (GMT)","from localhost (10.75.127.50) by SFHDAG6NODE3.st.com (10.75.127.18)\n\twith Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tTue, 5 Sep 2017 11:04:29 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"<patrice.chotard@st.com>","To":"<u-boot@lists.denx.de>, <albert.u.boot@aribaud.net>, <sjg@chromium.org>, \n\t<jh80.chung@samsung.com>, <marex@denx.de>","Date":"Tue, 5 Sep 2017 11:04:17 +0200","Message-ID":"<1504602267-31283-1-git-send-email-patrice.chotard@st.com>","X-Mailer":"git-send-email 1.9.1","MIME-Version":"1.0","X-Originating-IP":"[10.75.127.50]","X-ClientProxiedBy":"SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG6NODE3.st.com\n\t(10.75.127.18)","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-05_03:, , signatures=0","Subject":"[U-Boot] [PATCH v10 00/10] STiH410-B2260: add reset,\n\tusb and fastboot support","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"From: Patrice Chotard <patrice.chotard@st.com>\n\nThis series adds :\n\t_ update existing sdhci driver to use reset framework\n\t_ add usb phy driver\n\t_ add fastboot support\n\nWith all this feature enable, it's now possible to \n\t_ boot on usb mass storage device\n\t_ boot from kernel image and dtb previously loaded using tftp\n\t_ update mmc partiton using fastboot\n\nv10:\t_ rebase on top of v2017.09-rc4\n\t_ remove obsolete CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS in include/configs/stih410-b2260.h    \n\nv9:\t_ update doc/device-tree-bindings/phy/phy-stih407-usb.txt requested by\n\t  Marek Vasut in patch 4\n\t_ move inclusion of linux/usb/otg.h from include/dwc3-sti-glue.h to drivers/usb/host/dwc3-sti-glue.c\n\t  requested by Marek Vasut in patch 7\n\nv8:\t_ update failpath label names in path 7 requested by Marek Vasut\t\n\nv7:\t_ rebase on top of dm/master to use last livetree update\n\t_ replace fdtdec_parse_phandle_with_args() by dev_read_phandle_with_args() in patch 4\n\t_ replace uclass_get_device_by_of_offset() by uclass_get_device_by_ofnode() in patch 4\n\nv6:\t_ generic ehci/ohci drivers extension has been send separately\n\t_ add reviewed-by Simon Glass\n\nv5:     _ extend generic ehci with phy\n\t_ extend generic ohci with clock, reset and phy\n\t_ remove specifi STi ehci and ohci drivers and use generic ohci/ehci\n          ones\n\t_ update stih410-b2260 device tree to use ehci and ohci generic\n\t  drivers\n\nv4:     _ use PHY uclass currently available on dm-next branch,\n\t  update sti ehci, ohci and xhci drivers to use new PHY uclass.\n\nv3:\t_ remove reset driver (already applied on u-boot-dm tree by Simon\n\t  Glass)\n\t_ patch 4: add new USB PHY uclass requested by Simon Glass\n\t_ patch 5: convert STi usb phy driver to new USB PHY uclass\n\t_ patch 6/7: update echi/ohci drivers to use USB PHY uclass\n\t_ patch 8/9: rework xhci-sti.c and dwc3-sti.c. Previously, xhci-sti driver binded\n\t  dwc3-sti (STi glue driver) which was not correct. Now we respect the device \n\t  tree hierarchy, ie the STi dwc3 glue driver is first probed, then bind the\n\t  xhci-sti driver.\n\t\nv2:\t_ add Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> in patches 2,3 and 4\n\t_ fix remarks done by Marek Vasut :\n\t\t_ patch 5 : replace bitfield_replace() by clrsetbits_le32()\n\t\t_ patch 6 : update error messages and add remove callback\n\t\t_ patch 8 : put board specific defines in a separate patch\n\t\t_ patch 7: use setbits_le32() instead of read, modify, write\n\t\t  sequence and add missing parenthesis\n\t\t_ squash previous patches 7,9,11,12,14,16,17,18,19,20 and 21\n\t\t  in patch 14\n\nPatrice Chotard (10):\n  mmc: sti_sdhci: Rework sti_mmc_core_config()\n  ARM: dts: stih410-family: Add missing reset_names for mmc1 node\n  mmc: sti_sdhci: Use reset framework\n  usb: phy: Add STi USB2 PHY\n  STiH410-B2260: enable USB Host Networking\n  STiH410-B2260: enable USB, fastboot, reset, PHY related flags\n  usb: dwc3: Add dwc3 glue driver support for STi\n  ARM: dts: STiH410: set DWC3 dual role mode to peripheral\n  ARM: dts: STiH410: update ehci and ohci compatible\n  board: STiH410-B2260: add fastboot support\n\n arch/arm/dts/stih407-family.dtsi                 |   3 +-\n arch/arm/dts/stih410.dtsi                        |  11 +-\n arch/arm/include/asm/arch-stih410/sys_proto.h    |  11 +\n board/st/stih410-b2260/board.c                   |  42 ++++\n configs/stih410-b2260_defconfig                  |  39 +++-\n doc/device-tree-bindings/phy/phy-stih407-usb.txt |  24 +++\n doc/device-tree-bindings/usb/dwc3-st.txt         |  60 ++++++\n drivers/mmc/sti_sdhci.c                          |  62 +++---\n drivers/phy/Kconfig                              |   8 +\n drivers/phy/Makefile                             |   1 +\n drivers/phy/sti_usb_phy.c                        | 181 ++++++++++++++++\n drivers/usb/host/Kconfig                         |   9 +\n drivers/usb/host/Makefile                        |   1 +\n drivers/usb/host/dwc3-sti-glue.c                 | 257 +++++++++++++++++++++++\n include/configs/stih410-b2260.h                  |  15 ++\n include/dwc3-sti-glue.h                          |  41 ++++\n 16 files changed, 729 insertions(+), 36 deletions(-)\n create mode 100644 arch/arm/include/asm/arch-stih410/sys_proto.h\n create mode 100644 doc/device-tree-bindings/phy/phy-stih407-usb.txt\n create mode 100644 doc/device-tree-bindings/usb/dwc3-st.txt\n create mode 100644 drivers/phy/sti_usb_phy.c\n create mode 100644 drivers/usb/host/dwc3-sti-glue.c\n create mode 100644 include/dwc3-sti-glue.h"}