From patchwork Tue Apr 12 15:16:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 65637 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1983432qge; Tue, 12 Apr 2016 08:21:38 -0700 (PDT) X-Received: by 10.98.13.216 with SMTP id 85mr5362508pfn.143.1460474498471; Tue, 12 Apr 2016 08:21:38 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si10462037pfd.154.2016.04.12.08.21.38; Tue, 12 Apr 2016 08:21:38 -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 S965498AbcDLPVg (ORCPT + 29 others); Tue, 12 Apr 2016 11:21:36 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35704 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965372AbcDLPUV (ORCPT ); Tue, 12 Apr 2016 11:20:21 -0400 Received: by mail-wm0-f52.google.com with SMTP id a140so58230234wma.0 for ; Tue, 12 Apr 2016 08:20:20 -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=rrSgKoGjdj18rSSF3/kx0JkMXtEA09Z/UwHoE287L2o=; b=IbbeKM7ejxrrA/HGf4Pp7UfZ7ee6074Xk57O+nm8+Pwrc7AUxse/tI8hpLGHeUo1JZ FgEf2takPa0X5fhFKl+D2VbYr6yTTVPiHK/DmqyWsEhhWa+zd0bZFhhsJSu45s88hMED t4nPpFSYe3/YFNAvSeuid5U7nLpBlCQWO7V1M= 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=rrSgKoGjdj18rSSF3/kx0JkMXtEA09Z/UwHoE287L2o=; b=PoZR4yIGjo/arsd+0OGlmJ8LdXNRUjTQa+7JVWM75S1xVzcghNW1OCia2P9K6rHXBh BnWs8pMVRQ9qKsuGmJbeZWSz2+9X67KzHk1+cPjY+62z7hNh3PJM+8dgahZqiAISkKk2 ciWWQ8jhyO4ZRZ5AXa0Rrx4iTXl4WS7ypQWCoasJnTNOm92k8C85CHVLMPt26Wj8M9oj GuKyR4lhbBPCmoY+sxvazBUiLzSARggBy3IIhx1SomPztMj1+Ly3ZoyxchkcDCWUsyJk TvKWZTXCIibb0+sadNY3I66sRaYvvMJUcpBtqhCLU032zu7h9AVXfdKrBsrbkOt9CfXV Qn8Q== X-Gm-Message-State: AOPr4FUQBYr6YK0bmcHuR57G43KbDlQmbMCtZtMEtTmUNiqvyNfukCZ+3TnkFr2FkeA2trkJ X-Received: by 10.28.68.70 with SMTP id r67mr5077800wma.80.1460474419815; Tue, 12 Apr 2016 08:20:19 -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.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 08:20:18 -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 1/5] regulator: st-flashss: Add DT binding documentation for flashss regulator. Date: Tue, 12 Apr 2016 16:16:40 +0100 Message-Id: <1460474204-5351-2-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 doc for the flashss regulator driver which is found in stih407 based silicon. Signed-off-by: Peter Griffin --- .../devicetree/bindings/regulator/st-flashss.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st-flashss.txt -- 1.9.1 diff --git a/Documentation/devicetree/bindings/regulator/st-flashss.txt b/Documentation/devicetree/bindings/regulator/st-flashss.txt new file mode 100644 index 0000000..04324d5 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/st-flashss.txt @@ -0,0 +1,43 @@ +ST Voltage regulator for FlashSS vsense + +This documents the voltage regulator driver which manages the vsense inside the ST flash +sub-system that is used for configuring MMC, NAND, SPI voltages. + +Required properties: +- compatible: Can be "st,vqmmc", "st,vnand" or "st,vspi" because it is shared + among these devices inside the ST FlashSS. +- regulator-name: Regulator name. +- reg: The vsense top config base address in the flashSS hardware. + +Any property defined as part of the core regulator binding, in +Documentation/devicetree/bindings/regulator/regulator.txt can also be used. + +Example: + +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"; + reg = <0x09060000 0x7ff>, <0x9061008 0x20>; + reg-names = "mmc", "top-mmc-delay"; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc0>; + clock-names = "mmc"; + clocks = <&clk_s_c0_flexgen CLK_MMC_0>; + bus-width = <8>; + non-removable; + vqmmc-supply = <&vqmmc_reg>; +}; +