lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Oct 2019 10:31:17 +0200
From:   Bartosz Golaszewski <bgolaszewski@...libre.com>
To:     Sebastian Reichel <sre@...nel.org>
Cc:     Bartosz Golaszewski <brgl@...ev.pl>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Dmitry Torokhov <dmitry.torokhov@...il.com>,
        Jacek Anaszewski <jacek.anaszewski@...il.com>,
        Pavel Machek <pavel@....cz>, Dan Murphy <dmurphy@...com>,
        Lee Jones <lee.jones@...aro.org>,
        Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Linux Input <linux-input@...r.kernel.org>,
        linux-devicetree <devicetree@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Linux LED Subsystem <linux-leds@...r.kernel.org>,
        linux-pm <linux-pm@...r.kernel.org>
Subject: Re: [PATCH v2 4/6] dt-bindings: power: max77650: convert the binding
 document to yaml

wt., 15 paź 2019 o 21:18 Sebastian Reichel <sre@...nel.org> napisał(a):
>
> Hi,
>
> On Tue, Oct 15, 2019 at 06:22:58PM +0200, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bgolaszewski@...libre.com>
> >
> > Convert the binding document for MAX77650 charger module to YAML.
> >
> > Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
> > ---
>
> Looks sensible to me. Assuming this goes through Rob:
>
> Acked-by: Sebastian Reichel <sre@...nel.org>

Oops, I added your ack for v1 to the leds patch in v2 by mistake.
There'll be a v3 though so no worries.

Thanks!
Bart

>
> -- Sebastian
>
> >  .../power/supply/max77650-charger.txt         | 29 +------------
> >  .../power/supply/max77650-charger.yaml        | 42 +++++++++++++++++++
> >  2 files changed, 43 insertions(+), 28 deletions(-)
> >  create mode 100644 Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> > index e6d0fb6ff94e..fbab7d3ac8e3 100644
> > --- a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> > +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> > @@ -1,28 +1 @@
> > -Battery charger driver for MAX77650 PMIC from Maxim Integrated.
> > -
> > -This module is part of the MAX77650 MFD device. For more details
> > -see Documentation/devicetree/bindings/mfd/max77650.txt.
> > -
> > -The charger is represented as a sub-node of the PMIC node on the device tree.
> > -
> > -Required properties:
> > ---------------------
> > -- compatible:                Must be "maxim,max77650-charger"
> > -
> > -Optional properties:
> > ---------------------
> > -- input-voltage-min-microvolt:       Minimum CHGIN regulation voltage. Must be one
> > -                             of: 4000000, 4100000, 4200000, 4300000,
> > -                             4400000, 4500000, 4600000, 4700000.
> > -- input-current-limit-microamp:      CHGIN input current limit (in microamps). Must
> > -                             be one of: 95000, 190000, 285000, 380000,
> > -                             475000.
> > -
> > -Example:
> > ---------
> > -
> > -     charger {
> > -             compatible = "maxim,max77650-charger";
> > -             input-voltage-min-microvolt = <4200000>;
> > -             input-current-limit-microamp = <285000>;
> > -     };
> > +This file was moved to max77650-charger.yaml.
> > diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
> > new file mode 100644
> > index 000000000000..9dd0dad0f948
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
> > @@ -0,0 +1,42 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Battery charger driver for MAX77650 PMIC from Maxim Integrated.
> > +
> > +maintainers:
> > +  - Bartosz Golaszewski <bgolaszewski@...libre.com>
> > +
> > +description: |
> > +  This module is part of the MAX77650 MFD device. For more details
> > +  see Documentation/devicetree/bindings/mfd/max77650.txt.
> > +
> > +  The charger is represented as a sub-node of the PMIC node on the device tree.
> > +
> > +properties:
> > +  compatible:
> > +    const: maxim,max77650-charger
> > +
> > +  input-voltage-min-microvolt:
> > +    description:
> > +      Minimum CHGIN regulation voltage.
> > +    enum: [ 4000000, 4100000, 4200000, 4300000,
> > +            4400000, 4500000, 4600000, 4700000 ]
> > +
> > +  input-current-limit-microamp:
> > +    description:
> > +      CHGIN input current limit (in microamps).
> > +    enum: [ 95000, 190000, 285000, 380000, 475000 ]
> > +
> > +required:
> > +  - compatible
> > +
> > +examples:
> > +  - |
> > +    charger {
> > +        compatible = "maxim,max77650-charger";
> > +        input-voltage-min-microvolt = <4200000>;
> > +        input-current-limit-microamp = <285000>;
> > +    };
> > --
> > 2.23.0
> >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ