Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp56028pxk; Tue, 22 Sep 2020 18:31:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoMvZpvh6mj9BEu1IQ9awLRBEZ3lgdxVX9ismjciPUg/9jcIg8FdxjxKimMS5TiXbYOIw1 X-Received: by 2002:aa7:d296:: with SMTP id w22mr7190636edq.327.1600824711472; Tue, 22 Sep 2020 18:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600824711; cv=none; d=google.com; s=arc-20160816; b=V/RKZZTtHhHAlINHIxrjNRaFNJrMgOoKf2uE/Zh2p/PiSEtRhxgbqCdLniZV5bAyg/ 0PNaB0DzwD6prvLOvlfm78vk30gwoPVfFTRcpl5e2n2CSsV2ImLqd8LiNnvSzCK933XL COfrBYWWO3IM5a/c28otbz9bqRMxxUu8zXyggY2hTexA+0fvbSZxM83YEThaCwkwE6c7 WZCSDAYl80Sps2xhRApeYofJ5XCJTeUB7CkwY5rTP8jBrHlEsV74U3MxrSxPKoqTQjO7 hGHfXXNurjBq+ovf2x6MOqgfLwWw/jIGlfOHXzcLKAUzL9vwTu64qk+PAgKmV4R3uJF0 m/+A== 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=wcSWEBmH5x1ltGxwEa7htad4Yz2JjO8aFqarvE2rOQI=; b=nHyVvBfFSIsc6hmfzipbUVHvnjxavhnoEzp6fgc7X3a726NkQN+/HIdnpr7BIZkTUB 4WpGetTXZCloUJSHXKHbdqHkv8wD07gL6n8d/HG1ZrDEingDYAtKKF82NF91NxC9mHvQ IaBAf1xL1Wk8xF7vAjaE14WRtf1NX2aYuCrVnvYB9EzXTDF0XgXntt7JiRHdLEK/3q8B gaR6K8v5/DJElDkvoYP4qEs9P07vYuSOfM4ZVJTGtk5tLpT+4ZLpcKhfG2TkOcKGAZ2F 2eZQL7gKvnHkipOUfIxSBHxmVITKARQZGTCkkTtuaUq7C9MOPafs4RYaR+LqrOVOBGMf hc/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yXUvEOfn; 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 zh8si14081309ejb.92.2020.09.22.18.31.28; Tue, 22 Sep 2020 18:31:51 -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=yXUvEOfn; 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 S1726655AbgIWBO6 (ORCPT + 99 others); Tue, 22 Sep 2020 21:14:58 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:39534 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgIWBO5 (ORCPT ); Tue, 22 Sep 2020 21:14:57 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08N1EtHk066667; Tue, 22 Sep 2020 20:14:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1600823695; bh=wcSWEBmH5x1ltGxwEa7htad4Yz2JjO8aFqarvE2rOQI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=yXUvEOfn/ErtQDmh8GU1GtIqjt4Aq9e+sOV/Qxhg29ng5LnZsTuopTOcbp2vSbPuL 6S4tOq916GMltAHD8BWkYBl/aIOq3iUEwT4vUq3x7uI1TL/8E0qzZPK1D6YOpTIJVh BgV9OqDwyXbeyv9/PziAecUvrvSmESRaOwEeKi4g= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08N1Etoi040566 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Sep 2020 20:14:55 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE108.ent.ti.com (10.64.6.29) 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:14:55 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) 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:14:54 -0500 Received: from [10.250.32.225] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08N1Esp0034162; Tue, 22 Sep 2020 20:14:54 -0500 Subject: Re: [EXTERNAL] Re: [PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings To: Dan Murphy , Rob Herring CC: , , , References: <20200910164534.16987-1-r-rivera-matos@ti.com> <20200910164534.16987-2-r-rivera-matos@ti.com> <20200922222203.GA3360459@bogus> <4d53d479-94b1-8c34-c4f4-a50e12f08a2b@ti.com> From: Ricardo Rivera-Matos Message-ID: <86462574-2f6e-070e-9a79-fed39d120288@ti.com> Date: Tue, 22 Sep 2020 20:14:54 -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: <4d53d479-94b1-8c34-c4f4-a50e12f08a2b@ti.com> 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 Dan On 9/22/20 8:05 PM, Dan Murphy wrote: > 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 ACK, thanks. > > Dan > > Ricardo