Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3616324pxb; Mon, 4 Oct 2021 06:13:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIetz0cn986DYuaGAPB+5q00GFcMQ+FDkHmZvRuw+nC2AyBlD7BsU1yT4V7CtGe/AzbDRw X-Received: by 2002:a17:906:1299:: with SMTP id k25mr17313270ejb.139.1633353232215; Mon, 04 Oct 2021 06:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633353232; cv=none; d=google.com; s=arc-20160816; b=jLHhA+It8lz+B802omPqmqHsP+VKFDLLXMS59hNzmGW/FM3JzhoDQxR6jikHULFvQd btsMZzY9td98ZVM4ZL9++M9IIgsTf6bhmEGzQy03WvuwJpD/wP68jhPMZLxm554WUiVF tFp1Tzms5m4hFbWtuqdnaKWhsX/q7ei4nXAjMrHhRinSxYxIkTjjp47bn4S1AULy2GYY G3MA7kEOmA0wjKnrezKqUEvNp5lyr4A8qW/MTyG7rY8aVGXs+dp+42lbhI5JeTaZ8LzH 2KH5lbhvbzOcApUHAfH2NZESZgTLHU7YF2lRfTiGoOQRSOefte7A08su9DzsvPoUGsvH AD4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/I4UxSwqjOtl4UdyTx9rIC4Po0c/HSfIFF7Ye1BCWf4=; b=Z2R5jzfSMjybr2hAZyUZx4lmknV18VW/Hddmzzzl8R5m9ycfSSE8g54nUBnBw+K3o9 unPSccm7V1qwHhTI387fOx2o9gpW3mslnyeiw8SMSMzUtE7nwZWYX/Ymn6UApcu07MDO ToNGqwj+bKWlBSAq3fR8sV2HhBQkqCe3EDLFXAXBHFs+Dj/A6g1W3v3u8Q/iDDZnB0Ov v9YsnH36o5jfNE2vdjorNJIahU+J4F9qhaC8BAliVHO/+1ut2gx4eTB2e6ppCrfaCI5V Nul6YEegLuGPhPl7bOjhVgM6LqqEaqLuoO3QHW3VKVxVuMBTROEYdUO1/vjdi+HMv5l8 hmMQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb4si24406120ejc.246.2021.10.04.06.13.26; Mon, 04 Oct 2021 06:13:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235463AbhJDNMW (ORCPT + 99 others); Mon, 4 Oct 2021 09:12:22 -0400 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:59145 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234399AbhJDNKN (ORCPT ); Mon, 4 Oct 2021 09:10:13 -0400 Received: from [77.244.183.192] (port=65250 helo=melee.fritz.box) by hostingweb31.netsons.net with esmtpa (Exim 4.94.2) (envelope-from ) id 1mXNhd-004WfD-3W; Mon, 04 Oct 2021 15:08:21 +0200 From: Luca Ceresoli To: linux-pm@vger.kernel.org Cc: Sebastian Reichel , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli Subject: [PATCH 1/2] dt-bindings: power: supply: add Maxim MAX77976 battery charger Date: Mon, 4 Oct 2021 15:07:31 +0200 Message-Id: <20211004130732.950512-1-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the Maxim MAX77976 I2C-controlled battery charger. Signed-off-by: Luca Ceresoli --- .../bindings/power/supply/maxim,max77976.yaml | 41 +++++++++++++++++++ MAINTAINERS | 5 +++ 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml new file mode 100644 index 000000000000..b508d9cc04a0 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/maxim,max77976.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77976 Battery charger + +maintainers: + - Luca Ceresoli + +description: | + The Maxim MAX77976 is a 19Vin / 5.5A, 1-Cell Li+ battery charger + configured via I2C. + +properties: + compatible: + const: maxim,max77976 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + charger@6b { + compatible = "maxim,max77976"; + reg = <0x6b>; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index eeb4c70b3d5b..b3a3667cef46 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11388,6 +11388,11 @@ F: Documentation/devicetree/bindings/*/*max77802.txt F: drivers/regulator/max77802-regulator.c F: include/dt-bindings/*/*max77802.h +MAXIM MAX77976 BATTERY CHARGER +M: Luca Ceresoli +S: Supported +F: Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml + MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS M: Krzysztof Kozlowski M: Bartlomiej Zolnierkiewicz -- 2.25.1