From patchwork Thu Apr 14 21:07:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 8843081 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6E5329F36E for ; Thu, 14 Apr 2016 21:08:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97E5C202FF for ; Thu, 14 Apr 2016 21:08:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE5D020138 for ; Thu, 14 Apr 2016 21:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751977AbcDNVHw (ORCPT ); Thu, 14 Apr 2016 17:07:52 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:36156 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbcDNVHu (ORCPT ); Thu, 14 Apr 2016 17:07:50 -0400 Received: by mail-pa0-f46.google.com with SMTP id er2so19692350pad.3 for ; Thu, 14 Apr 2016 14:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KcgomE8IpXqW0ldzPM9X0W78ItV4RdXmYT/vdln4wjY=; b=Qp8SIuewdCK3s0wYbiFJuqIsYtByWii7NQhoXpiYeFs0fSJtkXkvaztIhYt6MepFD5 IlZY1L4/plDd1gqc5YOwdUen4j1JTKmh1+JTzmd8XgXIMXd5vCE3BhivzhmzZeGl2C3H PKxveGio1Wf/J/4l9jsx1exNIGVhfRt0L+cIs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KcgomE8IpXqW0ldzPM9X0W78ItV4RdXmYT/vdln4wjY=; b=jv3bNNcwSlVumH+6FKTvSUb3kFA/+vsD4qRyVylHT3tAmciYuK/RboiDt0NVUcj/Qb PtORVK6t6uRd1ElctHD0lyp9qCcOCCbz1CxKs8Td8xCQYSpgpf28x6E5BKAx30YbuuQB cVyZjgvYIqto5LZZQ6vFcwGxneiFEkHdSWlBUHSHqSmMSQrWcCRCXp0uIsKaeqgYfKeJ iMVFBbwFwwz9z8zHT+UVvwGvd1xejpcFv2pFzSmwRfcG3zcpsRSXtLhuo0co7poIVLkd 5oUKAVEGE2qtIsTRO6Bl7v8CVbO1N7ki1ohZ0jHSygopjdbeusfOtqdeY3mHVtG1IQre 1nEQ== X-Gm-Message-State: AOPr4FVKNyoYAFIuusYX1ho5br93XzwigTdBN9JIi6YqCynra9bqWe+09RWoWUojBadZEgxb X-Received: by 10.67.23.202 with SMTP id ic10mr23597036pad.127.1460668059484; Thu, 14 Apr 2016 14:07:39 -0700 (PDT) Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id wi5sm33221357pab.8.2016.04.14.14.07.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Apr 2016 14:07:38 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Rob Herring , Arnd Bergmann , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Andy Gross , Vinay Simha BN , Bjorn Andersson , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] device-tree: nexus7: Add bq27541 battery interface to dts Date: Thu, 14 Apr 2016 14:07:11 -0700 Message-Id: <1460668031-12384-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460668031-12384-1-git-send-email-john.stultz@linaro.org> References: <1460668031-12384-1-git-send-email-john.stultz@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 support for battery level reading on the Nexus7 by enabling the bq27541 driver in the nexus7 dts Cc: Rob Herring Cc: Arnd Bergmann Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Andy Gross Cc: Vinay Simha BN Cc: Bjorn Andersson Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz Acked-by: Rob Herring Acked-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index 15da084..b9028ab 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -228,6 +228,12 @@ reg = <0x52>; pagesize = <32>; }; + + bq27541@55 { + compatible = "ti,bq27541"; + reg = <0x55>; + }; + }; };