From patchwork Wed May 13 03:52:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 6393421 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 8D7ADBEEE1 for ; Wed, 13 May 2015 03:53:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF86320426 for ; Wed, 13 May 2015 03:53:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C4A92041F for ; Wed, 13 May 2015 03:53:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934025AbbEMDxT (ORCPT ); Tue, 12 May 2015 23:53:19 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36079 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753376AbbEMDxS (ORCPT ); Tue, 12 May 2015 23:53:18 -0400 Received: by pabsx10 with SMTP id sx10so36496610pab.3 for ; Tue, 12 May 2015 20:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Oiukc3KWibFf3O2amWOaIsSceNkLH8xG1wntlbNwMeQ=; b=WaMiAwzSplbKKwm9VlLwjIcGe5kNOoewHlxmBFKxXqCjGDzq7LWAA7UlBJbAC86zjr llbMclJaDTHbkqJpKyo/+VOLEnvKLVvJMhMb2c9chKzuiNhyxA/ypWTeLWNrfR2ovl+1 huX+bFL0khaYkRRvvCNA8dpKyoT1FEnhutC2r4sy+4CACygzHCYq1ibTfIhGW+SH0hC+ WGteEPzTQTG25NSqZ5jEUO0Ax+L80VXYdikCdbEz1rptAALObcuhJs47u1GPykyAzRMj unszf5yrCHXJrvw1aLEWkQCIhjLJyWl4KfRA5MGvf+XFU+YwnwUmepBCmH9ILW8gmobW Iw6A== X-Received: by 10.66.159.68 with SMTP id xa4mr34327942pab.105.1431489198195; Tue, 12 May 2015 20:53:18 -0700 (PDT) Received: from odroidxu3.localdomain ([103.249.88.226]) by mx.google.com with ESMTPSA id d7sm17679117pdn.47.2015.05.12.20.53.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 May 2015 20:53:17 -0700 (PDT) From: Anand Moon To: Russell King , Kukjin Kim , Javier Martinez Canillas , Krzysztof Kozlowski , Anand Moon , Doug Anderson , Lukasz Majewski , Andreas Faerber , Sachin Kamat , "Rafael J. Wysocki" Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCHv2 2/3] ARM: exynos_defconfig: Enable CONFIG_SENSORS_INA2XX for odroidxu3. Date: Wed, 13 May 2015 13:22:53 +0930 Message-Id: <1431489174-4479-3-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431489174-4479-1-git-send-email-linux.amoon@gmail.com> References: <1431489174-4479-1-git-send-email-linux.amoon@gmail.com> 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 Odroidxu3 board support power monitor sensor. Below is the output of boot log. [ 3.241438] ina2xx 0-0040: power monitor ina231 (Rshunt = 10000 uOhm) [ 3.248068] ina2xx 0-0041: power monitor ina231 (Rshunt = 10000 uOhm) [ 3.254724] ina2xx 0-0044: power monitor ina231 (Rshunt = 10000 uOhm) [ 3.261354] ina2xx 0-0045: power monitor ina231 (Rshunt = 10000 uOhm) ina231-i2c-0-40 Adapter: s3c2410-i2c in0: +0.00 V in1: +1.01 V power1: 175.00 mW curr1: +0.18 A ina231-i2c-0-41 Adapter: s3c2410-i2c in0: +0.00 V in1: +1.21 V power1: 50.00 mW curr1: +0.04 A ina231-i2c-0-44 Adapter: s3c2410-i2c in0: +0.00 V in1: +1.02 V power1: 50.00 mW curr1: +0.04 A ina231-i2c-0-45 Adapter: s3c2410-i2c in0: +0.00 V in1: +1.04 V power1: 75.00 mW curr1: +0.07 A Signed-off-by: Anand Moon Reviewed-by: Krzysztof Kozlowski --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 3c2784f..300678a 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -102,6 +102,7 @@ CONFIG_CHARGER_TPS65090=y CONFIG_HWMON=y CONFIG_SENSORS_LM90=y CONFIG_SENSORS_PWM_FAN=y +CONFIG_SENSORS_INA2XX=y CONFIG_CPU_FREQ=y CONFIG_CPU_THERMAL=y CONFIG_THERMAL=y