From patchwork Tue Mar 7 11:28:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sahin, Okan" X-Patchwork-Id: 65387 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2380183wrd; Tue, 7 Mar 2023 03:42:55 -0800 (PST) X-Google-Smtp-Source: AK7set8gKmjBz1AwRTkHdIP6Rr/yPODDFMvj1SGu1ZMZx2InCI12+BNNrb09zwryePS7xYi/1I5D X-Received: by 2002:a17:902:e884:b0:19e:845d:d898 with SMTP id w4-20020a170902e88400b0019e845dd898mr15412228plg.14.1678189375716; Tue, 07 Mar 2023 03:42:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678189375; cv=none; d=google.com; s=arc-20160816; b=gC+tIjkul4W9j6Fp0l/TU6H5clcK5QtQqm2VIJJezadAsgs181TQR2IMBpbONGUgPv vWftP+91kIzcB/iiHL9eAZqlYJVRp2Wl/R5btfMXJiGuXLtE+PYBRwzUUNqQUCmgoxaf MbHpCKMGJ52HaViWUXg0OVHePtJ5wOVubNKL/HHztuI/0UCv+lcynGH+v8hOdOwd7bF+ rwCeWJH54KHAJIFlG0s296JxeFSG0qwW8/iZKOcy26PzAThJdNavXBvlM+XOQLMJhhHF d4LN8sCmq2qROCMht3xJpinEA/1J6D2Yoie0PNT5ca/em1wAyrVgzg1Fd1DjCDGKHOPW tCxg== 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=gVbGOvFm0qJ5V+bDbN24C/6ylgY5M47QZk8TfVZ2JdE=; b=zCb5gkjem3Tf+9oC6rtX5WQaM/W0Pi4nM2VH2YvlzM1sxyPVezW5ajdRgcLevby90Q Ypa73l3NIGZ0Wj0S5D/1t13PFXQmbH3BdTOmDsfKjaeBmOlwD7IprubJjjBWEo1MzKv7 Brl7Bh5Dj0n3NgJFKxpRzGuGMGoFSVtvQ2Juom7czYaam50HXMqgIZ6aWsuJkzOJ6oxC 3a3ngxMnE5H6vIE5jV1/NEacXMEL+eL2oZtQjzEL9WR/HERuqq1CEaC1uJebKyY79ez7 SoZ3XMGCYuELfJ91C6NtuVVkZYgfT/0HDcjeTt2x02x4Q0ewp17DziJKG0vyVGEJjb7q p2SA== 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 lf3-20020a170902fb4300b0019ac7319ecdsi7896431plb.409.2023.03.07.03.42.43; Tue, 07 Mar 2023 03:42:55 -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 S230463AbjCGLee (ORCPT + 99 others); Tue, 7 Mar 2023 06:34:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjCGLec (ORCPT ); Tue, 7 Mar 2023 06:34:32 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80F395B93; Tue, 7 Mar 2023 03:33:33 -0800 (PST) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3278UIfw008211; Tue, 7 Mar 2023 06:32:39 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3p43s9ga2u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Mar 2023 06:32:39 -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 327BWbTf032096 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 Mar 2023 06:32:37 -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, 7 Mar 2023 06:32:37 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) 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, 7 Mar 2023 06:32:36 -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, 7 Mar 2023 06:32:36 -0500 Received: from okan.localdomain (IST-LT-43126.ad.analog.com [10.25.36.20]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 327BSiLt011140; Tue, 7 Mar 2023 06:32:22 -0500 From: Okan Sahin To: CC: Krzysztof Kozlowski , Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Cosmin Tanislav , Ibrahim Tilki , Ulf Hansson , Hugo Villeneuve , "Arnd Bergmann" , Haibo Chen , ChiYuan Huang , Ramona Bolboaca , "Caleb Connolly" , William Breathitt Gray , ChiaEn Wu , =?utf-8?q?Leonard_G=C3=B6hrs?= , , , Subject: [PATCH v6 4/5] dt-bindings: mfd: max77541: Add ADI MAX77541/MAX77540 Date: Tue, 7 Mar 2023 14:28:14 +0300 Message-ID: <20230307112835.81886-5-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230307112835.81886-1-okan.sahin@analog.com> References: <20230307112835.81886-1-okan.sahin@analog.com> MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 7UMYkWOd-zm7RilxHmskNOu0M-Hlwb_f X-Proofpoint-GUID: 7UMYkWOd-zm7RilxHmskNOu0M-Hlwb_f X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-07_06,2023-03-07_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1011 phishscore=0 spamscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=962 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303070103 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,URIBL_BLOCKED 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?1759709102602093215?= X-GMAIL-MSGID: =?utf-8?q?1759709102602093215?= 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; + }; + }; + }; + };