From patchwork Fri Jan 23 14:29:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5694421 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2919BC058D for ; Fri, 23 Jan 2015 14:30:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72842202F0 for ; Fri, 23 Jan 2015 14:30:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87A72202B8 for ; Fri, 23 Jan 2015 14:30:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755409AbbAWOaG (ORCPT ); Fri, 23 Jan 2015 09:30:06 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:58180 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755223AbbAWOaE (ORCPT ); Fri, 23 Jan 2015 09:30:04 -0500 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 <0NIM00E6NWGTMH00@mailout3.w1.samsung.com>; Fri, 23 Jan 2015 14:34:05 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-6f-54c25a5892eb Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 97.F4.26295.85A52C45; Fri, 23 Jan 2015 14:27:36 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NIM00CO5W9Y6800@eusync4.samsung.com>; Fri, 23 Jan 2015 14:30:01 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kyungmin Park , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Krzysztof Kozlowski Subject: [PATCH] ARM: dts: exynos4412-trats2: Add max77693 charger node Date: Fri, 23 Jan 2015 15:29:55 +0100 Message-id: <1422023395-8407-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPJMWRmVeSWpSXmKPExsVy+t/xa7oRUYdCDP6f47HYOGM9q8X8I+dY LV6/MLTof/ya2eJs0xt2i02Pr7FaXN41h81ixvl9TBZrj9xld+D02LSqk81j85J6j74tqxg9 Pm+SC2CJ4rJJSc3JLEst0rdL4Mo4/n4Pc0ErR8Xdh5+YGxjPsXUxcnBICJhIPN4q3sXICWSK SVy4tx4ozMUhJLCUUWLZkRYmCKePSeLh1ocsIFVsAsYSm5cvYQOxRQRWMEpcbLIEKWIWOMoo cWPWXSaQqcIC7hIzduWC1LAIqEq82j2DBSTMK+AmsfiNPsQyOYmTxyazTmDkXsDIsIpRNLU0 uaA4KT3XSK84Mbe4NC9dLzk/dxMjJFC+7mBceszqEKMAB6MSD++BNwdDhFgTy4orcw8xSnAw K4nwWmseChHiTUmsrEotyo8vKs1JLT7EyMTBKdXAqFS5Kn6l7aGJanf2TFL5VRzy/hLn9IZP gZOT11vlfDU6mpL6u1j+eKL4gz/+SVNUP/1mOJVxZ9/x2h1zBFbPMrT42DtP+1drsk0Sk4xz +jwBtbxHkcc3uk7rrstIPdL1tz3+UPuFzTvdVle8Dzjc0lZXp6zr97foikyawgENxxxZFWln xxmPlFiKMxINtZiLihMB0ez9cvIBAAA= 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 29231b452643..496a05faca37 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -549,6 +549,16 @@ haptic-supply = <&ldo26_reg>; pwms = <&pwm 0 38022 0>; }; + + 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>; + }; }; };