From patchwork Fri Jul 21 16:20:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 9857267 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 AC66D601C0 for ; Fri, 21 Jul 2017 16:21:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 987112871A for ; Fri, 21 Jul 2017 16:21:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CCE22872B; Fri, 21 Jul 2017 16:21:33 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 38A372871A for ; Fri, 21 Jul 2017 16:21:33 +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=3DROnWtmrHciqETtFgOQbwE9SiPGwD2Nw81NYS1uxz0=; b=jc4L3lhLFI+8hKXrJlXQmR69Lg wthSnurJ8VnAGBAlTv5F4QJnuyp9RdRlve8e+/VFNSduCa9OaKfibjWEPE34zSLQlNeStDpBDhWtD XbQdgSAuOH9D+00lWPQmWhmKxE6IY9Q132ryvkdOwTb2FlQ9FGRw/yDu2sqKA2XOfex8LTBsylgPY bzPz0jqKSOrJfRSrtCW9+ZjwCpFev+55stNN4gFJeJAS6TP5Ndmrx4i0G3aRcpNgWHQJc1MRFSNQO fOWWAzq1Ct8vCtSeuH/aQICiyQIyos/bS/HZWcUGMaoLFGSgUhOT37yGuuelo6jR074/jR0/nAtxO 40oKgTEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYagC-0004Te-Hn; Fri, 21 Jul 2017 16:21:28 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYafE-00038Q-2J for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2017 16:20:35 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 84CAF21EEE; Fri, 21 Jul 2017 18:20:07 +0200 (CEST) Received: from localhost (LFbn-1-10718-131.w90-89.abo.wanadoo.fr [90.89.68.131]) by mail.free-electrons.com (Postfix) with ESMTPSA id 593A721ED4; Fri, 21 Jul 2017 18:20:07 +0200 (CEST) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 4/4] arm: sunxi: Add additional power supplies Date: Fri, 21 Jul 2017 18:20:05 +0200 Message-Id: <20170721162005.18892-4-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170721162005.18892-1-maxime.ripard@free-electrons.com> References: <20170721162005.18892-1-maxime.ripard@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170721_092028_411135_7C81324B X-CRM114-Status: UNSURE ( 8.54 ) 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: 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 A bunch of new power supplies have been added recently to handle the batteries and the AC-IN plugs. Add them to our defconfig. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 456988dd7b0e..0d29834b9688 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -77,6 +77,8 @@ CONFIG_SPI_SUN4I=y CONFIG_SPI_SUN6I=y CONFIG_GPIO_SYSFS=y CONFIG_POWER_SUPPLY=y +CONFIG_CHARGER_AXP20X=y +CONFIG_BATTERY_AXP20X=y CONFIG_AXP20X_POWER=y CONFIG_THERMAL=y CONFIG_CPU_THERMAL=y