From patchwork Wed May 13 05:02:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 6393591 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 11DD5BEEE1 for ; Wed, 13 May 2015 05:02:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2FC9120426 for ; Wed, 13 May 2015 05:02:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 531842041E for ; Wed, 13 May 2015 05:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751409AbbEMFC2 (ORCPT ); Wed, 13 May 2015 01:02:28 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:33429 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751131AbbEMFC1 (ORCPT ); Wed, 13 May 2015 01:02:27 -0400 Received: by pdbnk13 with SMTP id nk13so39189646pdb.0 for ; Tue, 12 May 2015 22:02:27 -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=uTpwzqjPH2K7HxnLG0aZo2+QajXFsJnfcfnQxVHxtuE=; b=OVH5HN7Np0lp6LLYNILfWk/vkh6G1DmOhytq9+2bb7ktfGz2QNeCJYX6ES2MuH4xCX 2nK9epWV53nJfnBHt9pTjM9vqpDjqrrECpZbFd6zFBiTpcy7hVwiLi1bCcCwamLuBvPP iAmk5+YqGWEvKTFQjaudpfGP5Y1wUJST/2Wj2rfOPbO2LBlOnMtOgNVP51b55RiJr790 gK8dPAXuzEXVqfjC+A2EpwhVY68hu3IK8BQnJvMWtBlKMSYn3dWL9iUlAsYHhPrXyQ7z Lhp0r3BO7qbpBH4p+i/UlZ+dWq5Bvnnnn7QD5n4zRnN4Mh93o9JfFKUeSSSg9g0YvDvj Y5YQ== X-Received: by 10.70.50.199 with SMTP id e7mr34447132pdo.124.1431493346969; Tue, 12 May 2015 22:02:26 -0700 (PDT) Received: from odroidxu3.localdomain ([103.249.88.226]) by mx.google.com with ESMTPSA id xs10sm17909757pab.35.2015.05.12.22.02.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 May 2015 22:02:25 -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: [PATCHv3 2/3] ARM: exynos_defconfig: Enable CONFIG_SENSORS_INA2XX for Odroid-XU3 Date: Wed, 13 May 2015 14:32:06 +0930 Message-Id: <1431493327-5387-3-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431493327-5387-1-git-send-email-linux.amoon@gmail.com> References: <1431493327-5387-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=ham 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 Odroid-XU3 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 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- 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