From patchwork Tue Apr 12 15:16:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 65634 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1982878qge; Tue, 12 Apr 2016 08:20:41 -0700 (PDT) X-Received: by 10.98.79.203 with SMTP id f72mr5496081pfj.102.1460474439572; Tue, 12 Apr 2016 08:20:39 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u64si10430690pfa.100.2016.04.12.08.20.39; Tue, 12 Apr 2016 08:20:39 -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=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965472AbcDLPUg (ORCPT + 29 others); Tue, 12 Apr 2016 11:20:36 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:33248 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965253AbcDLPU2 (ORCPT ); Tue, 12 Apr 2016 11:20:28 -0400 Received: by mail-wm0-f41.google.com with SMTP id f198so192300593wme.0 for ; Tue, 12 Apr 2016 08:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oVQIE6vMgY7WgV1eXRNBkCMkPaJWpQCukZLDqphb7Ao=; b=BW/LBLsaTLajFhC3n7yNIg+jdl8k7tsr4HUHWhocauvCYkh0J4RHXjO43qESAFupjR Yi5tSKWqfK9AG9Bf1fym94K8yTj6uIQn3Ulrz9zzq4pqBeGQuVHLkPk+eeUqaTLFEl8E tZjA8ipBBZEdWk6rocRq9AOh1PuWLuNFACr60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oVQIE6vMgY7WgV1eXRNBkCMkPaJWpQCukZLDqphb7Ao=; b=X1MQBp8C4T5Q3S8xEoihpdiHtJLya+jLr4X/zuaGlrIeYc2W030/MqbLI9xb3nbNrC eNu7L7JAEg9DIk1hwQPCz7wSMllM981Dcrnz4OPO9pryxTQPIVJ1Sz70V15uK3PHj0Cy OUibx/jYa1AgrJkhcz08iIfYzkBi6F2p+hGZ1DulgmNKSKLvmwn3NzoREkK79Zh4d9y+ E/mMC7x9AKAMPBBAhN0hpAd/BhjF9jDB6KLMelRqxnIYHmBkQTOZVPd/4LN+aO1ajkrL 10XAHJ+J2kHX5PnweKMvMo0aEpJweO7fWgyHbVdX7qwPhpaQL9LMrvYE4af072eCPnR2 eLjg== X-Gm-Message-State: AD7BkJLg6pbqaQ+cp35k7+7UFaJhzT/riTw4V6n5NB9F2SJkb6+5m/0WyuZBnsWXDnQIk/B6 X-Received: by 10.28.126.21 with SMTP id z21mr26390133wmc.73.1460474427406; Tue, 12 Apr 2016 08:20:27 -0700 (PDT) Received: from localhost.localdomain (cpc84787-aztw28-2-0-cust15.18-1.cable.virginm.net. [82.37.140.16]) by smtp.gmail.com with ESMTPSA id u16sm23469674wmd.5.2016.04.12.08.20.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 08:20:26 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, lgirdwood@gmail.com, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 5/5] ARM: STi: DT: STiH407: Add the flashss voltage regulator DT node. Date: Tue, 12 Apr 2016 16:16:44 +0100 Message-Id: <1460474204-5351-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460474204-5351-1-git-send-email-peter.griffin@linaro.org> References: <1460474204-5351-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the DT node for the flashss mmc voltage regulator. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 12 ++++++++++++ arch/arm/boot/dts/stihxxx-b2120.dtsi | 4 ++++ 2 files changed, 16 insertions(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 81f8121..2d62036 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -488,6 +488,17 @@ status = "disabled"; }; + vqmmc_reg: voltage-regulator { + compatible = "st,vqmmc"; + regulator-name = "vqmmc0"; + /* Control register for the VSENSE Module */ + reg = <0x9061004 0x4>; + status = "disabled"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + mmc0: sdhci@09060000 { compatible = "st,sdhci-stih407", "st,sdhci"; status = "disabled"; @@ -501,6 +512,7 @@ clocks = <&clk_s_c0_flexgen CLK_MMC_0>; bus-width = <8>; non-removable; + vqmmc-supply = <&vqmmc_reg>; }; mmc1: sdhci@09080000 { diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 133375b..f326d57 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -72,6 +72,10 @@ status = "okay"; }; + vqmmc_reg: voltage-regulator { + status = "okay"; + }; + /* SSC11 to HDMI */ hdmiddc: i2c@9541000 { status = "okay";