From patchwork Thu Oct 30 11:20:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5195921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 16FE0C11AC for ; Thu, 30 Oct 2014 11:22:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8AC0D201CD for ; Thu, 30 Oct 2014 11:22:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B018D20219 for ; Thu, 30 Oct 2014 11:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758827AbaJ3LV2 (ORCPT ); Thu, 30 Oct 2014 07:21:28 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:42895 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758889AbaJ3LVY (ORCPT ); Thu, 30 Oct 2014 07:21:24 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE900EHN907AZ70@mailout4.w1.samsung.com>; Thu, 30 Oct 2014 11:24:07 +0000 (GMT) X-AuditID: cbfec7f4-b7f6c6d00000120b-35-54521f300eca Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 0E.AF.04619.03F12545; Thu, 30 Oct 2014 11:21:20 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NE9009H68VFGU90@eusync3.samsung.com>; Thu, 30 Oct 2014 11:21:20 +0000 (GMT) From: Krzysztof Kozlowski To: Samuel Ortiz , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Ben Dooks , Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Javier Martinez Canillas , Chanwoo Choi , Krzysztof Kozlowski Subject: [PATCH v3 03/14] regulator: dt-bindings: max77802: Document of_compatible for regulator Date: Thu, 30 Oct 2014 12:20:42 +0100 Message-id: <1414668053-31370-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1414668053-31370-1-git-send-email-k.kozlowski@samsung.com> References: <1414668053-31370-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsVy+t/xq7oG8kEhBsuuaVtsnLGe1WLSugNM FlMfPmGzuP7lOavF/CPnWC2O/i6weP3C0KJ3wVU2i7NNb9gt7n89ymjx7UoHk8Wmx9dYLS7v msNmMeP8PiaL25d5LdYeuctucbqb1UHQo6W5h83j7/PrLB5/V71g9tg56y67x6ZVnWwed67t YfOYdzLQY/OSeo++LasYPT5vkgvgiuKySUnNySxLLdK3S+DKmHZrEktBG3fF/L1/GRsYZ3F2 MXJySAiYSBz/eJkNwhaTuHBvPZgtJLCUUeLDbNYuRi4gu49JYtHV/4wgCTYBY4nNy5ewgSRE BDqZJXoO9jKDOMwCq5kkfl45xQxSJSyQJLGv7TALiM0ioCoxacECVhCbV8BdYu3jHiaIdXIS J49NBotzCnhIrPnYDmRzAK1zl7j3TXsCI+8CRoZVjKKppckFxUnpuYZ6xYm5xaV56XrJ+bmb GCEB/mUH4+JjVocYBTgYlXh4HTYGhAixJpYVV+YeYpTgYFYS4V0tFhQixJuSWFmVWpQfX1Sa k1p8iJGJg1OqgXHGnp7LeUae23yiI2qeXZY6465hmXBh1dV9XmWhlns9drveVp3KGex5eubc PZseyc/556T1YMPkpKwlc27E3OoW1BUssbW0DHyWy19xZuVvv3M8upcP9seKnnlef0Ti490U Q2m3s5Ymz4slb3exmk98lGRlvtDzbZrmM/dWbsXjpbl/akX/r1diKc5INNRiLipOBAB3IYqL TgIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Document new required property for regulator driver: of_compatible. The property allows MFD core to bind the driver to node with regulators and this simplifies parsing regulators init data from DTS Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/regulator/max77802.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/max77802.txt b/Documentation/devicetree/bindings/regulator/max77802.txt index 5aeaffc0f1f0..fa545e7d3b0a 100644 --- a/Documentation/devicetree/bindings/regulator/max77802.txt +++ b/Documentation/devicetree/bindings/regulator/max77802.txt @@ -10,7 +10,11 @@ Following properties should be present in main device node of the MFD chip. Optional node: - regulators : The regulators of max77802 have to be instantiated - under subnode named "regulators" using the following format. + under subnode named "regulators". + Required property: + - compatible : Must be "maxim,max77802-pmic" + + Optional properties: For each regulator use following format: regulator-name { standard regulator constraints.... @@ -36,6 +40,8 @@ Example: #size-cells = <0>; regulators { + compatible = "maxim,max77802-pmic"; + ldo11_reg: LDO11 { regulator-name = "vdd_ldo11"; regulator-min-microvolt = <1900000>;