From nobody Thu Sep 11 16:49:42 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A9B3C001DF for ; Fri, 4 Aug 2023 10:28:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230199AbjHDK2G (ORCPT ); Fri, 4 Aug 2023 06:28:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbjHDK2B (ORCPT ); Fri, 4 Aug 2023 06:28:01 -0400 Received: from out28-218.mail.aliyun.com (out28-218.mail.aliyun.com [115.124.28.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAA2646B1; Fri, 4 Aug 2023 03:27:59 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1634501|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0556458-0.000628824-0.943725;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047194;MF=like@awinic.com;NM=1;PH=DS;RN=11;RT=11;SR=0;TI=SMTPD_---.U8So1lO_1691144869; Received: from awinic..(mailfrom:like@awinic.com fp:SMTPD_---.U8So1lO_1691144869) by smtp.aliyun-inc.com; Fri, 04 Aug 2023 18:27:55 +0800 From: like@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, liweilei@awinic.com, liangdong@awinic.com, wangweidong.a@awinic.com, Alec Li Subject: [PATCH v2 2/2] regulator: dt-bindings: Correct yamllint warnings/errors Date: Fri, 4 Aug 2023 10:27:03 +0000 Message-ID: <20230804102703.931418-3-like@awinic.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804102703.931418-1-like@awinic.com> References: <20230804102703.931418-1-like@awinic.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Alec Li These yamllint warnings/errors have been corrected. Signed-off-by: Alec Li --- .../bindings/regulator/awinic,aw37503.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/awinic,aw37= 503.yaml diff --git a/Documentation/devicetree/bindings/regulator/awinic,aw37503.yam= l b/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml index 000000000000..bb551f6cbccd --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/awinic,aw37503.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic AW37503 Voltage Regulator + +maintainers: + - Alec Li + +description: + The AW37503 are dual voltage regulator, designed to support positive/neg= ative + supply for driving TFT-LCD panels. It support software-configurable outp= ut + switching and monitoring. The output voltages can be programmed via an I= 2C + compatible interface. + +properties: + compatible: + const: awinic,aw37503 + + reg: + maxItems: 1 + +patternProperties: + "^out[pn]$": + type: object + $ref: regulator.yaml# + +additionalProperties: false + +required: + - compatible + - reg + - outp + - outn + +examples: + - | + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + regulator@3e { + compatible =3D "awinic,aw37503"; + reg =3D <0x3e>; + + outp { + regulator-name =3D "outp"; + regulator-boot-on; + regulator-always-on; + enable-gpios =3D <&gpio 17 0>; + }; + + outn { + regulator-name =3D "outn"; + regulator-boot-on; + regulator-always-on; + enable-gpios =3D <&gpio 27 0>; + }; + }; + }; +... --=20 2.41.0