From patchwork Wed Dec 7 09:08:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sahin, Okan" X-Patchwork-Id: 30719 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp70358wrr; Wed, 7 Dec 2022 01:14:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4X6J/xVLZhgZx5NvAkf/0MRpGvqQFJ/H6uSfZqwDU4r+zjtp6r6dgUZ/JnF4L+5dvp+XI/ X-Received: by 2002:a05:6402:214f:b0:46d:5e60:5b6 with SMTP id bq15-20020a056402214f00b0046d5e6005b6mr1637099edb.351.1670404457148; Wed, 07 Dec 2022 01:14:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670404457; cv=none; d=google.com; s=arc-20160816; b=yvKzp44dzdXgCcm+l0AQAWujkPsbRRorOtOMlOX/2elydhdI9z4TNVp3YJKFYin2+6 iVJL6fP0al0o6ilxRQB4GXU1ohVai4Tl/UD1S8mvnyX7cNiRLyVnIYqG6JR7JB+JgRz7 HtQVSlO/ADno7PC9HScZFDrMv0MvdTRkvwZ+IVdCqSk7vj3tbvHrm1xZM9AgNtZaAKU4 bOd2B90WhF54o3IbAUdYwAXdsUcSLKc4S23S5KVR8xcBtsx48/vAxd6ZC9EnIsQshtTP LSHxdDV/CTkquASQErOchH/Doo8jVxjG4EgToTyWFzxYArLY5u2rGpXpmIsjd7DD4Al5 xLkw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4BLmieoALUUm6jmbZwNMkI3phHjJ/CqEuByXLCMopt4=; b=I3/G5wuWjYZ4Tw69iR1dhjoZWi5Ml5ZYBLj/iuxaWAXILJ8koV9JeCkl+xAYi9Apmv CmtumnlSLnnYJI0Q6GzaobHUYyXwWu8cZQE2htNHHtcnNfCBE/Fh9g0VIYboP4lJ6YOz 5gRvSHRz8S0GsQnfOISmespECOZpUdez2E3PDieSY1vCU0ZDIMAJUph+fbTJt5LKp7rQ zP5czGFta9pbpfsYzJ15+IV+MqAVfdcHVYx7Drx8LvjmeRsUm8nFFaMFqxwpOl538brf F9Vfv6Jh+767bo+zoPvCuDO7Rh0ViAtA5w+qAQK67YqLxCBJv1ovl7f3KL9Me7BhQFL1 9hKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m22-20020a056402431600b0046d3597c12asi2462439edc.558.2022.12.07.01.13.54; Wed, 07 Dec 2022 01:14:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbiLGJNJ (ORCPT + 99 others); Wed, 7 Dec 2022 04:13:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbiLGJMb (ORCPT ); Wed, 7 Dec 2022 04:12:31 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C770E2339E; Wed, 7 Dec 2022 01:12:27 -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 2B78W2dx004018; Wed, 7 Dec 2022 04:12:08 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3m816bfk2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Dec 2022 04:12:08 -0500 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 2B79C7Qo045941 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Dec 2022 04:12:07 -0500 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 7 Dec 2022 04:12:06 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 7 Dec 2022 04:12:06 -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; Wed, 7 Dec 2022 04:12:06 -0500 Received: from okan.localdomain ([10.158.19.61]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 2B799G9Y029801; Wed, 7 Dec 2022 04:11:49 -0500 From: Okan Sahin To: CC: Okan Sahin , Lee Jones , "Rob Herring" , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Ramona Bolboaca , William Breathitt Gray , Marcelo Schmitt , Marcus Folkesson , Anand Ashok Dumbre , ChiYuan Huang , "Caleb Connolly" , , , Subject: [PATCH 4/5] staging: dt-bindings: regulator: adi,max77541.yaml Add MAX77541 Regulator bindings Date: Wed, 7 Dec 2022 12:08:43 +0300 Message-ID: <20221207090906.5896-5-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221207090906.5896-1-okan.sahin@analog.com> References: <20221207090906.5896-1-okan.sahin@analog.com> MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: eWl1qgPqY1aDS_ug1Qg8znMVv3pSP33n X-Proofpoint-ORIG-GUID: eWl1qgPqY1aDS_ug1Qg8znMVv3pSP33n 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-07_04,2022-12-06_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 priorityscore=1501 suspectscore=0 bulkscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212070076 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751546023921742327?= X-GMAIL-MSGID: =?utf-8?q?1751546023921742327?= This patch adds document the bindings for MAX77541 and MAX77540 regulator drivers. Signed-off-by: Okan Sahin --- .../bindings/regulator/adi,max77541.yaml | 44 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/adi,max77541.yaml diff --git a/Documentation/devicetree/bindings/regulator/adi,max77541.yaml b/Documentation/devicetree/bindings/regulator/adi,max77541.yaml new file mode 100644 index 000000000000..1f828895ab3a --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77541.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,max77541.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Buck Converter driver for MAX77540/MAX77541 + +maintainers: + - Okan Sahin + +description: | + This is a part of device tree bindings for ADI MAX77540/MAX77541 + + The buck convertere is represented as a sub-node of the PMIC node on the device tree. + + The device has two buck regulators. + See also Documentation/devicetree/bindings/mfd/adi,max77541.yaml for + additional information and example. + +properties: + compatible: + enum: + - adi,max77540-regulator + - adi,max77541-regulator + +patternProperties: + "^BUCK[12]$": + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Buck regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microvolt: + minimum: 300000 + regulator-max-microvolt: + maximum: 5200000 + +additionalProperties: false \ No newline at end of file diff --git a/MAINTAINERS b/MAINTAINERS index 5704ed5afce3..8e5572b28a8c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12502,6 +12502,7 @@ M: Okan Sahin L: linux-kernel@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/mfd/adi,max77541.yaml +F: Documentation/devicetree/bindings/regulator/adi,max77541.yaml F: drivers/mfd/max77541.c F: drivers/regulator/max77541-regulator.c F: include/linux/mfd/max77541.h