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: 10542103 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 54AB6184F for ; Tue, 24 Jul 2018 12:53:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 427692874A for ; Tue, 24 Jul 2018 12:53:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36C50287AA; Tue, 24 Jul 2018 12:53:58 +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 3DE142874A for ; Tue, 24 Jul 2018 12:53:57 +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=mKYDUQon8ooWD4D3ehx3eaAik4jK1t5XLXESviHgFLo=; b=lFU/q4NdQXLqwsJ+KZ6Tj67eFg Vg4+YxgSBYeNTxddFhephFbpgWXWjWrWoYUsPe5OgUUBUj7PSqDxGpBIg5Fc29eCOgZOjhJiciuh/ bpfG47DDV1eKnSOSmDTuHz51kvjrLJwDJGhQ8s04esgUfXLQvOVYt53xcKWCssC3dIM02ekDppRq/ Ee8bpMtltmiYutlwa/xTXNbIeGP9vdYO1mh5zdEeLwSEHc0p9EaRjPyk1oduFES47u+vlWe7DfrRG lBwaE9S4OYbR8ik2gv3DaseJrL3t/xaair1FcOH733iSuitmDP2sufSTX4WSWAOFk66W/USC41wIO TLM2ZCjw==; 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 1fhwp5-000697-Pu; Tue, 24 Jul 2018 12:53:51 +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-0005Fg-Co for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id h9-v6so4044083wro.3 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=uRC/KZo2bAAWnMmJAbLr7utaC0y4FxRKo2GMws5TYkGUMxOdilWYOK5HhxkuvbsXSg U/6SNLABrez4HZHAdTeUzlhM0SYZLFFl1ZhkPRlmn61aYhPSfnOsd3aP3lzKOYLkda4d X0H0RuWDK4xgLqFOP1ygcC4ywEydxey4ZTWVu4y0kDY/PJYP/AwpH4q4msh13Ad4sPmj Gl5gGpagSfTIoFK8lCGr94A+AtaMDBe0Ziamarh2mZFxPwbHVZFfZdx01y26WFtfARqu nXg93sLxmrPaY20FHKShny2J6LY9pDw/OWBG3o39PRfaSpbOO3SnUOx/0MU566hLZiZl /hEA== X-Gm-Message-State: AOUpUlFXgrDXByMrEIo8IlQcsteWHZCO+TUyp9mlcI9yyJhSgD0VNqiS HKj6DGzUTFDuTMnZWk4Ni8aBMA== 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_441234_3C5D1731 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;