From patchwork Mon Nov 7 10:09:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9414599 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ED1406022E for ; Mon, 7 Nov 2016 10:06:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF2C828963 for ; Mon, 7 Nov 2016 10:06:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D44C728A48; Mon, 7 Nov 2016 10:06:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7684728963 for ; Mon, 7 Nov 2016 10:06:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752427AbcKGKG4 (ORCPT ); Mon, 7 Nov 2016 05:06:56 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:39282 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752282AbcKGKGz (ORCPT ); Mon, 7 Nov 2016 05:06:55 -0500 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OG901JPAO2XHN20@mailout1.samsung.com>; Mon, 07 Nov 2016 19:06:44 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-fd-58205234f81b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 7D.A8.16530.43250285; Mon, 7 Nov 2016 19:06:44 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OG90041ZO2UTC50@mmp1.samsung.com>; Mon, 07 Nov 2016 19:06:44 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: krzk@kernel.org, javier@osg.samsung.com, kgene@kernel.org, thomas.ab@samsung.com, myungjoo.ham@samsung.com, Pankaj Dubey , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 4/6] ARM: dts: Add clock provider specific properties to max8997 node Date: Mon, 07 Nov 2016 15:39:34 +0530 Message-id: <1478513376-14307-5-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478513376-14307-1-git-send-email-pankaj.dubey@samsung.com> References: <1478513376-14307-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsVy+t9jAV2TIIUIg4lzJS3mHznHavHm7Rom i/7Hr5ktzp/fwG6x6fE1VosZ5/cxWdxuXMFmsWjrF3aL1r1H2C06ljE6cHlsWtXJ5rF5Sb3H lv677B59W1YxenzeJBfAGuVmk5GamJJapJCal5yfkpmXbqsUGuKma6GkkJeYm2qrFKHrGxKk pFCWmFMK5BkZoAEH5wD3YCV9uwS3jPvt59kKNvBUbNiu3cC4nKuLkZNDQsBEYmnfSiYIW0zi wr31bF2MXBxCAksZJV7t/wrl/GSU6O58ywhSxSagK/Hk/VxmEFtEwFti8pm/7CA2s8BtRonp 91NBbGGBcIkzP7+zgtgsAqoSm59eAtrAwcEr4CEx7XMkxDI5iZvnOsHGcAp4SnyesZYNxBYC Klm3bQPLBEbeBYwMqxglUguSC4qT0nON8lLL9YoTc4tL89L1kvNzNzGCQ/2Z9A7Gw7vcDzEK cDAq8fBOcFKIEGJNLCuuzD3EKMHBrCTCy+oHFOJNSaysSi3Kjy8qzUktPsRoCnTXRGYp0eR8 YBzmlcQbmpibmBsbWJhbWpoYKYnzNs5+Fi4kkJ5YkpqdmlqQWgTTx8TBKdXAKDbxz85u/2vH pu0JUD/+OCq0Iv/6ZZt/+ec7Hl1Qe63/Z2rA2dlHLQWijYy2WDtLisaJ73b48Hvx9mMZE/Ym fr/vZdJpZ71zqrRz6tydb08t457xm5exWe1+7dp7LLM875+s75qc4iUz+SJb7eYvigInHBeH ur7xbHjvc8CvfceV+4ZfrB8xZiqxFGckGmoxFxUnAgBYPpqniwIAAA== X-MTR: 20000000000000000@CPGS Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a label and #clock-cells property to device node of max8997 PMIC to allow using it as a clock provider. CC: Rob Herring CC: devicetree@vger.kernel.org Signed-off-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos4210-origen.dts | 3 ++- arch/arm/boot/dts/exynos4210-trats.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index cb3a255..6c7ef4e 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -147,11 +147,12 @@ pinctrl-0 = <&i2c0_bus>; pinctrl-names = "default"; - max8997_pmic@66 { + max8997: max8997_pmic@66 { compatible = "maxim,max8997-pmic"; reg = <0x66>; interrupt-parent = <&gpx0>; interrupts = <4 0>, <3 0>; + #clock-cells = <1>; max8997,pmic-buck1-dvs-voltage = <1350000>; max8997,pmic-buck2-dvs-voltage = <1100000>; diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 0ca1b4d..74a9d39 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts @@ -295,12 +295,13 @@ pinctrl-names = "default"; status = "okay"; - max8997_pmic@66 { + max8997: max8997_pmic@66 { compatible = "maxim,max8997-pmic"; reg = <0x66>; interrupt-parent = <&gpx0>; interrupts = <7 0>; + #clock-cells = <1>; max8997,pmic-buck1-uses-gpio-dvs; max8997,pmic-buck2-uses-gpio-dvs;