Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3581829rdb; Wed, 13 Sep 2023 17:16:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMKsLL9SI3aqG724OuxvYAeiEK4B8cYnEwSWU2XHThD3R95lu8IbbHnduPyvULquAyYhg5 X-Received: by 2002:a17:902:ec91:b0:1c0:cbaf:6939 with SMTP id x17-20020a170902ec9100b001c0cbaf6939mr4657240plg.3.1694650616234; Wed, 13 Sep 2023 17:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694650616; cv=none; d=google.com; s=arc-20160816; b=YDwWbbr0SwXa7Ugf18USXYRKTQjHX5VA7TlqkrKLZ5gaxEDE+CSR9L9jwWVwEwAVon mneC/jF0y1TgZZknjggHLrFhkMnjjvqRC2AnK4yR5foW7t+XqUXEuJ57N8pwhkVhxjgg qpvDuDqcTGQ8lpdo2X1QGVbyX6vhJAyPvFjXIq9P1P2BEhcyn1MHr14gFOAsGrbLzWIF ieITSowKhdQWx6dXZNWeauX026vmApdyqSW/VfJdwS3/hjYPTxKtiRGhq2H41/mjDwPl D8H7AmD4WqRRbI+0hii56RpHlW/X2Q5umYa8NsB6lqBCx2/7vSDVJ3m+hhSEBHd4KHGm cSng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rQKsjBFvt2/0L/1F7kjkJsmdL2N5EGcnErgcVOrwWbM=; fh=x6TiC0nyTqDTJO7GKaDM3x+hS3WCOs2j4IcSK/NpSFk=; b=zFLK2ag02qTg4WbAUd+KCrk2l6XLig1XDkcUFjyvW9BdqJRN2dlmzzu6lrZz8X9ppw l/ABpQzZ5LSxQ6v8d24QfihYTPs8fjzIf2SdCuuC6hdsEDF51dfKv4DTV5x4VnGoviDJ t+xhw7LOc0cLkbA1BgY0jaWrRKdtI+FS5z9OQZRqhXe0Ju6FR2nN3aFTF0nxpDziNBiT iMpHKvnM3rd/d0JumqNaFJ5UhrtRMnijgRIsQv27+tm8csqkksRjOj1i6O0QDOxamleP sAYjAdTUYft9pJRnbGI/rAiA619vCEXVruLX7u6SwLHTQZ6XwdJ/hOHTr4PV139shS72 ItXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQr94KIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t10-20020a170902bc4a00b001bdb3c09695si407723plz.222.2023.09.13.17.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 17:16:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQr94KIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DB03D811ED96; Wed, 13 Sep 2023 08:29:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbjIMP3X (ORCPT + 99 others); Wed, 13 Sep 2023 11:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbjIMP3B (ORCPT ); Wed, 13 Sep 2023 11:29:01 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F55A2102 for ; Wed, 13 Sep 2023 08:28:51 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-52a40cf952dso9208317a12.2 for ; Wed, 13 Sep 2023 08:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694618929; x=1695223729; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rQKsjBFvt2/0L/1F7kjkJsmdL2N5EGcnErgcVOrwWbM=; b=tQr94KIOOvObTwS7tE00SK4URXS2zORS2LxtSW2Y8+eLpMHPb1BE2+CCperM32yPjH L0MEBTAenRIdtctYIR28uvApRVMCx/LgQP7vTzmMe/zKxaIYygYZb1XHwSCq9WDDJuim 0GB3n99MO6jUsEfVffWrJ9DWRgKeuJVwFM/7VCZ0ozlvWjR4StZ/6bnQ149WAGo/ZQ3k FyDjLIJIppqc/fjEda6qv2KZv1GEUJt+WLHlsJ3rl8x2ZdcW7tYVdnNQHcF1g1c2m7YG JQl+v+0maX+k3HuOAJfVzieNl+Jf+wuBy9IYy11KfrNk1zbOsEjZsDKNbwC6xSEYPPKZ aipg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618929; x=1695223729; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rQKsjBFvt2/0L/1F7kjkJsmdL2N5EGcnErgcVOrwWbM=; b=wXFeAC7MOub9VUELPE/LBBL/fYMoACJIckjUl92nTF7RvrkMPMlr/r7dP6DqfW0Ti5 XbT3gAlBbjoDkeQ11EsaL3rJuKIPob9LoXwbSlTDbwTuPPpy8nqKzvybBNq8BCfe72xz mz+HFCNoyaowmzegnvVrl9Gyr1gqLZ4oB/B73K2paQW+5oWcQ+56ONQtjrFgYBFvzSZG KvKr90H5YIR5lVWpqFW3kK/CPk841Zw8ZtwjoOoM9VO+FnS6gkt1s7N5hbddL0KMPIOK NQABtDHmONVUh7ipM0dj7urJT30YcC3tODfwkXO8ShVQ8+iNZJAXKVpv4kOrsfX6VFbS kQuQ== X-Gm-Message-State: AOJu0YwIDkTIwCxYsx1Ytd01jV25g6pligeZDv2DvOZvH5lDhChN1hoX ers+LBY+ngU5YdF/Np+1AiQys/dD6EALh75820b2IA== X-Received: by 2002:aa7:c1d1:0:b0:52d:ea50:8b30 with SMTP id d17-20020aa7c1d1000000b0052dea508b30mr2868009edp.5.1694618929447; Wed, 13 Sep 2023 08:28:49 -0700 (PDT) Received: from [10.167.154.1] (178235177106.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.106]) by smtp.gmail.com with ESMTPSA id a11-20020aa7d74b000000b0052a404e5929sm7391979eds.66.2023.09.13.08.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 08:28:49 -0700 (PDT) From: Konrad Dybcio Date: Wed, 13 Sep 2023 17:28:44 +0200 Subject: [PATCH v3 2/3] dt-bindings: power: supply: Document Mitsumi MM8013 fuel gauge MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230621-topic-mm8013-v3-2-781da361ec60@linaro.org> References: <20230621-topic-mm8013-v3-0-781da361ec60@linaro.org> In-Reply-To: <20230621-topic-mm8013-v3-0-781da361ec60@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Konrad Dybcio Cc: Marijn Suijten , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694618924; l=1502; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+uF0adwPQhjp9KC+P9UNR+pGm2F9OFhDZ4dy2nzuHuQ=; b=rZ2FLQkeXx9L1IBv/fSklUMLUVdwZob3h8heT6fA9q+Hucr4hgbUF50hNqd+auczPsRC6qSTt iekJ7LyR2zzD6wHc34nM126h9TzkIRmUEX4ut8mj/hJ0MXDaY3VXD8o X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 08:29:47 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 Signed-off-by: Konrad Dybcio --- .../bindings/power/supply/mitsumi,mm8013.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 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..6865640cbdfa --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml @@ -0,0 +1,38 @@ +# 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 + +allOf: + - $ref: power-supply.yaml# + +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