From nobody Sun Apr 12 21:51:54 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A11CC4332F for ; Tue, 20 Dec 2022 13:27:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233498AbiLTN1C (ORCPT ); Tue, 20 Dec 2022 08:27:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231898AbiLTN0U (ORCPT ); Tue, 20 Dec 2022 08:26:20 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF81A192; Tue, 20 Dec 2022 05:26:15 -0800 (PST) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BKBLsSR000604; Tue, 20 Dec 2022 08:26:11 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3mh8gbh9jm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Dec 2022 08:26:11 -0500 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 2BKDQAti053532 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Dec 2022 08:26:10 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Tue, 20 Dec 2022 08:26:09 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Tue, 20 Dec 2022 08:26:09 -0500 Received: from IST-LT-42339.ad.analog.com (IST-LT-42339.ad.analog.com [10.117.192.221]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 2BKDNoP6010583; Tue, 20 Dec 2022 08:25:57 -0500 From: Zeynep Arslanbenzer To: , , , , , CC: , , , , Subject: [PATCH 4/6] dt-bindings: power: supply: add MAX77659 charger binding Date: Tue, 20 Dec 2022 16:22:48 +0300 Message-ID: <20221220132250.19383-5-Zeynep.Arslanbenzer@analog.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221220132250.19383-1-Zeynep.Arslanbenzer@analog.com> References: <20221220132250.19383-1-Zeynep.Arslanbenzer@analog.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 1knDN08LKdp-hUiOqBvfuPt7xqXfwSzG X-Proofpoint-GUID: 1knDN08LKdp-hUiOqBvfuPt7xqXfwSzG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-20_05,2022-12-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 mlxlogscore=891 clxscore=1015 impostorscore=0 mlxscore=0 spamscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212200110 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This patch adds device tree binding documentation for MAX77659 charger. Signed-off-by: Nurettin Bolucu Signed-off-by: Zeynep Arslanbenzer --- .../power/supply/adi,max77659-charger.yaml | 42 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/adi,max7= 7659-charger.yaml diff --git a/Documentation/devicetree/bindings/power/supply/adi,max77659-ch= arger.yaml b/Documentation/devicetree/bindings/power/supply/adi,max77659-ch= arger.yaml new file mode 100644 index 000000000000..24f8b5a2bd84 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/adi,max77659-charger.y= aml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/adi,max77659-charger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Battery charger for MAX77659 PMIC from ADI. + +maintainers: + - Nurettin Bolucu + - Zeynep Arslanbenzer + +description: | + This module is part of the MAX77659 MFD device. For more details + see Documentation/devicetree/bindings/mfd/adi,max77659.yaml. + + The charger is represented as a sub-node of the PMIC node on the device = tree. + +properties: + compatible: + const: adi,max77659-charger + + reg: + maxItems: 1 + + adi,fast-charge-timer: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Fast-charge safety timer value (in hours). + + adi,fast-charge-microamp: + description: Fast-charge constant current value. + + adi,topoff-timer: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Top-Off timer value (in minutes). + +required: + - compatible + +additionalProperties: false + +... diff --git a/MAINTAINERS b/MAINTAINERS index b3e307163063..5cb8fa452f2d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12646,6 +12646,7 @@ M: Zeynep Arslanbenzer L: linux-kernel@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/mfd/adi,max77659.yaml +F: Documentation/devicetree/bindings/power/supply/adi,max77659-charger.yaml F: drivers/mfd/max77659.c F: drivers/power/supply/max77659-charger.c F: include/linux/mfd/max77659.h --=20 2.25.1