From patchwork Thu Oct 2 12:22:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5017971 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 133A79F348 for ; Thu, 2 Oct 2014 12:23:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E35620279 for ; Thu, 2 Oct 2014 12:23:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C57C2026F for ; Thu, 2 Oct 2014 12:23:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752629AbaJBMWa (ORCPT ); Thu, 2 Oct 2014 08:22:30 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:42668 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbaJBMWZ (ORCPT ); Thu, 2 Oct 2014 08:22:25 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) 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 <0NCT00M0YH613JB0@mailout3.w1.samsung.com>; Thu, 02 Oct 2014 13:25:13 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-5b-542d437ddd09 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 7A.A0.25543.D734D245; Thu, 02 Oct 2014 13:22:21 +0100 (BST) 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 <0NCT0084AH10PM40@eusync3.samsung.com>; Thu, 02 Oct 2014 13:22:21 +0100 (BST) From: Krzysztof Kozlowski To: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-api@vger.kernel.org Cc: Ben Dooks , Kukjin Kim , Russell King , Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa , Krzysztof Kozlowski Subject: [PATCH 5/7] ARM: dts: exynos4412-trats: Add max77693 charger node Date: Thu, 02 Oct 2014 14:22:06 +0200 Message-id: <1412252528-30148-6-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1412252528-30148-1-git-send-email-k.kozlowski@samsung.com> References: <1412252528-30148-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsVy+t/xq7q1zrohBg+vallsnLGe1WLSugNM FpOevGe2mH/kHKvFxJWTmS363yxktTj3aiWjxdHfBRavXxha9C64ymZxtukNu8X9r0cZLTZ/ 72Cz2PT4GqvF5V1z2Cw+9x5htJhxfh+Txe3LvBZrj9xlt1h6/SKTxYTpa1ksWvceYbc43c1q cXp3icWqXX8YHSQ91sxbw+jR0tzD5nG5r5fJ4+/z6ywef1e9YPbYOesuu8fK5V/YPDav0PLY tKqTzePOtT1sHvNOBnpsXlLv0bdlFaPH501yAXxRXDYpqTmZZalF+nYJXBn79/xhKvjGXnHx w03WBsbDbF2MnBwSAiYSv549YoWwxSQu3FsPFhcSWMoosbi9uouRC8juY5LY1niVGSTBJmAs sXn5EjaQhIjAX2aJCd9fMYE4zAJPmSXObdgCNkpYwEvi3PFTYDaLgKrE6h2tTCA2r4C7xNNd Uxkh1slJnDw2GayGU8BDYu7biewQq90l2ppWsU1g5F3AyLCKUTS1NLmgOCk911CvODG3uDQv XS85P3cTIySuvuxgXHzM6hCjAAejEg9vRoNOiBBrYllxZe4hRgkOZiUR3if2uiFCvCmJlVWp RfnxRaU5qcWHGJk4OKUaGFX3HuNmYqh8EP8mL6nO2uK046IvmSqTHh5o6no4py+oMt9F7oOl 57cyq3nTXwpcPN8xg+Xsiq+iS6b+nvZstWzcjeSgQ7ld3Bb3mJ5uFfiZtafzwonmI6w5G9Ue G3cWzTvF5f/BYW7iml2nTldX9x0ot4iNmP/LorVE3+SPCffRrYaWYZ2vbiixFGckGmoxFxUn AgCdRW73iQIAAA== 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.9 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 Add to Trats2 DTS new node for configuring the max77693 charger driver. Only the maxim,constant-microvolt differs from default value but set all of the optional properties anyway. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index dd9ac66770f7..952aeba473f1 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -543,6 +543,16 @@ regulator-max-microamp = <2580000>; }; }; + + charger { + compatible = "maxim,max77693-charger"; + + maxim,constant-microvolt = <4350000>; + maxim,min-system-microvolt = <3600000>; + maxim,thermal-regulation-celsius = <100>; + maxim,battery-overcurrent-microamp = <3500000>; + maxim,charge-input-threshold-microvolt = <4300000>; + }; }; };