Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp55483pxk; Tue, 22 Sep 2020 18:30:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqZJVGwpc50KLe/kTJnoP3O9OitV9axQfhUoc5XbhyvaL4Run4Z89Mk0vGIJKdGfaYW34A X-Received: by 2002:a17:906:5488:: with SMTP id r8mr7715454ejo.483.1600824638854; Tue, 22 Sep 2020 18:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600824638; cv=none; d=google.com; s=arc-20160816; b=F8PgLfKKhhKVL87QLzxhAcdarfyGxbB56/OiIBOEmjZDLcJVRGRfxHlFmEr2clwDqS 2/KwcnsZzArladJJ/EQLiM9lxqThxgGNL71zE5JVVdC4cAQrzD9DNcQL8Yp0HrkQ8UZt +ik/XHp61UPDNuxk3JGeJIQnNywu4NRsU71BZuePkHk7x8w9iO7a9sZfLyX3lRc5vXu2 +Spx3n316G57jQADMpo5F3aTPXPXiYcXO4MWQ31qYevMooIh6WAdVHhB5ETXa4bGTt4f BHVvuG5l1b0aevqDlIlgzAuT96zmue1ik45d0ZHiXcNAa8TDQ2/C6ekaDIxSaYqHxMFA Ajng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=xvTPkfpUU8F3RQcYhrx8bOZsL5Wd9WihUneLBbGz/OA=; b=he+ypA1m4MThIQJ5pdwqLuF/qd7y/MACS54ehtMX48w5x8ebYmUN45UD2wUh5fI3wv yIrFSiPkFPvlHafrZQkfbaCwiKGKsY9xObLb+GAFtEDanGfGX9buHSOzZPSpkhFXRNzF GwMT67Pq1HZgNwTh9BNiVeMGDElLFnBWV/28m70+pyakpy9RlIoKARa33mlmwkC2QAUF mU5h73UsscLQLzLp0584EKqVN1+4o1Rf2q5dke/JYTSvj9VVK2Sm5U0ziStkrJOmEBDF aGBWujwBnHDZHFIa4/QmbwDxdLX6tYjMMW6lc7Uyg60qRSQITJmbpc5dDQPOF8KIBWER 5MdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="kUr8/hrl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si12659144ejr.161.2020.09.22.18.30.15; Tue, 22 Sep 2020 18:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="kUr8/hrl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbgIWBFR (ORCPT + 99 others); Tue, 22 Sep 2020 21:05:17 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36036 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbgIWBFQ (ORCPT ); Tue, 22 Sep 2020 21:05:16 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08N15EbD061097; Tue, 22 Sep 2020 20:05:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1600823114; bh=xvTPkfpUU8F3RQcYhrx8bOZsL5Wd9WihUneLBbGz/OA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=kUr8/hrlNwYjcB6XFG6zL9R1c6ri9NQmR4ei3+HKn2AIRHtpMiefTB0LFpqAKpYRf opVQO8aae1EK4y9xT0zA/xq8yhEQ5UpU9ds8Uz68EIUoja8LDxzOWXNJSIst0t8kVf rz8/PeRwDddRUd1ELYGKQkWqWyRmxjnEOicosiNw= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08N15E9J106243 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Sep 2020 20:05:14 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 22 Sep 2020 20:05:13 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 22 Sep 2020 20:05:13 -0500 Received: from [10.250.36.88] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08N15DZg010265; Tue, 22 Sep 2020 20:05:13 -0500 Subject: Re: [EXTERNAL] Re: [PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings To: Ricardo Rivera-Matos , Rob Herring CC: , , , References: <20200910164534.16987-1-r-rivera-matos@ti.com> <20200910164534.16987-2-r-rivera-matos@ti.com> <20200922222203.GA3360459@bogus> From: Dan Murphy Message-ID: <4d53d479-94b1-8c34-c4f4-a50e12f08a2b@ti.com> Date: Tue, 22 Sep 2020 20:05:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RIcardo On 9/22/20 5:56 PM, Ricardo Rivera-Matos wrote: > Rob > > On 9/22/20 5:22 PM, Rob Herring wrote: >> On Thu, Sep 10, 2020 at 11:45:33AM -0500, Ricardo Rivera-Matos wrote: >>> Add the bindings for the bq256xx series of battery charging ICs. >>> >>> Datasheets: >>> - https://www.ti.com/lit/ds/symlink/bq25600.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25601.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25600d.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25601d.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25611d.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25618.pdf >>> - https://www.ti.com/lit/ds/symlink/bq25619.pdf >>> >>> Signed-off-by: Ricardo Rivera-Matos >>> --- >>>   .../bindings/power/supply/bq256xx.yaml        | 97 >>> +++++++++++++++++++ >>>   1 file changed, 97 insertions(+) >>>   create mode 100644 >>> Documentation/devicetree/bindings/power/supply/bq256xx.yaml >>> >>> diff --git >>> a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml >>> b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml >>> new file mode 100644 >>> index 000000000000..8cc2242f7df0 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml >>> @@ -0,0 +1,97 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) >>> +# Copyright (C) 2020 Texas Instruments Incorporated >>> +%YAML 1.2 >>> +--- >>> +$id: "http://devicetree.org/schemas/power/supply/bq256xx.yaml#" >>> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >>> + >>> +title: TI bq256xx Switch Mode Buck Charger >>> + >>> +maintainers: >>> +  - Ricardo Rivera-Matos >>> + >>> +description: | >>> +  The bq256xx devices are a family of highly-integrated battery charge >>> +  management and system power management ICs for single cell Li-ion >>> and Li- >>> +  polymer batteries. >>> + >>> +  Datasheets: >>> +    - https://www.ti.com/lit/ds/symlink/bq25600.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25601.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25600d.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25601d.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25611d.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25618.pdf >>> +    - https://www.ti.com/lit/ds/symlink/bq25619.pdf >>> + >>> +properties: >>> +  compatible: >>> +    enum: >>> +      - ti,bq25600 >>> +      - ti,bq25601 >>> +      - ti,bq25600d >>> +      - ti,bq25601d >>> +      - ti,bq25611d >>> +      - ti,bq25618 >>> +      - ti,bq25619 >>> + >>> +  reg: >>> +    maxItems: 1 >>> + >>> +  ti,watchdog-timer: >>> +    $ref: /schemas/types.yaml#/definitions/uint32 >>> +    description: | >>> +      Watchdog timer in ms. 0 (default) disables the watchdog >>> +    minimum: 0 >>> +    maximum: 160000 >>> +    enum: [ 0, 40000, 80000, 160000] >>> + >>> +  input-voltage-limit-microvolt: >>> +    description: | >>> +       Minimum input voltage limit in µV with a 100000 µV step >>> +    minimum: 3900000 >>> +    maximum: 5400000 >>> + >>> +  input-current-limit-microamp: >>> +    description: | >>> +       Maximum input current limit in µA with a 100000 µA step >>> +    minimum: 100000 >>> +    maximum: 3200000 >>> + >>> +required: >>> +  - compatible >>> +  - reg >>> +  - monitored-battery >> additionalProperties: false >> >> And then fix what breaks in the example. > ACK. I will document the monitored-battery and interrupts properties > and fix the example. Is ti,watchdog-timer okay as it is currently > documented? For TI consistency please use ti,watchdog-timeout-ms Dan