Message ID | 20180326211748.16488-6-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A74A60353 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 26 Mar 2018 21:18:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81E3C29755 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 26 Mar 2018 21:18:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75EA4298C9; Mon, 26 Mar 2018 21:18:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 01B6D298C4 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 26 Mar 2018 21:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=EPa5GH1MeaPSt3M6mLhxqlmr5svF9O1VCKEzSc5yX/s=; b=G3W72PKb0CyCI965na27reC1pt YsqcJiANigUmcxM/N5SfmSP8dP4nzqot4vNIUsPSsoF+z1VOu3X2lXWBrOs1IXsb49YR1j0N8zqwr mC9s17mVdOJbOVP5KYK/WPr4Sug6okEP5zUGvlUDRQWNriHzYyeVbvH4NG7E/X0u5MC3ECDSenexl lb6uBB81JS2Vkxd+1Ynfv4VtD3yJH9T1q3EM7psNvyebC8Q+178cYjZ0F2vRzq/DP/yC3KM4RnVxx Qhw3IQ1M+xSqsYKR51CbSv2kftFlBeWfydTSVuqj3I2mLbB14Gr8f7NoBWkkWZuRMTLX7dE1Nh0Ep g4f9B8Iw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0ZVh-0002Gz-KW; Mon, 26 Mar 2018 21:18:33 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0ZVZ-0002AL-0t for linux-amlogic@lists.infradead.org; Mon, 26 Mar 2018 21:18:27 +0000 Received: by mail-wr0-x243.google.com with SMTP id d1so8289003wrj.13 for <linux-amlogic@lists.infradead.org>; Mon, 26 Mar 2018 14:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8K3rQz00LVWbg8Kt8/7Y59AJtKCI6hVrJCUFOiDH9AM=; b=sg0fUS5CEBYa5Qb1F5YCHaDPMx2KCYCJeIFiLXrsfIXNMkqoe57meodp4Q3JRykgn8 w5NNXPIRn+qqDxnJ7zZs+9HfgKNgUOhVCJsUS16csjg0mX3tPSqnSB3DIjMBczrK+TBt nQNPlQ1C3sZ59SM6t/L1kyow9T20J7xiDBTLYjl15ply0gjOOpFb+LEC+YOBCI/AoNOv 35ghlXjYu/WE56Q/7wotmL4XD+SQU87NxhZpUSfApcsrE4/OWoq/ruSzK6hJwLR3fa7s YeCSGk/JoRXO5R8oA5YEdFNjvWblE+FMqoheJza5Oszk121vhNVQQ5o5rV/SvxCLvFsN 3D0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8K3rQz00LVWbg8Kt8/7Y59AJtKCI6hVrJCUFOiDH9AM=; b=SSq6gm+vclaSSEARN9aJGMLYHwSrkVhFcZCWT9DmtrmXF/d4GuF3jqdTxilkhhZYbb r7Xucs7xDr4EZA7BplC6qrG9qtp2FKRbVoenhKHlqQh58kGqbMAJBzZ0MBUKP4NuvNx1 oNoDbJX1lElI4B/qyeG+k2Y9uaiGgfK0JJEAsnJm4VfEqIrRAEUgLeuZeR3sPZ0V2WXr GWYJ+fBQi0sPvrmP4RsBnF0efEicR0ihjD9o1kPBs75sUKLItxdJmg/UVksTJRKji+Ht bTRLwxmhTZ8Kq6GyxXtc7cFsul01djaZ7W3xt0p4fVGHkVyhHmOEfn3UY/bVb3HOkPn0 iwRA== X-Gm-Message-State: AElRT7HPisg6FT4hVZIS7uEPhqqVqs3YHp7EdOrf0dXKPeXL1j4p7FYu +ncJrhH2rdgxQUcqIbOk8c91T896 X-Google-Smtp-Source: AG47ELuhSCb9oE9bRV7KOSk+lwtHb5AI6Au5qcseukuzoCFzqrUb+C7ivMxJWiEYk/uEwD8jgny24w== X-Received: by 10.223.156.210 with SMTP id h18mr9754044wre.109.1522099099040; Mon, 26 Mar 2018 14:18:19 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD741650468A1A7E01A883D6D.dip0.t-ipconnect.de. [2003:dc:d741:6504:68a1:a7e0:1a88:3d6d]) by smtp.googlemail.com with ESMTPSA id z3sm25025650wme.3.2018.03.26.14.18.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 14:18:18 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH v2 5/7] ARM64: dts: meson-gxl-s905x-libretech-cc: enable the USB controller Date: Mon, 26 Mar 2018 23:17:46 +0200 Message-Id: <20180326211748.16488-6-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180326211748.16488-1-martin.blumenstingl@googlemail.com> References: <20180326211748.16488-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180326_141825_084043_FBA34ED4 X-CRM114-Status: GOOD ( 12.82 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>, yixun.lan@amlogic.com, narmstrong@baylibre.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 22bf37404ff1..3e3eb31748a3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -271,3 +271,15 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&usb0 { + status = "okay"; +}; + +&usb2_phy0 { + /* + * even though the schematics don't show it: + * HDMI_5V is also used as supply for the USB VBUS. + */ + phy-supply = <&hdmi_5v>; +};
The LibreTech CC ("Le Potato") board provides four USB connectors. These are provided by a hub which is connected to the SoC's USB controller. Enable the SoC's USB controller to make the USB ports usable. Also turn on the HDMI_5V regulator when powering on the PHY because (even though it's not shown in the schematics) HDMI_5V also supplies the USB VBUS. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)