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: 10653575 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 1455E14BD for ; Tue, 23 Oct 2018 19:47:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED21C2A352 for ; Tue, 23 Oct 2018 19:47:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0E942A359; Tue, 23 Oct 2018 19:47:01 +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,RCVD_IN_DNSWL_NONE 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 799F52A352 for ; Tue, 23 Oct 2018 19:47:01 +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=T6aNQ4pVqHjqNysvff3LqlqFCoFiJXAxq5lID+1AHu8=; b=TWJRdeNzTrqwxdgMREK/WCU/34 cjWj0zGoUDIxNxl7ULevFonBdN/IG9N/3nzvH5etPGS/i2LsxEr3gqD4HZ0NZ44us8OMWx8/W21An vnVEwNi5g8M4Vp4NbUbxu0eYhGnqUmphFopIFnrJdhq69Seho8uhHkqC2QrRXIey9l0euROOmiWYs OEASwNANsBxyvNxV9Zs4tpALKmUPPFjMBJFJWsflUU19P3+TYLDi7gSZaj7d8eyYCREWOR/zfXx2p h0qlunIx1NMcBkG4ovUuLnfRw3BW4jShQZwnv1SU/VuIorJ3LHAf2eOmgprXMqPUlZjmBgAys5bb6 YJ2G/9Pg==; 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 1gF2dl-0006HT-IF; Tue, 23 Oct 2018 19:46:57 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF2di-0006HC-H2 for linux-arm-kernel@bombadil.infradead.org; Tue, 23 Oct 2018 19:46:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wPdpU+0o5XDtt92ysV7ruDR2ZBWA/u0z2slJCAaENmc=; b=gYdcdBppgwhlLt/v1hh44fFA0 dE2QmdH9EDbodjIav737B86xAGB2ejqcxobp+jQQlBC4l3Hr/pPTRztLmUbO/N27o8ZpKFebtnzJb mYVdUt4B/VCpRZWOrLqCh0NPlfWA8NWhYwPfVjc7PZ5rs310IMVarzv/q1YmUQx/hyYJhwJ0t+RdC naTSBjfZBbRnYq03blf2ttdsfQMzBq28utHR0QY1R6sOIvMR28FlhQ7Nz6OEaCi4ETUSANeVttn6Z N2/yKYENAR2OTVAlhm9EaxBaBOoe+7mQTkDYU36k6GXhesSuRkL+Re9fclyZVo61dhWzKA1HntWFm gp4ObMzow==; Received: from mail1.kuutio.org ([92.222.216.83]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF1oq-0003nI-4p for linux-arm-kernel@lists.infradead.org; Tue, 23 Oct 2018 18:54:21 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181023_145420_385154_E2E9C95D X-CRM114-Status: UNSURE ( 9.07 ) 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: devicetree@vger.kernel.org, Lars-Peter Clausen , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Vasily Khoruzhick , Quentin Schulz , Oskari Lemmela , Hartmut Knaack , Lee Jones , 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 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 {