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: 142791 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232831ljj; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdQtiETB/fxImFgig6MX6QuxDxd8BxVBCvouyI3S/FSqq9mM8OQDbShHfGAiFjmmNDD1VIJ X-Received: by 2002:a65:6688:: with SMTP id b8-v6mr16508213pgw.24.1532436780014; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436780; cv=none; d=google.com; s=arc-20160816; b=CgleWHDt6PriPwJ/GYZudCmyg7trVY4/lTbrv3hjwbPbWoAlSxtrhIvIitoGM6sm6r 3g3d6bSu0+klBRICt5ia3HPNosBt4G3WGp2+meJH/dpbx08b1t+m+guA5T1ezveQoLc4 utDZtQE2qur6TirUC6sq8g1n5L90KsXTNKMPXfW1SNe13SHp8FCcPnuz83wOVOjVwQVT 6J/GkPQTeHPcTyL9n1phy5k5ny3aKZhJJaTrvz/lAj6Qx/PI2Jbu5pIIA6pR2lDS/4Us wSo22HR+j895adNQdxlXMVYf9DktHEVbfVtklScnOA+zX1a8PLUrTRbWSbvHMsn+S1Cv ZKCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=bztwvch5MNN1YVc52QHpDNtk9KZtMzIlbCl7k4pFazIx93NQ9ZdP0x/p0GTn+cafPe CY+vU7oDd8WR7AkoOYFIxJBAYA1VNagxs408Y+KrhJ+E7el8/PoVUAnVciIBB+/hLBjt xhjrT/hiY+ZNGiNG8T+2FBDyjT70BjQ9HnelyRWnMvwbTkV5ygNmH6PCWq5faUabuaSV Pqu+JIAVwspQO8oQipD2MjpjITy3IQXsDom+l16YLB9cj4t8ozpSs37W21QLgMyyMBSM YEwBx45m2M41s9XRPWKaevd5orlFmrkfHuBc2C38icqjcvwABI5rumyE1tb0DBiQ8TOu YXPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=gy5fFWpq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si10695366plt.342.2018.07.24.05.52.59; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=gy5fFWpq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388520AbeGXN7S (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:18 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45094 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbeGXN7Q (ORCPT ); Tue, 24 Jul 2018 09:59:16 -0400 Received: by mail-wr1-f66.google.com with SMTP id t13-v6so4013247wrv.12 for ; Tue, 24 Jul 2018 05:52:54 -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=bU35Wz3wBp8hpwRGUPtGPODFF1/v13QU/pW+qJeTwNPdBohHfGWYduqJBuVkwoVu1L MHRB/ABda6Bsml4XZ3gT8e2oE0TlmqRC99FmBPSsZcUd/F2D4Nlj5BtfLWPXEHXKdvag tdpuG4uoIXkBvO5CyLku9cES/KHRbmSDG9k5vVHljsm2AvmdGi5BG2mPizEYftgrJxmn XtxdYbdi4riVF+haplkWqUlRB3P1jO94qMgfv23H7vTTKaXh6ay+8zQ/3Pz0COkN1fxd ItBlsHaTIFbP4a2fmob8LrI/36G6KMHtZWC7zx9nopwOfOedZD3U8Z4j/P1D5d2Rsztc HAMw== X-Gm-Message-State: AOUpUlEbjF47q4mFfJoUOMy8nIKL8jGd1IVE0MkRaZpNqli1XQ3O/DI+ MowFMLijCLxXJtb3QPrcEbXFBg== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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>;