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: 9414625 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 C7FAD6022E for ; Mon, 7 Nov 2016 10:10:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8DFC28B41 for ; Mon, 7 Nov 2016 10:10:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC05D28C0F; Mon, 7 Nov 2016 10:10:15 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 4CDD828B41 for ; Mon, 7 Nov 2016 10:10:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3grB-0006Qx-Fp; Mon, 07 Nov 2016 10:08:49 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3gpi-0005GR-Pb for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2016 10:07:20 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161107_020719_239101_187A04A2 X-CRM114-Status: GOOD ( 10.38 ) 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: devicetree@vger.kernel.org, thomas.ab@samsung.com, Rob Herring , Pankaj Dubey , krzk@kernel.org, javier@osg.samsung.com, myungjoo.ham@samsung.com, kgene@kernel.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-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;