Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1382537imm; Thu, 4 Oct 2018 12:41:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV61OUguXkCZWoVLQ6gXKhSk3dm5BaNvjOswbRwt9wtEajUu8Z/GNN1/BfjIiBGyAfELaYZ2U X-Received: by 2002:a62:cc0e:: with SMTP id a14-v6mr8168565pfg.131.1538682096167; Thu, 04 Oct 2018 12:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538682096; cv=none; d=google.com; s=arc-20160816; b=fuEuQzZ/J1DKRO9w16dq+OBw6yPh3sn/yjaFQYNfM16/oRB0u0RwUIsEDT/SZlt1NF GUfdritNIPlvF0VvvciPtEJWCqvX0RxJNINfpANGvRCaz0NIVTcpbJD9W7pWoCLUgV1e sscrIm3+RVEUwh2Z5NcbUdtLxm07Y9nyQZFPmCgSUw/u/pE2J+Ji9yRpeJ6H79geAsK/ TpjeeCTlvL3BtKrmc0GfPsOoMMY75rOtVu+zfY/NxzL/2B/gXyJhxG/hn6d14CwUjuYN je8vSRfQDKLUgx4U5Bm6uKWNXW2IpTur29crs4TcHyVhglCD5Yhai+4IiOakrcGhxMJC bHSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tel5gcJ5qQczuxmc9JipkmUnLoe8kj8gRBRiYAFx6ns=; b=DQ8+ixu8M755gDTOgVjpNJ3VYXrfSTeIj81UhCSdqY63vPQT6NaVVT1XMQ0pFFJb/H T/n8HU/6hRqxScK8Qkpw8jKYkpVYgH8mm0uQMK1ehr9lVttbS+OEEGlWM48d+m55bKgL 8QD8GLAw2N1sFw635EzwrjL6Mjb71SqWMTeddwO2H4F34OKmODmgSSTC8PaN81EyboRH 3pJCEojqTyOH7m2IT2xoGqEx3xxYTQJRB4QjQ+cR3Ti4nb7TZ3DoYYK69ZJHVn72C5kS DjIAhoyWc0h7qpVeQ/BRyXP7L4uaWj0yb6RYt4C73xoBpunrwIJWhyLZzg8w3Craq59C QcFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b="bJZ/t93a"; 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 k5-v6si5803129pgr.511.2018.10.04.12.41.21; Thu, 04 Oct 2018 12:41:36 -0700 (PDT) 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="bJZ/t93a"; 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 S1727813AbeJECfl (ORCPT + 99 others); Thu, 4 Oct 2018 22:35:41 -0400 Received: from mail1.kuutio.org ([92.222.216.83]:47758 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbeJECf3 (ORCPT ); Thu, 4 Oct 2018 22:35:29 -0400 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 204101FBEE; Thu, 4 Oct 2018 21:34:43 +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=1538681682; x= 1541273683; bh=aui2goVtbIMuvSKHLmP97Y1M6t8ncr2/0qbHdtYYsxU=; b=b JZ/t93aC4E9vh9QKMsgVQcKPz2QYqMqnyfh9BbjW9tdhhVfOBAY4gzQdMLU4evh6 K2cCdvBnmGG8Z7g/bFdOcWClaAlZRib2ykC5EzbfqeeptI2rbuHTdW2HuuoWzhe9 LraiwI9B6rEII+0dUy2dFkQoCykq7+fwGN9AwUKVEOlS4ofAPwhvhJiU6LspfOR+ t9MUdD9h/ENY3g8YAF0IjYWj1NVapOYUUyL4QoTWxPqYR00JZ8YawuFJtnnOBuq2 gIwg6wpivWeHd9JbjyeD3RNhTuKAbipjAN8UQ9ECEIHFOGnemKIsL0qXqAEgfT5k gpG6dbOEkyQ0Lch/eBqJlJftNEHD1gnHZrINi6AYQ7QGQerd6S5KLWTSgy7OxXpp kdLxAmdNnZdYOW3GrUklvFyXJz2VDJTAUdgiaVQXduEvwJlKu7/pLQ29glaXIKgW ICwhbcLM9LmkpBFIV+VnWKp5YJm5oA16vR4bwdM4DqAurQWilfQMIFt3/PP2qL4y ITljYbkX/UpNCwiLKIxs5fj1h3XjGypmw2c7cZ4HUW64TrKtGCva2GZQyKEiMElu z5fMoDCcFinAp5GXoo0oIn5A6lODG3y4lJoz+oENkx9iddZk2bCEyqAWyrCZEPBP h8cw99zHh0/w9jZ23l2hmKHNOqoDITPzfPCM13UR98= 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 y3vb2HUn1Ozs; Thu, 4 Oct 2018 21:34:42 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 989431FBA4; Thu, 4 Oct 2018 21:34:41 +0200 (CEST) From: Oskari Lemmela To: Maxime Ripard , Sebastian Reichel , Jonathan Cameron , Chen-Yu Tsai , Mark Rutland , Rob Herring , Linus Walleij Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lee Jones , Quentin Schulz , Oskari Lemmela , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: add compatibles for AXP803 AC and battery power supplies Date: Thu, 4 Oct 2018 22:34:07 +0300 Message-Id: <20181004193410.7265-2-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181004193410.7265-1-oskari@lemmela.net> References: <20181004193410.7265-1-oskari@lemmela.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AXP803 PMIC is register compatible with AXP813. AXP803/AXP813 are capable to limit input current and supply voltage. Signed-off-by: Oskari Lemmela --- Documentation/devicetree/bindings/gpio/gpio-axp209.txt | 3 ++- Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt | 3 ++- .../devicetree/bindings/power/supply/axp20x_ac_power.txt | 4 ++++ .../devicetree/bindings/power/supply/axp20x_battery.txt | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt b/Documentation/devicetree/bindings/gpio/gpio-axp209.txt index fc42b2caa06d..da3c0efb5e76 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-axp209.txt @@ -11,6 +11,7 @@ This driver employs the per-pin muxing pattern. Required properties: - compatible: Should be one of: - "x-powers,axp209-gpio" + - "x-powers,axp803-gpio" - "x-powers,axp813-gpio" - #gpio-cells: Should be two. The first cell is the pin number and the second is the GPIO flags. @@ -67,7 +68,7 @@ GPIO0 | gpio_in, gpio_out, ldo, adc GPIO1 | gpio_in, gpio_out, ldo, adc GPIO2 | gpio_in, gpio_out -axp813 +axp8x3 ------ GPIO | Functions ------------------------ diff --git a/Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt b/Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt index 7a6313913923..247616099171 100644 --- a/Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt @@ -4,6 +4,7 @@ Required properties: - compatible: should be one of: - "x-powers,axp209-adc", - "x-powers,axp221-adc", + - "x-powers,axp803-adc", - "x-powers,axp813-adc", - #io-channel-cells: should be 1, @@ -39,7 +40,7 @@ AXP22x 2 | batt_chrg_i 3 | batt_dischrg_i -AXP813 +AXP8x3 ------ 0 | pmic_temp 1 | gpio0_v diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt b/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt index 826e8a879121..97276a71e961 100644 --- a/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt +++ b/Documentation/devicetree/bindings/power/supply/axp20x_ac_power.txt @@ -4,6 +4,8 @@ Required Properties: - compatible: One of: "x-powers,axp202-ac-power-supply" "x-powers,axp221-ac-power-supply" + "x-powers,axp803-ac-power-supply" + "x-powers,axp813-ac-power-supply" This node is a subnode of the axp20x PMIC. @@ -13,6 +15,8 @@ reading ADC channels from the AXP20X ADC. The AXP22X is only able to tell if an AC power supply is present and usable. +The AXP8X3 is able to limit current and supply voltage + Example: &axp209 { diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt index 41916f69902c..780ebd7e3b84 100644 --- a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt +++ b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt @@ -4,6 +4,7 @@ Required Properties: - compatible, one of: "x-powers,axp209-battery-power-supply" "x-powers,axp221-battery-power-supply" + "x-powers,axp803-battery-power-supply" "x-powers,axp813-battery-power-supply" This node is a subnode of its respective PMIC DT node. -- 2.17.1