Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1950181imm; Sat, 6 Oct 2018 14:21:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV61QQ/EWL8eOR/tD8kbYFE05+UO243PsWiYR0k7BVKmyau7R2gRMwODDAAEE8c17r3Eze9Xk X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr17059555plb.99.1538860906967; Sat, 06 Oct 2018 14:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538860906; cv=none; d=google.com; s=arc-20160816; b=QQQHXnGMjsxT2mUzmRhKbpcRKJjUHveQKhE96WtL1fySl3TIccZ/ucHeUkSmh/AL9M HOYxHHzAbYfhWzF1W2vPnSKzBvtd/Ilez3fc7dwC4Lc2Kg+zc53W3f/CEooGMEZ78IZ6 EqaIc9vNIjcSq7iSCVAcRUHRYxtLtMSFvD69cs8Kt6iYH56Ege31Y7n3kco6XHvkTD+w jRSRYlBllcrmG0NyHR6gHs4ESjI464pqZzG/EWM/AbuFCpUQFKpr46t0me+x7R6qLLBK jo0U9ayEiZ5lel4bT6LfceAzb81NfN8G7BquCN5Gh2376YAHg38ZO1T6VX0LZV/Aiy0/ pVcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=VKiMUbLS0rW1OWCVK+qm5EKdDmeEYnrdOBMeIjTPOg0=; b=0m4+8Ixb5K4BNIJRYyWByr/52qHxeEXxW2132QQKljxqmrrLO1c32SUmURaAkIzoyu +Ku4yiMWtDTBT1dzYbqn5/IWRLYDuG/FuHAh0hFONojfDsNAsuI0e1udcvALSs4HXOhD utDNaWlWNqBx51PcJ9QZTecLhrlBr9ZERsQseAk2t2kSAUvIlfR2y+dyRXR37XZkG/83 lOq+Rqbu3Iv5XtsKs2ot7AiVK9KBA05H5qiCopCShj4KUVw1KLwG7zZeC5e8NHrkwR+4 Vml7nVfGJxmisKylY51NUlxhPk9H6RZVKtTnX3ksk/t/QQef+dSBT68oBWBlvIiMlvEr 8S3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b=YQIlIgug; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12-v6si13060507plc.332.2018.10.06.14.21.32; Sat, 06 Oct 2018 14:21:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b=YQIlIgug; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727577AbeJGEY6 (ORCPT + 99 others); Sun, 7 Oct 2018 00:24:58 -0400 Received: from mail1.kuutio.org ([92.222.216.83]:53246 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbeJGEY6 (ORCPT ); Sun, 7 Oct 2018 00:24:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id D1C9F1FBF3; Sat, 6 Oct 2018 23:20:06 +0200 (CEST) Authentication-Results: mail1.kuutio.org (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=lemmela.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lemmela.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1538860806; x= 1541452807; bh=B1dPJrRhQXT/P0x6Q7HRn+lVSpkp46XP0hhldBsAG+M=; b=Y QIlIgugnHU2rQ+KtvOe6+tkxBbnLPpwA+cKnOUHsk45eLo/UBR6WVZghfBmDXpYE ZRPHLYSflBgHsI9MVIhiVntowd6qFtnZjFqHCnToasc71D1EWmxc0M5prEqC17kt THQDvXBBODSMicQ6HbQ+1s+ZLeXMGH1SlmIHXOaA37daWH5bxqD4mYAgSQkUhAKw tVMT7p2Ypwj57SdZ34HqeeRkLbwAeEC8irXBMwkT9Bd2OkdHx2WhSuCcqJx8sk69 gCweFRScHSrRyHej7t1+hzGDbtEU9GECAS1cM/Kf1b3c+nb4ceZnr4oat39xtb3S YMnWex2n6u+t7YuUP/513IJUymFArknuJx9Dr1+4dKaqqsObdFWeJHJXQHcGH47y vIjdw+9s574uAK0Z2R3J1bizhOBMIuSp6UUNQ9ndismXoV3pqBebx3vM3tsd9Var c8AuHhfos80B3j6NW0zqEDI1GwxfvYMYsgxOUm2aA19N8DQfDHx8+q4lR2c/vTSV 9LgFYZ4N4Fzw9L6WlmohcP29Fe3V0Z4gz0TBQZLHlz8iyMWR9QX7fdnnBQVxoLLX cfVcO74XS0e/Stcu+qPzj8nAPk7prhEAkqHCfqxl9sMU/0ys6JphNgEkF2FANbBb vnHXY8xLPCOlKWTO423ntR1RBe+WrcoV4zLS8L2VB8= X-Virus-Scanned: amavisd-new at kuutio.org Received: from mail1.kuutio.org ([127.0.0.1]) by localhost (mail1.kuutio.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YLzyk3WULDrF; Sat, 6 Oct 2018 23:20:06 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 915D01F99A; Sat, 6 Oct 2018 23:20:05 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Cc: Lee Jones , Quentin Schulz , Oskari Lemmela , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/6] AXP8x3 AC and battery power supply support Date: Sun, 7 Oct 2018 00:18:30 +0300 Message-Id: <20181006211836.28253-1-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181004193410.7265-1-oskari@lemmela.net> References: <20181004193410.7265-1-oskari@lemmela.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AXP813 AC power supply support with input current and voltage limiting support. AXP803 AC and battery power supply support. Changes in v2: * Reuse axp813 compatibles for axp803 * Refactor axp20x_ac_power.c Oskari Lemmela (6): dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding ARM: dts: axp81x: add AC power supply subnode arm64: dts: allwinner: axp803: add AC and battery power supplies arm64: dts: allwinner: a64: sopine: enable power supplies mfd: axp20x: add support AXP803 AC and battery power supplies power: supply: add AC power supply driver for AXP813 .../bindings/power/supply/axp20x_ac_power.txt | 3 + arch/arm/boot/dts/axp81x.dtsi | 5 + arch/arm64/boot/dts/allwinner/axp803.dtsi | 31 +++++++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 8 ++ drivers/mfd/axp20x.c | 22 ++++- drivers/power/supply/axp20x_ac_power.c | 92 +++++++++++++++++++ include/linux/mfd/axp20x.h | 1 + 7 files changed, 161 insertions(+), 1 deletion(-) -- 2.17.1