From patchwork Sat Oct 13 08:08:42 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: 10640033 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 20E17925 for ; Sat, 13 Oct 2018 08:13:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DF3428F2F for ; Sat, 13 Oct 2018 08:13:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F176B2B1D6; Sat, 13 Oct 2018 08:13:46 +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 81EC628F2F for ; Sat, 13 Oct 2018 08:13:46 +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=AowzZ8nn/pFGCPsdfQjI3Lwvk/U+j06lsdGV9LR/QLs=; b=Ls/W/VmNqnYUmnvxNahSBD04TH PoJQazWfEs18rUv1g5Kx/1fb6AAAr5EHDyFmHWcJcx32V1kcLxtY2oMtnS8nf0OOzfrdeXQTKp8Bq 2wYjY7xku6FI4yiFLclltDik0ChS1MaWLfbs1XgjNK4hNXQmKnz21wQRAnF0dO4onoAmBBpuK5g+w RpyCbEIeIPHSVNMXgFFVqK98sP2kng5um1U9wcHBDZMk80J557BckZftJcNLJ1rNw7TPNtFcHsFdm /oO713d/EWhy4WMb6ZeLAB5HJgDVg4Jwodpr8V45zBYjV/H9/LmlWQ3fLoRcVTJNL2k4fVZQkM0rw TLZ3dKuw==; 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 1gBF3G-00029J-TS; Sat, 13 Oct 2018 08:13:34 +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 1gBEzr-0007lf-GD for linux-arm-kernel@lists.infradead.org; Sat, 13 Oct 2018 08:10:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id BF69F20FEB; Sat, 13 Oct 2018 10:09:37 +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=1539418172; x= 1542010173; bh=yUoz/J22jZ3O8qivvjzvadJN4Zms13Ygz3EIGWpJgm0=; b=u +KohG31FEjv8GbVQwIGL3lnpw1mWVfXXBvfqkskS5YhzUBkohleqMrcM5AHLLLEQ TvPpt/7Np5/Lh82xPTzGSGsnQc2+edrLA/8LgMnYESe1w7EHmkH5GVWgU3p/60fv 3ncGRmrFtbMcu7R35lT9x20YdRrJeV04RNsz8RQ2f2CP9FLRFQfd/1pBrKgYV/94 3xNOjl8BBGR4/VrBOdBcBjGoR/4vCcA/zqTXXvMScfK4GrL1JxBv6AgzTmqKzrVu WZ+YpkGXOQIvo+szNR1jSNFbxe9C4vYICWl1luGq9w4kQsVvbhKOpd+Wv0dfL9by b708/7/1grq/TsA6Co4I1jtqTnSnbV5Zuw/kg9OYwI2xnCeSapWg3mSNosoCSm1+ Ux8LPQhjnY8OmPti+Tmn0UsiI6DfXo8YfRioSW4hDGW/aoSoCFfatnXRG2VFKUju iUKGrvQbi4Wfxa7rwegcFvzOSmcjiRQSVErRdpLeWZAw8WaWWHLOpJlWMoXlG14y mGWv4LWGHyc9NcZyKHziaVJnNXZRE7MWFf2wfk71NL2etDyZThewJmviJt1RWhzm pC8lcjbL0k0izl24hZVJi2c9f081ZLEn6acXkSXFHYCVe6ANgD6Ik+jsgwQ4iERu AR/GkvA7mVPCsDrZpyJgtJvKayMpqLATY8uJcNsOCU= 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 WBYLi7M9y53V; Sat, 13 Oct 2018 10:09:32 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id BA0F11FBA4; Sat, 13 Oct 2018 10:09:31 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v4 1/7] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Date: Sat, 13 Oct 2018 11:08:42 +0300 Message-Id: <20181013080848.29894-2-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181013080848.29894-1-oskari@lemmela.net> References: <20181013080848.29894-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181013_011003_721325_DE18087A X-CRM114-Status: UNSURE ( 9.20 ) 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, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Schulz , Oskari Lemmela , 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 --- .../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 {