From patchwork Tue Jul 24 12:52:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542133 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 A376F14BC for ; Tue, 24 Jul 2018 12:56:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91EAA2874A for ; Tue, 24 Jul 2018 12:56:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 860912877E; Tue, 24 Jul 2018 12:56:53 +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 36B292873E for ; Tue, 24 Jul 2018 12:56:53 +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=7PkQAJj8FTrHXNFk9i88wcCjRIturZCk1Yt3gzaNSAk=; b=RTh9Rb7vY6U+2eRb58QtPTRPxa CSPljxGIAMSZiO4GicP20YnCJ8zG9e83wjWFOhdp4/MdS6Aw/xDDkyr9e5MW7ViKnxlSIdcYeSxmK u+0XkKz4L7mkEYPMM5NUqxE+Hi4kuNcB55lGjKRP5OGOEdHKoh63AbyRrbfKjE7xp/IONvsnRy0J8 SwU80bKoYhNbtpQCBclGl9U4qDcYUyAA50s55RSZZhDEPcSPGST9cPuPs/3fHha0SB44H3G0JCQg3 GHA0ThqahP6tIKcU6iFo7cXySwA7HP1OproNhzZxkcNJ/B+pRfMyoMLGp2+J9Po6NKWJb2MXrOkTN HWYaw5xA==; 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 1fhwrv-0001Re-4w; Tue, 24 Jul 2018 12:56:47 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoK-0005FI-BB for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:08 +0000 Received: by mail-wm0-x241.google.com with SMTP id y9-v6so1606021wma.5 for ; Tue, 24 Jul 2018 05:52:53 -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=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=YZmhHUkQs+PtGNscEDMR3Bupa4hev6beagx4ss3sJ22ekDsoUCOj3rlEQycXZUftOJ UIr7zsD+stt5ZADVtbjS3aJ55RQpM+R/YsP8y2SmiInfNOk5IOhAW2HCt7nw8lkDTtff KBDZP9FlyQcd5Pu41PqdEiT48cNF/WlNCqCZ3//gWWyD4zU6GtYcB79k/enZDZXYnC8p +Y/JAnfGpasDbY8RWMuqHVy5kbTFxFYAhnmtLH4PS3wvPgYp8+yS1CtkgpSXUr3lW4Ow 3g6OvxFmpV1V6W4l/wCt1ZB4CwcH99VPdQ5wk6hBw2PAMxl4anWwHyvQfwZ2oLOO558U SvJQ== 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=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=LJXzRsFAAsKEzjMlokCQ4hWkHHcz/eXNkumZBOd3Pb2OpbiLMjZoBXTl/5AKhqJhk2 ESMFcWF2M+otwqXbWWwiytr6RuDOzwi4287ml6bwTzK5A1OmkJ543gZcXChF8ca1Chq1 TgVglTSDGkYb53CDismq0p25gf6As3/BIGE9wHOyb3jrzo4Yku/feA1/mzBjTCOU8Z8K 5bLMBZc5OsD/888ZGYVy4oTif4ZzH8UuZwGTfTnCz+eFSIXaL8szrr+gHcOZjXSUE8dL KVqeMcxbUgC4PWmbWj0JMbO6aKYA+GDJ0CG5QTamYKKGvpEtCId1UksF3wMrxpyibofg e+Lw== X-Gm-Message-State: AOUpUlHVbC6Du42aMTLnhhh9CG70rulJLaEP7r7grOu2VdiMzJId6tI9 V7TPhwI/9m5/WEuiMSL7fx0vYw== X-Google-Smtp-Source: AAOMgpe7aNudb0/QSS5Jb9DugDCd7zDE7fITtW+JR4ZmYj6TOUMtt+BLcKdVfzPyAzra6FkgkwNE8Q== X-Received: by 2002:a1c:c44a:: with SMTP id u71-v6mr1879789wmf.43.1532436772712; Tue, 24 Jul 2018 05:52:52 -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.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 02/14] arm64: dts: meson-axg: add vcc 5v regulator on the s400 Date: Tue, 24 Jul 2018 14:52:26 +0200 Message-Id: <20180724125238.14567-3-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_055304_535762_3112E13E X-CRM114-Status: GOOD ( 11.43 ) 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 This regulator is controlled by a GPIO and supplies various devices on the board, such as the lineout codec, the usb supply or the lcd controller. 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 09c7909a78ea..5937d8c3a6ed 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -104,6 +104,17 @@ regulator-always-on; }; + vcc_5v: regulator-vcc_5v { + compatible = "regulator-fixed"; + regulator-name = "VCC5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&main_12v>; + + gpio = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;