From patchwork Tue Jul 17 16:06:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 10530087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DCEEA60247 for ; Tue, 17 Jul 2018 16:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C21A629418 for ; Tue, 17 Jul 2018 16:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B623E295DC; Tue, 17 Jul 2018 16:12:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5B95629418 for ; Tue, 17 Jul 2018 16:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=t1jwfbc+vEPFWzrIAsmpYNeoq+hYkTehhq1mRl8IISo=; b=iOQ3Ar5gvCIFSJc6j1C6Ax4JHF vFSHFxWmksPNYvrB4io0liDnwPL/JLM4xy95A3C8isVi2G6iGaW6IADrTUmypdn7u8lXHuQ1XqyFB WIb8x5JnFPZgSspOZFIHYMiGz+Opd+4kfiul6/vU704cjkppEJU3iYrRJjNWkoImfu10Qsjc7n1tF BNLbFJrvHwkeClP3aB8jLkzFyGYFATt1q7nQbZGEEEEE1hK1b6Eaf/qMCl59EFaWfRQPJ/wSRb6CB d5NGqu0KoHVizy5HxzrgZwDyKBgdlo8AGRB0ISj7oelRfcj8wt7iddX6fn2JcEBuGCfgfKaIH3l3s 6mLYGNTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffSat-0007Dg-7f; Tue, 17 Jul 2018 16:12:55 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffSUh-0001ta-Aw for linux-arm-kernel@lists.infradead.org; Tue, 17 Jul 2018 16:06:34 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id C7A5127E010 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: defconfig: Enable support for SBS battery driver. Date: Tue, 17 Jul 2018 18:06:10 +0200 Message-Id: <20180717160610.26501-5-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180717160610.26501-1-enric.balletbo@collabora.com> References: <20180717160610.26501-1-enric.balletbo@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180717_090631_576993_76AEC9B3 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heiko@sntech.de, Arnd Bergmann , Ard Biesheuvel , Catalin Marinas , Gregory CLEMENT , Will Deacon , Amit Kucheria , Olof Johansson , Wei Xu , Andy Gross , Simon Horman , kernel@collabora.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some Chromebooks, like the Samsung Chromebook Plus, come with a SBS-compliant gas gauges, so enable the support in the default kernel configuration. Signed-off-by: Enric Balletbo i Serra --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a36e80cce868..e2aaa47c4999 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -350,6 +350,7 @@ CONFIG_POWER_RESET_MSM=y CONFIG_POWER_RESET_XGENE=y CONFIG_POWER_RESET_SYSCON=y CONFIG_SYSCON_REBOOT_MODE=y +CONFIG_BATTERY_SBS=m CONFIG_BATTERY_BQ27XXX=y CONFIG_SENSORS_ARM_SCPI=y CONFIG_SENSORS_LM90=m