{"id":812422,"url":"http://patchwork.ozlabs.org/api/patches/812422/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505143765-30118-2-git-send-email-philipp.tomsich@theobroma-systems.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/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":"<1505143765-30118-2-git-send-email-philipp.tomsich@theobroma-systems.com>","list_archive_url":null,"date":"2017-09-11T15:29:25","name":"[U-Boot,2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"ff20d9d378826be09a52f42b2b099bc38fbc3e70","submitter":{"id":53488,"url":"http://patchwork.ozlabs.org/api/people/53488/?format=json","name":"Philipp Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"delegate":{"id":69486,"url":"http://patchwork.ozlabs.org/api/users/69486/?format=json","username":"ptomsich","first_name":"Philipp","last_name":"Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1505143765-30118-2-git-send-email-philipp.tomsich@theobroma-systems.com/mbox/","series":[{"id":2518,"url":"http://patchwork.ozlabs.org/api/series/2518/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2518","date":"2017-09-11T15:29:24","name":"[U-Boot,1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1","version":1,"mbox":"http://patchwork.ozlabs.org/series/2518/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812422/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812422/checks/","tags":{},"related":[],"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 3xrX1l0YyTz9s7B\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 01:30:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid CB02AC21F76; Mon, 11 Sep 2017 15:29:53 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D07EFC21F09;\n\tMon, 11 Sep 2017 15:29:35 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid EEB17C21E39; Mon, 11 Sep 2017 15:29:33 +0000 (UTC)","from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id AD032C21DA4\n\tfor <u-boot@lists.denx.de>; Mon, 11 Sep 2017 15:29:33 +0000 (UTC)","from [86.59.122.178] (port=59127 helo=android.lan)\n\tby mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:RSA_AES_128_CBC_SHA256:128)\n\t(Exim 4.80) (envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1drQeQ-0003Ns-W3; Mon, 11 Sep 2017 17:29:31 +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.0 required=5.0 tests=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0","From":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","To":"u-boot@lists.denx.de","Date":"Mon, 11 Sep 2017 17:29:25 +0200","Message-Id":"<1505143765-30118-2-git-send-email-philipp.tomsich@theobroma-systems.com>","X-Mailer":"git-send-email 2.1.4","In-Reply-To":"<1505143765-30118-1-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1505143765-30118-1-git-send-email-philipp.tomsich@theobroma-systems.com>","Cc":"Albert Aribaud <albert.u.boot@aribaud.net>,\n\tKlaus Goger <klaus.goger@theobroma-systems.com>","Subject":"[U-Boot] [PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, \n\tvbus-gpio' with fixed regulator","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>","MIME-Version":"1.0","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":"On the RK3399-Q7, we need to turn on the on-module USB hub before using the\nUSB host interfaces (only the OTG interface is directly connected to the edge\nconnector).  This drops the deprecated 'rockchip,vbus-gpio' property and uses\na fixed regulator to turn on the USB hub.\n\nReferences: 26a8b80 \"usb: host: xhci-rockchip: use fixed regulator to control vbus\"\nSigned-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n---\n\n arch/arm/dts/rk3399-puma.dtsi | 12 +++++++++++-\n 1 file changed, 11 insertions(+), 1 deletion(-)","diff":"diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi\nindex 85e00ec..3899b2a 100644\n--- a/arch/arm/dts/rk3399-puma.dtsi\n+++ b/arch/arm/dts/rk3399-puma.dtsi\n@@ -108,6 +108,17 @@\n \t\tregulator-max-microvolt = <1800000>;\n \t};\n \n+\tusbhub_enable: usbhub_enable {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tregulator-name = \"usbhub_enable\";\n+\t\tenable-active-low;\n+\t\tgpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;\n+\t\tregulator-always-on;\n+\t\tregulator-boot-on;\n+\t\tregulator-min-microvolt = <3300000>;\n+\t\tregulator-max-microvolt = <3300000>;\n+\t};\n+\n \tvccadc_ref: vccadc-ref {\n \t\tcompatible = \"regulator-fixed\";\n \t\tregulator-name = \"vcc1v8_sys\";\n@@ -533,7 +544,6 @@\n };\n \n &dwc3_typec1 {\n-\trockchip,vbus-gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;\n \tstatus = \"okay\";\n };\n \n","prefixes":["U-Boot","2/2"]}