From patchwork Mon Mar 18 10:04:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 160479 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2461498jad; Mon, 18 Mar 2019 03:05:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxprhXjLsqDYPGxkLZJZpSg5D+8Vw3xNXOfCFyDjOQwtmamg8R4+RtGBLEJmIWgKparx4fR X-Received: by 2002:a17:902:3a5:: with SMTP id d34mr18499853pld.174.1552903511664; Mon, 18 Mar 2019 03:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552903511; cv=none; d=google.com; s=arc-20160816; b=pcBhsmTEGh+JDYbMy8dVbAXNoUKblDaTCb2Hb+13NcclvUKn3ukWBJ2jZaS6eCh7vJ RHjjHcQ527LbhVMw12C+jfB4dRWbl7Qg8mNLbfoMDZY/8o4xa3NJbInq9Hvezzf6Plet H+f8rHTQsWlYv6I0zm8MPs9STnGsW2TexwTKowm0Of3EedXgJrzawOfHYn3D0qnR/gLX pzRwYBM8oCqdaMgecbjKXoVbl8rhSma0Hvj773GcFXJMWcFwDrokSL8kt/HjsGeTOtdo 5EZ/k7V6wb7/8IwzaP9fW1SFRwnfIWv1uuWqZc7an7P4ZssjEHydQJgg9o/Qd6oZNvTg QJdA== 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=CrU7oOZF/XD8UT4BF226LZ7D8K1QM3Y0TXhUURbvrB0=; b=KCy9pDwNESlrFHnMktG9vMWXXwH3oC2Ls1CVMdTSyVIxQ4CdUCpyDHYw9B3xuZMMsi C4QDrEcVHOEazT/jY2VeaPlGAhOO/WniDG8IQaZoJuZQJ8/hSiHUoloKE4EV3bnbNlXI pQi9R7ifHnYAPeQffgNB6D+a4keSA+egaGJVv5Ko3RMR/E68nVVlJq0Y6CcN4rdWIX4z AjndtBnOFp6jAqe0Y/rUFh5EY6i5P9DiDkP3YE5X7GRj0iXc3klXbCJ9EZXUHYJLb6Ch BghAhBS7N4OrLya+pvRN4ydEw+DJO4kN0+3axAILdl9M743WmFPH0gsFS0N9yvLJy3Zs RZXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TsN+9sj+; 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 a5si1965403pln.225.2019.03.18.03.05.11; Mon, 18 Mar 2019 03:05:11 -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=TsN+9sj+; 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 S1727755AbfCRKFK (ORCPT + 31 others); Mon, 18 Mar 2019 06:05:10 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38438 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727066AbfCRKFH (ORCPT ); Mon, 18 Mar 2019 06:05:07 -0400 Received: by mail-wm1-f65.google.com with SMTP id a188so12026783wmf.3 for ; Mon, 18 Mar 2019 03:05:06 -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=CrU7oOZF/XD8UT4BF226LZ7D8K1QM3Y0TXhUURbvrB0=; b=TsN+9sj+Hz+Sa6E4DPKcieTcPZJrb2JZbT2uLEeOV/z9stXQgJB33zafHM7LXV7zG8 oXrWCACLEQTI9pJk+PuceITOTywgor9UfADMbgkz1sKS3CbR9POjfTmmmKrAskc5WLUM tDQG146IqhUg5AqdyyqU2jWrK4bXVyYA0unqv510MckRExi8M3khA826CpmEpj48ksCs t9sAtScQluR0BSCZ+flK+FWF8L0rB1mWR9h2HwaBVtq3rvMaGQVKsgQxtvMMgjOr+DQz /0cNK7eK2p/lOFZNJQpG+y4sWnXOG45nEDYj9BBWv22ddiQyZqpb/bPQOvWg/a2W2Yvn p+UA== 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=CrU7oOZF/XD8UT4BF226LZ7D8K1QM3Y0TXhUURbvrB0=; b=g2i5Ml1RpaLH6+BTVYfK/kPtifhmAx1sFUkEoPl5g7aZe+q64Wl+KFKiyPgnuMqFaH 4IrFY9wXUfhE9AFvui/k5N1tGuGnZd6Y3s597xdNvEHrk0CN3EKPtfHWXbE4nZ0WkcWT W3xNEYQG6NxJgqzxa/aW3S9qzYVho2GxI2nZPtHQNQ8+8JqePLXuVyQoFv6dVVd8FEYt q5bX9CV1KPXTzI1ixHUtzq/qUCxEEC2/7eF+6yW+9QqI9fevFBrn+hwjx76g1uoesj32 dDCgXousIeuc6CcPIbwWZfl5wiv+nFq9luRXgd8l10U4Zn854oyQo5NYxfg7mztX0U+o A6TA== X-Gm-Message-State: APjAAAVOVi8hqbPAnTWoq8FhV+Tn1eu14kGCc5bpDZGMHh12N3wuw6Ue KrIxvYz/gj+M/oMvyf1eTRYozA== X-Received: by 2002:a1c:480a:: with SMTP id v10mr9876623wma.57.1552903505087; Mon, 18 Mar 2019 03:05:05 -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 i11sm5216800wrp.40.2019.03.18.03.05.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:05:04 -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 v2 05/11] arm64: dts: meson-g12a-sei510: add regulators Date: Mon, 18 Mar 2019 11:04:52 +0100 Message-Id: <20190318100458.5619-6-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318100458.5619-1-narmstrong@baylibre.com> References: <20190318100458.5619-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 | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) -- 2.20.1 Acked-by: Martin Blumenstingl diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 63c515fe4996..43d57e20294a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -6,6 +6,8 @@ /dts-v1/; #include "meson-g12a.dtsi" +#include +#include / { compatible = "seirobotics,sei510", "amlogic,g12a"; @@ -15,10 +17,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 +59,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 {