From patchwork Sat Dec 8 17:36:10 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: 10719651 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 26702112E for ; Sat, 8 Dec 2018 17:38:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A4662B062 for ; Sat, 8 Dec 2018 17:38:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEFFF2B067; Sat, 8 Dec 2018 17:38:58 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 715602B062 for ; Sat, 8 Dec 2018 17:38:58 +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=sPJ86kYiaZdaxneQMXezJZ8BHQ JZEa/X90ToEqeSspUIufwcc2BnRYCzrhgs71DA2EQSp1YMVOs99chSOeG8S5srm2IlRPqkiZd0N9Z FzITZ8IjfWlqQeJk3TB4fL/uZMd4aEkcmQHyQJqo7h0Eu49bPvIYlnHTUW9iMlDnMKI6JjeGKtPys crXzsYVVjoH7xWmIED+ZhZoZxxctMeNnU4PI5M7b5L2f8p9ktXVOm9S1o4KZ0SMxCZstGgCtcMSVj G3OixusuBnqoteYEd2CigIfgBhddWjslrd4sxYP9HULfbRQHJ/eZ3ydoU0C7ewb8h8kUK1RLNl1MQ QTiPHpxg==; 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 1gVgZ4-0005qa-G2; Sat, 08 Dec 2018 17:38:54 +0000 Received: from mail1.kuutio.org ([2001:41d0:401:3100::431a]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVgYZ-0005Jz-1m for linux-arm-kernel@lists.infradead.org; Sat, 08 Dec 2018 17:38:24 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 0B20620926; Sat, 8 Dec 2018 18:38:08 +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= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1544290687; x= 1546882688; bh=j3Vl2TNmgvtTSUry15fj4Q/WOZ4rGD+1mEVBj65G2EA=; b=t 4pZXgu8wlYWZF8/qL4FSx1TIP8Lr5sflpdLbhA28cazxnw7ImGo1oVTWoz2To+4C 1hMT336VKavUehec3fVShv4vGDL91/EWVfye2MC/dG1PrEnYaysyYeW8jap0xLJ9 5QpmHW19GwFM1PQA2lJcC4V55IbTdbw5V6Gf2e6BRL6V7cisXdvRHcj+XPYrMdQ0 7CtPgn6/bFRF72fK4vEeNvVSrqcUoGsRdY7LqoZw7OTzMJfHn79PGUAstaSBpAly B5UE24WgxVG2/13K0kZI0RExbwZs/eEAlBR5nu8vUQCtScfIng4S+XxmKeJ6eMge Cjrr4LxWvKAUrTMIg5GEgZfaDFicMvHDEK1bltNE3m/7DEWcSJqUFD7nvVuAEGZf Ji7WsKNJKsb0kKIiszJ6HK9MrzJOmFU3fBfcfmuHigkNu+TjDzsQu86Z9cne4HfP 9VbVnqnTKZ3MF/j/dAuaXTm0wol57/GFuzddC+ufSdlEUTjbZqJ0W3zbDfMHL+RO bc5qKBgYilDN7G7bhuGKuWBD+OwFHDgjVMJc4Mc6x1HG1Ape5h5Et0KVArZ2KI0k yxHkl5PMIapVQQ/Z+3H0kWhIsG3YHXOyVPeitT4BgSVCyT3KXN+UKgfMwM7fVVMy ycozXTdol+/Zx9SvTp8SzOi0aeWKLHn8dLRkYvHqng= 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 qfCflTAya_b1; Sat, 8 Dec 2018 18:38:07 +0100 (CET) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id ADA6A1F988; 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 Subject: [PATCH v7 1/9] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Date: Sat, 8 Dec 2018 19:36:10 +0200 Message-Id: <20181208173618.31395-2-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181208173618.31395-1-oskari@lemmela.net> References: <20181208173618.31395-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181208_093823_268969_A6EF9FC6 X-CRM114-Status: UNSURE ( 9.24 ) 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, Quentin Schulz , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Oskari Lemmela , 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 {