From patchwork Wed Apr 12 11:12:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sahin, Okan" X-Patchwork-Id: 82446 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp293535vqo; Wed, 12 Apr 2023 05:40:53 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGBeZ0haM022NS/7UHZiSLiShQvCPFsusQ5cZIqxzUXacA6zVEKn3LCRBuk+xdQCSfa2mv X-Received: by 2002:a05:6a20:2986:b0:d8:e90b:78 with SMTP id f6-20020a056a20298600b000d8e90b0078mr2505420pzh.45.1681303253646; Wed, 12 Apr 2023 05:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681303253; cv=none; d=google.com; s=arc-20160816; b=Mur6SdpGE8DwlttReN9iF4zFxSMy+bKn+JH2ZVseup4HrIjYpKu8Ua7vqDOZw6UdRn MrqgLGskCoZEEOfuwt2aPQvyCEgmwUBVUjDrYBRSI0tey4Lfkl/gRgvFdDvFVYo1d/o5 DNQQfmKnyjuRGRNlPMVHFn0Pi08gP3kbS9g9tL7blo2RBqyAWcB5tOBGnQhq+VWW1qOc jWNHAhihLtj7g8U07hGsBPBUEoGiGzXzZs3rdvoBATY256ryHH2yXBm+r2Udu89MLPYw efLWrAngtKEp/XSuyih+jATFX8KAQcVq7q8y3TysGaeLGzuEIpz3XpaFegY2mwp8Du0R Hvbw== 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=3TobP+HocTFQc8BfSIcYH0fwMsXXDm5lh0uKkYv4GSc=; b=xNmpEj2ZuaeubXSWlBZPb0rujNhvLs9Q4ZrcajbRGWRPaEgfTJo598/4uT/lyGNJ+x Nfjjei/0GiZ8J3OPNgDtKeEI51kxkCFcoyaRLOcsxXcHVdFPk7/jjRd9/gb4CJTflTeJ UXxZLgrKcUAIa+tSgv3C+KXP1We1Hj+nQLtcGUB/qFiZ+0rXi/BfQGb3IHn6X1nrBTpQ Bck7z2pzelo9pdb+iPkS5fUvS1cPCHdvsBljMvDocitznPIHJ5PLWq39k3m+Wb8o13QH XqTXIa6zG1BFh1sE9+NssUc2twdwbS4Kx9+PoSkEtPUfwg4CVs2etmkHwzIIa3pWCDE2 tCVA== 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 q9-20020aa79829000000b0062b45474adesi9503039pfl.231.2023.04.12.05.40.40; Wed, 12 Apr 2023 05:40:53 -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 S231598AbjDLMB4 (ORCPT + 99 others); Wed, 12 Apr 2023 08:01:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231207AbjDLMBy (ORCPT ); Wed, 12 Apr 2023 08:01:54 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 329BE8A51; Wed, 12 Apr 2023 05:01:12 -0700 (PDT) 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 33CAl9rR011901; Wed, 12 Apr 2023 07:14:19 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3pu568660b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 07:14:18 -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 33CBEHkL011772 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Apr 2023 07:14:17 -0400 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) 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:14:16 -0400 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; Wed, 12 Apr 2023 07:14:16 -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:14:16 -0400 Received: from okan.localdomain ([10.158.19.61]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 33CBD6Dq007710; Wed, 12 Apr 2023 07:13:54 -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 , Hugo Villeneuve , =?utf-8?q?Leonard_G=C3=B6hrs?= , ChiYuan Huang , "Ibrahim Tilki" , Ramona Bolboaca , ChiaEn Wu , "William Breathitt Gray" , Arnd Bergmann , Haibo Chen , , , Subject: [PATCH v7 1/5] dt-bindings: regulator: max77541: Add ADI MAX77541/MAX77540 Regulator Date: Wed, 12 Apr 2023 14:12:42 +0300 Message-ID: <20230412111256.40013-2-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 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: uMl-vrkMTyECWnugPItD9M3h0srhXpHG X-Proofpoint-ORIG-GUID: uMl-vrkMTyECWnugPItD9M3h0srhXpHG 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 adultscore=0 impostorscore=0 mlxlogscore=999 lowpriorityscore=0 phishscore=0 spamscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 clxscore=1015 bulkscore=0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762974240570190802?= X-GMAIL-MSGID: =?utf-8?q?1762974240570190802?= Add ADI MAX77541/MAX77540 Regulator devicetree document. Signed-off-by: Okan Sahin Reviewed-by: Krzysztof Kozlowski --- .../regulator/adi,max77541-regulator.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/adi,max77541-regulator.yaml diff --git a/Documentation/devicetree/bindings/regulator/adi,max77541-regulator.yaml b/Documentation/devicetree/bindings/regulator/adi,max77541-regulator.yaml new file mode 100644 index 000000000000..9e36d5467b56 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77541-regulator.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,max77541-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Buck Converter for MAX77540/MAX77541 + +maintainers: + - Okan Sahin + +description: | + This is a part of device tree bindings for ADI MAX77540/MAX77541 + + The buck converter 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. + +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