From patchwork Mon Mar 11 09:56:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 160037 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp11711463jad; Mon, 11 Mar 2019 02:56:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxf2we5KvUyZ/POm/A1/MKjSUyzMLUZi2W4TZRJ0gx+AEE4VM0PgdJ/X41FcHrzGRE2dBk X-Received: by 2002:a63:1925:: with SMTP id z37mr29019581pgl.67.1552298206677; Mon, 11 Mar 2019 02:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552298206; cv=none; d=google.com; s=arc-20160816; b=JpSbBMwSAbXXUNqKljt9KY2FurOcozq0jupdEtB5+mMkfoBR3YQF2kqC+Fqh5FfCKQ Ae0r8r2RsNd8eZsj65pvfz+IMuwVNYwd3LxBEaa5XUMOAJwxRvXfBkfTrCsdMqTZqdha F88f6F/xhbN6VHrDuIJ1IKSCSGQ5OXdmsjyOHvrJab3OFEGgzAsEb3kDxMrowB9CUkaS j5VsFaK4Mf53qKOkbDKDArsnPPO4nsCMdsis4Wr+r+4/D2fJHF9EwYFOBWCXJJbWR8O3 0m+etrDvSaWEHlhOEB8u5loz9jA0q/6dFvlGXWODyPi3U4cfaA/3RJtU4FHjL1oYt0Nd GHtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1vd80S55Frb6CGjHBLvPF+QFGjEdspA5jjiX4inId9o=; b=0+o29nvz127fYlwJzyrxApFI7zoVmS6G2q8hegHM/38cKO16/tBQUmNRK6sOYdXuqT 34/Q/S18VC/vr0dkv5HWWztpovwAsZ8EKi18uIKpPkut3n6pvj2CCKG4RuSRut282ASJ PRgy2Xd2tK/DDQpt1Rh64ztVs8yPDvx9VIvyxT/RVlTomGK33GYBpxszXwROe5ngB9i3 IJK+vML+Dy5qgM+m+s4Gaf+ICiB0yv7FxJZuMTNxj9SlNhTmSXGCbNzExHYigvyg18Km tf3W4KsvdpVEWcyenEX5pLRlV8CVKEam9s7yuemyakgL/6HMRCBlkZ4/53DsJfdeTYGL EDSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xTNsRIDy; 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 u4si4721623pgh.278.2019.03.11.02.56.46; Mon, 11 Mar 2019 02:56:46 -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=xTNsRIDy; 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 S1727323AbfCKJ4b (ORCPT + 31 others); Mon, 11 Mar 2019 05:56:31 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38529 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727219AbfCKJ4W (ORCPT ); Mon, 11 Mar 2019 05:56:22 -0400 Received: by mail-wm1-f68.google.com with SMTP id a188so3566813wmf.3 for ; Mon, 11 Mar 2019 02:56:21 -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 :mime-version:content-transfer-encoding; bh=1vd80S55Frb6CGjHBLvPF+QFGjEdspA5jjiX4inId9o=; b=xTNsRIDydRcgWEh+tsTla52WubKGreooa9VLwv8JP6SkimjYefF8rx8p6emQJh26Jm wtlmKGwOyiADzlLZly43pzSH8ngPmwqPD8niYNnmVPAh2aRAZDH7xTFd5Nw5z9zikU1y NvJe8oz/CmLFVNBKd7pdKVJhtylR1YRRUS0w7W1NE/YoWua6qPJKYMPbUE3fn2D5UzcB efTdtwRW06z8WtFHAb10aVTDm6dZFfXJm49wAHnV+Cf2K6W3jOcSczG562ggX47YOQuG 9hi7hid5FCDr40p7PeoPY6xkmXt7XWa+YrXppizOUHEV0HarOuv0K3E6gIU4tyqvgYWr KJ+g== 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:mime-version:content-transfer-encoding; bh=1vd80S55Frb6CGjHBLvPF+QFGjEdspA5jjiX4inId9o=; b=C8TZNFLFfie6V83aXNBmLSbgvjAg9/YfCeLEV3Af4M1Ez+J5wYXzM2Ig2D5XG/k/fA RheoTtx2xAMWGkmpc0YAnOhcD+zUl0tsL6sZ2wVQHIPYKZPS3w77y9Dvz+SXPXwUmtBD hUCCuEU2Z/pZc5ajgFOJhuBy+YPWd3K4Q8PvJcVR8Why4EuXoK/EfllssM3h0yBQDzQE Ay5J8lJIMVNWGoWHho8/y/zAD7bCstRTTwRjIUHb4bEd2Ok4sOt7B3Um4+aBZKG+54p1 qpce+yTJ+dVIVvXnD51Gv7tmJZZZzs+1NUIfmGzE5q/tLS1XiCcbatyNUA3v/qbx0fXV nr9g== X-Gm-Message-State: APjAAAXgFcBDJvjwvfUfz/ojEeyPNL0rc4+k39QBuCcqoxUKdpRi49pU kuImBXvHtIN2h7OYiZiAr+d0Dg== X-Received: by 2002:a05:600c:246:: with SMTP id 6mr16982360wmj.150.1552298180816; Mon, 11 Mar 2019 02:56:20 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id e12sm4764737wrs.91.2019.03.11.02.56.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Mar 2019 02:56:20 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 05/11] arm64: dts: meson-g12a-sei510: add regulators Date: Mon, 11 Mar 2019 10:56:07 +0100 Message-Id: <20190311095613.11371-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190311095613.11371-1-narmstrong@baylibre.com> References: <20190311095613.11371-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU(PWM controlled) * VDDQ1_5 Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-sei510.dts | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 63c515fe4996..2b11b5893958 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -15,10 +15,36 @@ serial0 = &uart_AO; }; + ao_5v: regulator-ao_5v { + compatible = "regulator-fixed"; + regulator-name = "AO_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; + chosen { stdout-path = "serial0:115200n8"; }; + dc_in: regulator-dc_in { + compatible = "regulator-fixed"; + regulator-name = "DC_IN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + emmc_1v8: regulator-emmc_1v8 { + compatible = "regulator-fixed"; + regulator-name = "EMMC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x40000000>; @@ -31,6 +57,35 @@ no-map; }; }; + + vddao_3v3: regulator-vddao_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; + + vddao_3v3_t: regultor-vddao_3v3_t { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3_T"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + }; + + vddio_ao1v8: regulator-vddio_ao1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_AO1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + }; &uart_AO {