[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230913150240.4nzkxu6pnxv65tv2@mercury.elektranox.org>
Date: Wed, 13 Sep 2023 17:02:40 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Konrad Dybcio <konrad.dybcio@...aro.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Marijn Suijten <marijn.suijten@...ainline.org>,
Rob Herring <robh@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH RESEND v2 2/3] dt-bindings: power: supply: Document
Mitsumi MM8013 fuel gauge
Hi,
On Wed, Aug 23, 2023 at 04:36:14PM +0200, Konrad Dybcio wrote:
> The Mitsumi MM8013 is an I2C fuel gauge for Li-Ion cells. The partial
> datasheet is available at [1]. Add bindings for this chip.
>
> [1] https://www.mitsumi.co.jp/latest-M/Catalog/pdf/battery_mm_8013_e.pdf
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
> ---
> .../bindings/power/supply/mitsumi,mm8013.yaml | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml b/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml
> new file mode 100644
> index 000000000000..080fd44083ac
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml
> @@ -0,0 +1,35 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/supply/mitsumi,mm8013.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Mitsumi MM8013 fuel gauge
> +
> +maintainers:
> + - Konrad Dybcio <konradybcio@...nel.org>
> +
allOf:
- $ref: power-supply.yaml#
-- Sebastian
> +properties:
> + compatible:
> + const: mitsumi,mm8013
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + fuel-gauge@55 {
> + compatible = "mitsumi,mm8013";
> + reg = <0x55>;
> + };
> + };
>
> --
> 2.42.0
>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists