From patchwork Tue Jul 24 12:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABE7E180E for ; Tue, 24 Jul 2018 12:54:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 989A82874A for ; Tue, 24 Jul 2018 12:54:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D24D287AA; Tue, 24 Jul 2018 12:54:06 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 474E52874A for ; Tue, 24 Jul 2018 12:54:06 +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=1NaCix9hhj2FhQ1jbmOUTDZBK/gbGipQD1CXn6HCADI=; b=NEGPc7gkXy5SivbT75iTayHIiC HSarQJv0Vso28uapp48O0AZrWpztVso0B67sno4IUvmf6aXXLPyrqjTbVBQgUUBcXKb6xoMVJWJQo 8ZVWVpvZy/pvmKJgcToxuMfGooIupq+pW402xMSd1AeJPHTcFtv0RPUm5JdvJSJ6cCkf2Jt6ODJF9 fS3Hy9enCB3efz7A2xvqB54THa+YEqEyH63Tl3UrTRm2vlW1XQrinuVPw6ezQ8twmtll4hG1Yp7w7 X3lVM4rp64dBgf5t8OV7DUSM2Q+3pOp5mp+jGqzQ51UcgNxKN2C76dI/8lmCBM60A+m1zlzPbH4ii oBf6/Z/Q==; 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 1fhwpI-0006Nc-2K; Tue, 24 Jul 2018 12:54:04 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoL-0005Ff-Cl for linux-amlogic@lists.infradead.org; Tue, 24 Jul 2018 12:53:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id b15-v6so4017097wrv.10 for ; Tue, 24 Jul 2018 05:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=gy5fFWpqsJdyckhkfN5bsvi13woRtOzcz0o5HyJJX/Tfo3eBHgyH3eyIUw/4VsQbtu h4tSwrtXxgmzTvAvcnEJ6sUrZQla066GdYzOP9UfMJxGv5pH1wtIhN0PCpaWXBeqQi2/ Ec5EbbuwAFttvLrk9/V8pVzyyAVdMj+dYn5Pu8Y39ffx/3zpHN+zZ0uebb4j4nPR6MzL 2z0OsNUKVMWzlBOwjuVc4fk0FqVFXmYuOPog1lUJdhj5fZpveZIu6NqwDPEJmkMHZoXI OCONQ/rxM63LKl2JLbUj8f6NpGfJg29PATff2AL01ieqiy4xzYNwobVOFFprPsIsON22 97YA== 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=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=mk+c/x1ptBrv0lMN1AaVswHMeiChkERv1dGgWl1Qku8sRXHkw8bc0wRKo6gfHF+gQE d6M/WuFhzvHgYGb/DhhRJzqwPcS32CHIZ45BHPZ/lFV8qgHgoK9Ifw52OBarX0zylb9w MiBn2VqHIWomgKnYy4W7/arSDhTnL+Dy97GXo1KUQhTxIitpJSbr8jfwc2qXzBkbwr16 x+zLMXtrZQnUcC4jNOlS13b7ayAwN3bVDCMJcPlwSPiC73FBb8MQWH7fcuTPxsJMAq+k 1X7mw/CLc0iBw11al8Q5fFmPjrvaCgQ7bcCjEZW5oFeyJcncMmWSo1YcUjpdDfeKJwnO Kdbw== X-Gm-Message-State: AOUpUlF/EqtvqOhOk1zJUdVipSYdiePB8p1nyUQjl9nw3hBkN3nYhqDg coYoaM1J8W4eLb6ZPlAHWlY0WCY4nb7ovQ== X-Google-Smtp-Source: AAOMgpehcpI8PNsetfDD7S6afxwcleXgtJmqHZbVBtotqUwphCIvN7AnuChtNataE0Di/8TRXKUTlw== X-Received: by 2002:adf:f390:: with SMTP id m16-v6mr11167785wro.279.1532436773840; Tue, 24 Jul 2018 05:52:53 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 03/14] arm64: dts: meson-axg: add usb power regulator Date: Tue, 24 Jul 2018 14:52:27 +0200 Message-Id: <20180724125238.14567-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055305_439316_7377BC1D X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The usb power regulator is supplied by the vcc 5v regulator and controlled by a GPIO. This will be needed to enable usb. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 5937d8c3a6ed..7489b88f27d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -115,6 +115,17 @@ enable-active-high; }; + usb_pwr: regulator-usb_pwr { + compatible = "regulator-fixed"; + regulator-name = "USB_PWR"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_5v>; + + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;