From patchwork Wed Feb 1 10:35: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: 51292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp199795wrn; Wed, 1 Feb 2023 02:40:23 -0800 (PST) X-Google-Smtp-Source: AK7set+M3nPVpF7fMxuCLv38Suhlv4WYhy0ptMgHNbAbcQ/Ybljpa1H7qd8crUHBYAeLriYetuM1 X-Received: by 2002:a17:902:ea0b:b0:198:a845:fb96 with SMTP id s11-20020a170902ea0b00b00198a845fb96mr1992094plg.20.1675248023030; Wed, 01 Feb 2023 02:40:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675248023; cv=none; d=google.com; s=arc-20160816; b=WT9GUElNemM+6QpIf0y8Hxr68hfm+f4Pjl/ud29WbenzrbDe9QgEbvFzrh1oyfRv5Y +cGhvDQrGgR3/ppzmWFr1sXl+46NDMkS8pmLvRAhmT+OMhR1ExWQzHarHuNA+U6hfPX8 MY7Vi4WK4rRAjz3HP/o9Dc6+MOShM5ZyB5mh8o3F04kwjmtqnueoCIZ4OwWwNvkV5sPl jM3xO8fsq2MCGv82P6oJaQTVnQD0/8mtYjqU+2ApbG8MOwPoxGmHcy34iHiSpcI1JHGo XVH5TdDnvPqhmySAZAIuZXs87XaA8eseQd6t5ksQIbhjHJQZ+fCmPnl06vxmHbSqfcyL iVEg== 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=t7CN90hRnkVjZktB9GHZI27L4cCbdC6ul4PE1x0u/04=; b=IYNLc01XDiJgBJpo6f2qkuGzV3D1Sty1qxu8wxzQ0Jq+2Wa9jtLbFUkP5mBwQhr8oG BO/y2YaHKnKzp5TAIj+NBmXZXQV1UmM8rhC+woSiSJwZ07QFTUGVzBdkDEOeGm+hsxi1 WZDu2ryTg21CpEd05A3kYjBLa9EKNIvlipdnaNbuh2xpsTZsC7Xl7sUC6Cv1j6SeBCgM eJe5PuD3y7cTdXeDp5uFyLQ4JwVLc647Jqv3g7fYx6Pw0WkK0ZlHgS+Dpus/i+xIJGKO FJNCf9CIBt8QjAsrpoggXoVs7zKHqw+bArui9Sp+usdynLZ+KR1/OxAwpBMnhv9Mxa6I j2EQ== 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 b24-20020a170902b61800b0019260195003si18934253pls.599.2023.02.01.02.40.10; Wed, 01 Feb 2023 02:40:22 -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 S230252AbjBAKiE (ORCPT + 99 others); Wed, 1 Feb 2023 05:38:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231486AbjBAKhr (ORCPT ); Wed, 1 Feb 2023 05:37:47 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E81875CFD7; Wed, 1 Feb 2023 02:37:38 -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 3119uRK2010024; Wed, 1 Feb 2023 05:37:18 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3nfnvvg5xe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Feb 2023 05:37:17 -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 311AbGWu014129 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 1 Feb 2023 05:37:16 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) 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, 1 Feb 2023 05:37:15 -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; Wed, 1 Feb 2023 05:37:15 -0500 Received: from okan.localdomain ([10.158.19.61]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 311AZiWZ012011; Wed, 1 Feb 2023 05:36:57 -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 , Ramona Bolboaca , Marcelo Schmitt , Lad Prabhakar , Marcus Folkesson , Caleb Connolly , William Breathitt Gray , ChiYuan Huang , , , Subject: [PATCH v4 1/5] dt-bindings: regulator: Add ADI MAX77541/MAX77540 Regulator Date: Wed, 1 Feb 2023 13:35:14 +0300 Message-ID: <20230201103534.108136-2-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230201103534.108136-1-okan.sahin@analog.com> References: <20230201103534.108136-1-okan.sahin@analog.com> MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: FfpI1iDvzauNLyJ3sIv2nPvw9mMO1fpm X-Proofpoint-ORIG-GUID: FfpI1iDvzauNLyJ3sIv2nPvw9mMO1fpm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-01_03,2023-01-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 phishscore=0 spamscore=0 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302010091 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?1756624870993986662?= X-GMAIL-MSGID: =?utf-8?q?1756624870993986662?= Add ADI MAX77541/MAX77540 Regulator devicetree document. Signed-off-by: Okan Sahin Reviewed-by: Krzysztof Kozlowski --- .../regulator/adi,max77541-regulator.yaml | 44 +++++++++++++++++++ 1 file changed, 44 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..fff463d5e79d --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77541-regulator.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-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. + +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