From patchwork Tue Feb 21 10:39:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sahin, Okan" X-Patchwork-Id: 59859 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1794783wrn; Tue, 21 Feb 2023 02:51:18 -0800 (PST) X-Google-Smtp-Source: AK7set+p1T0IAGzHHqKbgN4aAbTfwu8Wp5AHqnBYTtOgFNelNMzavqvzWJNjafZw566ewFGX01+X X-Received: by 2002:a17:906:6c99:b0:8b1:2998:6474 with SMTP id s25-20020a1709066c9900b008b129986474mr11597892ejr.16.1676976678362; Tue, 21 Feb 2023 02:51:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676976678; cv=none; d=google.com; s=arc-20160816; b=fCj5hktyKFO7dmTRUUy34ijpwLuYRJoI/utDYO+WDHwK/QSJY4S7UZMjrLUbeoMcwu 07K+ataF5R5G/53j5ieL4hTgTK9p2U+rhJ3Qi69ihNY4HioOZgoJad4fE0tRSuTjDB2U M3i+dgaG8P/PLR275pYR0WzTYkuZijcW4H2gGuoifmhU8y+dUjQLX8VunQ5ST5wLRkXm AbmItRCQDr2YDidstJ23XDEhS6kx0cgo7rx3edFlP6RGZXAwu4oHnhYIxT518LZ63how f0IXRSff7fQUi2qiJsJl6MLvLs2Hj2REm1OicMRnOhjyQm12jzia7wb2Cj/6Tix5VKpP ewqg== 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=ZAoNXR72+dWXSQmmymiLw6vdBzlS+7Xai2DPKuAmf4A=; b=e1G+0aQg3tvuxT2Tf89yngM2mqfXBqt6BdnZSp4swmBYZzd6TUhnClwSbOMfpWdrTA uTmCiIXJnueyzn0lE7pvCmKHTmKZ/uaTU5hQeYfQtx8YkCfcxeSadDo6wrgNpbiOFyNh OQyCC8qPzcaWKol5DLUS88iMuPh1F0BKvAPf7TGaitfgSD+ABqnwTyrAqgdU6VbXOI30 HSKPHxnosc8KxwPVJ6YAfhJf97G4SOPymsdlK61aTghLdrglaGIAKJquxm8emA2JfpFd EHpB+h/zVSqH5jOPHyCehn82FOuWIJIEJfD4z2FuSanA8mUd6Dx+oBqNsAtSc6UdL9Ws HDOw== 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 f3-20020a170906738300b008dad3ab54fcsi4045665ejl.400.2023.02.21.02.50.54; Tue, 21 Feb 2023 02:51:18 -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 S229732AbjBUKm0 (ORCPT + 99 others); Tue, 21 Feb 2023 05:42:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233411AbjBUKmY (ORCPT ); Tue, 21 Feb 2023 05:42:24 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC1CE26865; Tue, 21 Feb 2023 02:42:13 -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 31L9nH6Y021401; Tue, 21 Feb 2023 05:41:57 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3nvdcm4my5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Feb 2023 05:41:57 -0500 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 31LAftfd023114 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Feb 2023 05:41:55 -0500 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) 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; Tue, 21 Feb 2023 05:41:54 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB4.ad.analog.com (10.64.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Tue, 21 Feb 2023 05:41:54 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Tue, 21 Feb 2023 05:41:52 -0500 Received: from okan.localdomain (IST-LT-43126.ad.analog.com [10.25.36.24]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 31LAdbH0012847; Tue, 21 Feb 2023 05:41:40 -0500 From: Okan Sahin To: CC: Lee Jones , Rob Herring , "Krzysztof Kozlowski" , Liam Girdwood , Mark Brown , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Caleb Connolly , ChiYuan Huang , "William Breathitt Gray" , Ramona Bolboaca , , , Subject: [PATCH v5 4/5] dt-bindings: mfd: max77541: Add ADI MAX77541/MAX77540 Date: Tue, 21 Feb 2023 13:39:12 +0300 Message-ID: <20230221103926.49597-5-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230221103926.49597-1-okan.sahin@analog.com> References: <20230221103926.49597-1-okan.sahin@analog.com> MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: sUQWx9sZgN_Ao4RGFWQ51hXFJJJvHeVz X-Proofpoint-ORIG-GUID: sUQWx9sZgN_Ao4RGFWQ51hXFJJJvHeVz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-21_06,2023-02-20_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 adultscore=0 bulkscore=0 mlxlogscore=947 spamscore=0 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302210092 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?1758437497118962080?= X-GMAIL-MSGID: =?utf-8?q?1758437497118962080?= Add ADI MAX77541/MAX77540 devicetree document. Signed-off-by: Okan Sahin Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/mfd/adi,max77541.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/adi,max77541.yaml diff --git a/Documentation/devicetree/bindings/mfd/adi,max77541.yaml b/Documentation/devicetree/bindings/mfd/adi,max77541.yaml new file mode 100644 index 000000000000..c7895b2c38c9 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/adi,max77541.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/adi,max77541.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX77540/MAX77541 PMIC from ADI + +maintainers: + - Okan Sahin + +description: | + MAX77540 is a Power Management IC with 2 buck regulators. + + MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC. + +properties: + compatible: + enum: + - adi,max77540 + - adi,max77541 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + regulators: + $ref: /schemas/regulator/adi,max77541-regulator.yaml# + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@69 { + compatible = "adi,max77541"; + reg = <0x69>; + interrupt-parent = <&gpio>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + + regulators { + buck1 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <5200000>; + regulator-boot-on; + regulator-always-on; + }; + buck2 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <5200000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; + };