[{"id":1774556,"web_url":"http://patchwork.ozlabs.org/comment/1774556/","msgid":"<8cf69d3d-0004-b5dc-16e0-ce1a4f8c313b@free-electrons.com>","list_archive_url":null,"date":"2017-09-25T09:14:42","subject":"Re: [RFC PATCH 1/7] dt-bindings: add compatibles for AXP803\n\tBattery/USB power supplies","submitter":{"id":69366,"url":"http://patchwork.ozlabs.org/api/people/69366/","name":"Quentin Schulz","email":"quentin.schulz@free-electrons.com"},"content":"Hi Icenowy,\n\nOn 20/09/2017 17:18, Icenowy Zheng wrote:\n> The AXP803 PMIC has different Battery and USB power supplies than the\n> AXP series PMICs already supported by the kernel, but the AC power\n> supply is the same as AXP22x (as it can only detect the present/online\n> state of the AC power supply on both AXP22x and AXP803).\n> \n> Add compatible strings for the AXP803 Battery/USB power supplies. For AC\n> power supply the one on AXP803 is compatible with the one on AXP22x.\n> \n> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>\n> ---\n>  Documentation/devicetree/bindings/power/supply/axp20x_battery.txt   | 1 +\n>  Documentation/devicetree/bindings/power/supply/axp20x_usb_power.txt | 1 +\n>  2 files changed, 2 insertions(+)\n> \n> diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt\n> index c24886676a60..091e5471a8c6 100644\n> --- a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt\n> +++ b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt\n> @@ -4,6 +4,7 @@ Required Properties:\n>   - compatible, one of:\n>  \t\t\t\"x-powers,axp209-battery-power-supply\"\n>  \t\t\t\"x-powers,axp221-battery-power-supply\"\n> +\t\t\t\"x-powers,axp803-battery-power-supply\"\n>  \n>  This node is a subnode of the axp20x/axp22x PMIC.\n>  \n> diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_usb_power.txt b/Documentation/devicetree/bindings/power/supply/axp20x_usb_power.txt\n> index ba8d35f66cbe..f30e3bf8d23f 100644\n> --- a/Documentation/devicetree/bindings/power/supply/axp20x_usb_power.txt\n> +++ b/Documentation/devicetree/bindings/power/supply/axp20x_usb_power.txt\n> @@ -4,6 +4,7 @@ Required Properties:\n>  -compatible: One of: \"x-powers,axp202-usb-power-supply\"\n>                       \"x-powers,axp221-usb-power-supply\"\n>                       \"x-powers,axp223-usb-power-supply\"\n> +                     \"x-powers,axp803-usb-power-supply\"\n\nNo. You are adding support for AC and battery power supply in this\npatchset, not for USB.\n\nQuentin","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0z2J0HcCz9t30\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 19:15:20 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753856AbdIYJO4 (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tMon, 25 Sep 2017 05:14:56 -0400","from mail.free-electrons.com ([62.4.15.54]:36438 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752541AbdIYJOz (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Mon, 25 Sep 2017 05:14:55 -0400","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 3A74420884; Mon, 25 Sep 2017 11:14:53 +0200 (CEST)","from [192.168.0.13] (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr\n\t[90.63.216.87])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 6BE6820848;\n\tMon, 25 Sep 2017 11:14:42 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on\n\tmail.free-electrons.com","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT\n\tshortcircuit=ham autolearn=disabled version=3.4.0","Subject":"Re: [RFC PATCH 1/7] dt-bindings: add compatibles for AXP803\n\tBattery/USB power supplies","To":"Icenowy Zheng <icenowy@aosc.io>, Chen-Yu Tsai <wens@csie.org>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tJonathan Cameron <jic23@kernel.org>, Lee Jones <lee.jones@linaro.org>","Cc":"linux-pm@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-iio@vger.kernel.org, linux-sunxi@googlegroups.com","References":"<20170920151814.22461-1-icenowy@aosc.io>\n\t<20170920151814.22461-2-icenowy@aosc.io>","From":"Quentin Schulz <quentin.schulz@free-electrons.com>","Message-ID":"<8cf69d3d-0004-b5dc-16e0-ce1a4f8c313b@free-electrons.com>","Date":"Mon, 25 Sep 2017 11:14:42 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<20170920151814.22461-2-icenowy@aosc.io>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"}}]