From patchwork Tue Oct 23 18:53:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Oskari_Lemmel=C3=A4?= X-Patchwork-Id: 10653525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 90D0F13A9 for ; Tue, 23 Oct 2018 18:55:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80F5E29F73 for ; Tue, 23 Oct 2018 18:55:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74B472A2FC; Tue, 23 Oct 2018 18:55:24 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B4A729F73 for ; Tue, 23 Oct 2018 18:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728902AbeJXDSr (ORCPT ); Tue, 23 Oct 2018 23:18:47 -0400 Received: from mail1.kuutio.org ([92.222.216.83]:45790 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728370AbeJXDSq (ORCPT ); Tue, 23 Oct 2018 23:18:46 -0400 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 634881F905; Tue, 23 Oct 2018 20:54:05 +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=1540320844; x= 1542912845; bh=j3Vl2TNmgvtTSUry15fj4Q/WOZ4rGD+1mEVBj65G2EA=; b=r nDGV2mKCRwEHJRvK0sc8FtP+Ns1Zt05hHAOdnszDRJ8rscqhwqGpX+z0kHHEB3OH 0PHkGAeqydLSyVBc5PbogTZ1GVCilpuhbSd3RPrOh398uWgMSSx3eDaiL+ULolIE jsDHsxBYLS/2kXtUWGUaGAox/suBuAajoLl8dipe/UVBzFO3YqWCj4bU6j03fTyQ HHWzL3PggMoDY1quYdQHwh7yWrLEDxVW2qCdcMW+KLlZ17R7MN2RXEXUQuOdDt/h j1fzW7JG7gDzPUdWBQPxEfUvszPw+DDiOMmrEui8yvGxvEDADxiHRxF/gAbStjIq n+fQrBo3LEnHKS2z56a1IrfKKLZG2jCUxyhpve78013D1RpQ5bDR/jOwJqJZV+XV s5LZOKFLF5naqctj194A7o6NsCXu8z2pn20qZlCDV28O6c22JJpegmO0BhFrcZ4D SDl5B9ltCU3QrcriwJ8kcZ443R52BNe9RN3lvLTavlFt5U1GS6CNop4I7YJk5CTl vYcANS90/5S04P+jSBGaTRsMIB24G9Bpmn3WaJMWr9N+QPRpAajLMe5AzaOFJJgQ p0AO2NIO4ZNkafGAJU9OHHmRkNa5RED0TkKe9RWzgRE/k41tgxxH9qy5W3Cpd7RN kmUAMj0nPrfij9c7+yTufvM+cLxn9xAzhzlDUjmR5A= 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 qLiMwXuBKNHI; Tue, 23 Oct 2018 20:54:04 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 02D831F99A; Tue, 23 Oct 2018 20:54:02 +0200 (CEST) From: Oskari Lemmela To: Linus Walleij , Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Jonathan Cameron Cc: Lee Jones , Hartmut Knaack , Lars-Peter Clausen , Vasily Khoruzhick , Quentin Schulz , Oskari Lemmela , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH v5 01/11] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Date: Tue, 23 Oct 2018 21:53:20 +0300 Message-Id: <20181023185330.10472-2-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181023185330.10472-1-oskari@lemmela.net> References: <20181023185330.10472-1-oskari@lemmela.net> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The AXP803/AXP813 AC power supply can limit input current and voltage. Signed-off-by: Oskari Lemmela Reviewed-by: Rob Herring Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Reviewed-by: Sebastian Reichel Tested-by: Vasily Khoruzhick --- .../devicetree/bindings/power/supply/axp20x_ac_power.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt b/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt index 826e8a879121..7a1fb532abe5 100644 --- a/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt +++ b/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt @@ -4,6 +4,7 @@ Required Properties: - compatible: One of: "x-powers,axp202-ac-power-supply" "x-powers,axp221-ac-power-supply" + "x-powers,axp813-ac-power-supply" This node is a subnode of the axp20x PMIC. @@ -13,6 +14,8 @@ reading ADC channels from the AXP20X ADC. The AXP22X is only able to tell if an AC power supply is present and usable. +AXP813/AXP803 are able to limit current and supply voltage + Example: &axp209 {