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: 405031 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DBD5D140080 for ; Thu, 30 Oct 2014 22:24:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759251AbaJ3LV1 (ORCPT ); Thu, 30 Oct 2014 07:21:27 -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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>;