Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp927131rwl; Wed, 12 Apr 2023 06:10:49 -0700 (PDT) X-Google-Smtp-Source: AKy350Zf0vCbCCUVu/WfAJkieahstqteCBP0Ll/BHW25RlitvTljUeLituRehdaYZlGyAvPshgBm X-Received: by 2002:a05:6a20:1e4b:b0:eb:d1a4:ac1e with SMTP id cy11-20020a056a201e4b00b000ebd1a4ac1emr1242363pzb.46.1681305048986; Wed, 12 Apr 2023 06:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681305048; cv=none; d=google.com; s=arc-20160816; b=wxqTo8v0BcEfmo6DcGXC6f72Gn8cFz7gpm9nwkzby6K5hK1kPF3Ta2GW/e0xk1gYcn aIsgS4Xc5k6OHrTo+UxGa762PZGr75zg11GYegjTMWY4wpU9UDifAycnJz0imVDwvIkr F6BPYUxtLGyFLstROsXKZl7lcKmjryhTbGXwl3ZoaCxZx/u2DbV4Q3as4H/m9whSnx/C qFNwBGkm22uZqLklWl94gih/zSIAt+8wfh9lLxppVSbpiv3A8jVOp+zlmePqddsYLHRT +g1PuFseYR+lQfdocKDahfsgc3kaGUnRt2VNoYKG6eSoSSi+N/7HhYEBcbs8lkVbEv3J UCPQ== 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=evosJ5A9eZXZUnWYpEVywQgoX3sIR2E+C0ErOvURay7kzEaOAYit2MVsZbBtPDgyxB IfILwlEYuxOQ2BLCE7tKtWkwzqxBn0JOHM7VKSV9xaFE5zA/tDNW68grfKVCyxyaNQC8 AdkKtLvYaey4tj4RNGB0hFghkwla8I3jC4rgekw5G1Byt0mlQU+Lsr5Io+hc7Wm/p00O ZjDIzzop7rLoKJbKogLdm34c2jH8LfQRUPghnoETyFOJwCdBCKs8HS0/dFrniCy6K3oW hwhqMQJRfjNS6EaTYw/8V+xLc6j0R/vGTJMluoEsxVXDKRapWDGfQRYkwpQzpi3UYYcP OXCg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00502ee712648si15917457pgq.578.2023.04.12.06.10.36; Wed, 12 Apr 2023 06:10:48 -0700 (PDT) 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 S229624AbjDLNEK (ORCPT + 99 others); Wed, 12 Apr 2023 09:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229792AbjDLNEI (ORCPT ); Wed, 12 Apr 2023 09:04:08 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7215468E; Wed, 12 Apr 2023 06:04:04 -0700 (PDT) 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 33C7u5EY002846; Wed, 12 Apr 2023 07:15:44 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3pu248y0kf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 07:15:43 -0400 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 33CBFgxY011946 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Apr 2023 07:15:42 -0400 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; Wed, 12 Apr 2023 07:15:41 -0400 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, 12 Apr 2023 07:15:41 -0400 Received: from okan.localdomain ([10.158.19.61]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 33CBD6Dt007710; Wed, 12 Apr 2023 07:15:24 -0400 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 , Alexander Sverdlin , Hugo Villeneuve , Ramona Bolboaca , Ibrahim Tilki , ChiYuan Huang , Caleb Connolly , William Breathitt Gray , Arnd Bergmann , =?UTF-8?q?Leonard=20G=C3=B6hrs?= , ChiaEn Wu , , , Subject: [PATCH v7 4/5] dt-bindings: mfd: max77541: Add ADI MAX77541/MAX77540 Date: Wed, 12 Apr 2023 14:12:45 +0300 Message-ID: <20230412111256.40013-5-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230412111256.40013-1-okan.sahin@analog.com> References: <20230412111256.40013-1-okan.sahin@analog.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: 9vgMoALRQFoZilUGsFMFhYSANBwCRZxz X-Proofpoint-GUID: 9vgMoALRQFoZilUGsFMFhYSANBwCRZxz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-12_03,2023-04-12_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=997 adultscore=0 suspectscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304120099 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 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; + }; + }; + }; + }; -- 2.30.2