Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1908561imu; Sat, 8 Dec 2018 09:41:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/UIkpQrueQBoMfe21zvxJ50xdn4qELHh2Xxolltm8ryelJkb3t1pbv743NcOm2HBu9KOEEv X-Received: by 2002:a63:5d14:: with SMTP id r20mr5753334pgb.329.1544290889144; Sat, 08 Dec 2018 09:41:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544290889; cv=none; d=google.com; s=arc-20160816; b=ZyDo6JVw6dxQ2emaUvnrs1TbRDtRONbfzYHYv7RO6GmOHU0MxYyPqzzFEhTpD0wjNY usebcc969AJaICkTHJSxyvMH91ZttRzOPVAyaAxjJ4gdLNojkaaFjW003HrChKRDBrce Z5gfOKi3cAgtChlOm7A1uEOPqPO99CR4jUnvomKvV5RmTZ1CKhr6EIo4u9VPNFGkxZUq yxNAqbry3M9HFXed2TXOhlDPMPAtbxUjadoBV+evYiYJr7i/kq2iC3kkSp8KkJ5MaaBE svrfKVfq515vtnCMGFCZxGiK74jJCnIU2g/Lbkjp+Y54PIO+8zqeqTwqhq8GLgHdSgAN /UaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=9R+u9JqZGg1R+ZmmFdO/0aICjn4052ZL94p1tcs5n6E=; b=LFe6Q/7FjYypGVIBQJEDjwF1cA+XW+EM1wgdx/7wc2MBJAul71acKKhf4rKwUL8iR0 0VmzWZI1dxX8l72aaoNhHqqxeRJb19ggyBAECR6A3l0UKmZ2Eh/fz6Q5VqFI8ECzoNJV rR3ZY1B0wxCArfJF0DuZ2nuMJq6Zqwop5oAfyOXmrnayD5COTL8TsVfHcdcf6B5imKuj gelDQhlAxD2Drtl/3ITNF8hHBQoR0VrRvW6G70IKKIutHmlCgkopsRDXIoeIspRUjQX/ zvsRxfRj5IlErUJeV6vgbgKH1Zirv9q1YhRsBtgwL7a9iNQnI26i0FjNooEF/x1VabPG +udQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b=sFHfaNIi; 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 s11si5635854pgk.344.2018.12.08.09.41.13; Sat, 08 Dec 2018 09:41:29 -0800 (PST) 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=sFHfaNIi; 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 S1726406AbeLHRio (ORCPT + 99 others); Sat, 8 Dec 2018 12:38:44 -0500 Received: from mail1.kuutio.org ([92.222.216.83]:49642 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbeLHRiO (ORCPT ); Sat, 8 Dec 2018 12:38:14 -0500 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 98E6520791; Sat, 8 Dec 2018 18:38:07 +0100 (CET) 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= x-mailer:message-id:date:date:subject:subject:from:from:received :received; s=dkim; t=1544290686; x=1546882687; bh=0Pau1t2uLHm0gx 3d62knvUIoAPmSdr+RCvfuDsyGkaY=; b=sFHfaNIi4kss1Hb5upa1tXz5K52GyT XB6FNKDbxHJh7/XLCSlwSFsHM3YmWQO6UDFs0KxGCdYuEOBKnn49LErT4T+Wq9Td mlD11cGpwl7kyfRF9D7cziFquNqJOQtCiVWlQpZrttVC/Dc4s5TaAIQ63j2tYzFN FMZjUoBkG0XbzfmI91+I9VG/dug9Mu4A7Xxdix1nx96mWCVOh01PoXHkXpArNFSq VekoULuORwHbWCD350OB44oLelmB/I4BI/ko9kknRvIX8/7zeu5V3GHcANbRH0un 9bAXjq5E+15oxiN2C+HArIrMoZJ9M5msv/FR2U0a8S/Y25K0y7RZizcFcVUH6bvi DIGBIrqPYFvp2R/+TrN6K6pv0IbPV0KiBlUIDOKNzC5KsAXVApA/4Cv7tVbHlnS4 4mWrNA0VbABc5hUyb9A6UkAmj7NA++XGgLXsPCW3S9NW6GeuMtNmcF8v5HJWVMlL X1WfjdKOuhnBwxOAlbjuqHw/gzBILjkmyVfzApbYmEAWfOpBefcmrgjsyW5TRSE9 nXGm0IvkR6yTSf/89vf7eZ2J0XscXD0+u6vWD1Fl6OCASCyfRRB2LJyEP16aB9+j mLQa9Mz3AIFC9J1K8jAP9NbkV/8NWJ0tlkcwcJ7GcoVsj5wm03yPFWwXl0/bVnfu GDpD/NOmrwGgU= 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 pImGOoLzEQbr; Sat, 8 Dec 2018 18:38:06 +0100 (CET) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 27B211F965; Sat, 8 Dec 2018 18:38:06 +0100 (CET) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Lee Jones Cc: Quentin Schulz , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Oskari Lemmela Subject: [PATCH v7 0/9] AXP8x3 AC and battery power supply support Date: Sat, 8 Dec 2018 19:36:09 +0200 Message-Id: <20181208173618.31395-1-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 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 v7: * Added re-align patch for mfd cells Changes in v6: * Collected tags * Rebase to master * Dropped AXP803 compatible patches Changes in v5: * Return correct input current limit for values 0x6 and 0x7 * Add specific compatibles for AXP803 * Change commit messages * Add Vasily Khoruzhick Pinebook DTS patch Changes in v4: * Change order of axp20x-gpio in axp20x.c * Fix indentation and spaces to tabs in axp20x.c Changes in v3: * Reorder ac_power_supply DT node * Rename axp20x_ac_power_set_property function * Split mfd commit Changes in v2: * Reuse axp813 compatibles for axp803 * Refactor axp20x_ac_power.c Chen-Yu Tsai (1): mfd: axp20x: Re-align mfd cell entries Oskari Lemmela (7): 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-baseboard: enable power supplies power: supply: add AC power supply driver for AXP813 mfd: axp20x: Add AC power supply cell for AXP813 mfd: axp20x: Add supported cells for AXP803 Vasily Khoruzhick (1): arm64: dts: allwinner: a64: pinebook: enable power supplies .../bindings/power/supply/axp20x_ac_power.txt | 3 + arch/arm/boot/dts/axp81x.dtsi | 5 + arch/arm64/boot/dts/allwinner/axp803.dtsi | 33 +++++ .../dts/allwinner/sun50i-a64-pinebook.dts | 8 ++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 8 ++ drivers/mfd/axp20x.c | 126 ++++++++++-------- drivers/power/supply/axp20x_ac_power.c | 94 +++++++++++++ include/linux/mfd/axp20x.h | 1 + 8 files changed, 222 insertions(+), 56 deletions(-) -- 2.17.1