From patchwork Thu Oct 30 11:20:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5196071 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3DE79C11AC for ; Thu, 30 Oct 2014 11:24:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43E3B20254 for ; Thu, 30 Oct 2014 11:24:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 63DE2201ED for ; Thu, 30 Oct 2014 11:24:56 +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 1Xjnno-00070d-UD; Thu, 30 Oct 2014 11:22:04 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XjnnU-0006o9-Hj for linux-arm-kernel@lists.infradead.org; Thu, 30 Oct 2014 11:21:45 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NE9009D790CE970@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 30 Oct 2014 11:24:12 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-90-54521f2f49c8 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 21.18.24279.F2F12545; 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:19 +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 Subject: [PATCH v3 02/14] mfd/regulator: dt-bindings: max77686: Document of_compatible for regulator Date: Thu, 30 Oct 2014 12:20:41 +0100 Message-id: <1414668053-31370-3-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+NgFtrDLMWRmVeSWpSXmKPExsVy+t/xq7oG8kEhBu9OM1psnLGe1WLSugNM FlMfPmGzuP7lOavF/CPnWC2O/i6weP3C0KJ3wVU2i7NNb9gt7n89ymjx7UoHk8Wmx9dYLS7v msNmMeP8PiaL25d5LdYeuctucbqb1UHQo6W5h83j7/PrLB5/V71g9tg56y67x6ZVnWwed67t YfOYdzLQY/OSeo++LasYPT5vkgvgiuKySUnNySxLLdK3S+DKmPB6I3vBI66KyTd7mRoY/3J0 MXJySAiYSNz4/owdwhaTuHBvPVsXIxeHkMBSRolL35exQjh9TBLN87YzglSxCRhLbF6+BKxK RKCTWaLnYC8ziMMssJpJ4ueVU8wgVcICaRJvWx+xgtgsAqoSD1d2s4DYvALuErMWTmOC2Ccn cfLYZLAaTgEPiTUf24FsDqB17hL3vmlPYORdwMiwilE0tTS5oDgpPddIrzgxt7g0L10vOT93 EyMkxL/uYFx6zOoQowAHoxIPb8SxgBAh1sSy4srcQ4wSHMxKIryrxYJChHhTEiurUovy44tK c1KLDzEycXBKNTBaBwcFaC8Van4yMzNre1T78vccbrYP5Wsdr5d9ksqf+yRf/2R5r+1r4xen ToaWWb+avej8Qw0lw6maOiUyTMd01WbaHE+brKQavLtsm9jSucXFEXrHc3e+bQxhtu1w5rsX euWVv5fMr7ob2WsXhk5n5Xq84Ox/YZ1Lu/zEpD+8mmy9KmnyPT0lluKMREMt5qLiRADI8Zj/ TwIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141030_042144_726473_6E51B56E X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Kyungmin Park , Javier Martinez Canillas , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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/mfd/max77686.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/max77686.txt b/Documentation/devicetree/bindings/mfd/max77686.txt index 75fdfaf41831..f4010a9f66eb 100644 --- a/Documentation/devicetree/bindings/mfd/max77686.txt +++ b/Documentation/devicetree/bindings/mfd/max77686.txt @@ -18,8 +18,11 @@ Required properties: Optional node: - voltage-regulators : The regulators of max77686 have to be instantiated - under subnode named "voltage-regulators" using the following format. + under subnode named "voltage-regulators". + Required property: + - compatible : Must be "maxim,max77686-pmic" + Optional properties: For each regulator use following format: regulator_name { regulator-compatible = LDOn/BUCKn standard regulator constraints.... @@ -49,6 +52,8 @@ Example: reg = <0x09>; voltage-regulators { + compatible = "maxim,max77686-pmic"; + ldo11_reg { regulator-compatible = "LDO11"; regulator-name = "vdd_ldo11";