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: 8811611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5D4EBC0553 for ; Tue, 12 Apr 2016 15:22:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D97F720373 for ; Tue, 12 Apr 2016 15:22:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 166A92035D for ; Tue, 12 Apr 2016 15:22:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq07b-0007LH-Pf; Tue, 12 Apr 2016 15:20:55 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq07N-000783-C4 for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2016 15:20:43 +0000 Received: by mail-wm0-x22f.google.com with SMTP id v188so131581206wme.1 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=OF45HDMPXN5hYD27rStyP42h3ymLWqYcn7MBstq18B74b13Tv5d8EEnsBXzmd2daIB MelpHhR4OjZRKxObcdm3TSLMas3Cib9g0sghVz/55e6o3wtJk1W+WPdEJRokCl8BumMn G55utSsMXwCzsuTC5Yh1jwPbFzFMeFZkQujJ0sI48kyhLgKTUGABUc6UuGCzds1Yq0Va 12XlZm2OoURhDGc88I2ytFOJaanEsiHwRTvCWZuTAwBB5a0uV/lx7Z66oWTl2s0307aL aCk0HX26VdDmzBeiiWBWn1Ux74ZRgyFtD7UDK454t0XCvMJMePbwFmN8Uc23mfd/2zdM HU/g== X-Gm-Message-State: AOPr4FVA+DxhDWBPhpVRUAr2LUM3Ve0TkoFWWYMmKY85HuENxJvCSF3U6tCedG56yp3Bqd1N 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_082041_767182_5C8E0CC1 X-CRM114-Status: GOOD ( 15.96 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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>; +}; +