From patchwork Tue Dec 28 16:39:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 528915 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 7DE2AC433EF for ; Tue, 28 Dec 2021 16:39:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236194AbhL1Qjq (ORCPT ); Tue, 28 Dec 2021 11:39:46 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:49270 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236172AbhL1Qjl (ORCPT ); Tue, 28 Dec 2021 11:39:41 -0500 Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id E790D3FFD5 for ; Tue, 28 Dec 2021 16:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640709579; bh=3/vCHuLU2olwZq+6aS9XDTfCwLrWAXWmzqRCmFjm31Q=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oHqniLA4g03OdCG5FwHUlun9pBLy+RokGiIOheDNGs4o1GHs/G6CrMedISe1kmjo4 Fy/cc9/OUBpPFCV/p4iMZFsSWcq/sTG0a1GpVyPcApZOtMDVuZGKg5ZLbpTx/Ao2dM GNwzHwg6awpfP7u904M1SSu+f6PP2gYIbWr4I9iaTsa8+OLLWMLCBOSEHoPvl3ZKQ3 NwyUT6uOSfndvRxqENkMI7Sa2XacI+bPr/udG4hauY5ycezbbshrzpP41CK1ubM6MW HJY4Qn+zncZHUDcESfF2o3N+q1KRTml/765pSasu/A1ElPPRR6BpW0ukaGsF3Srk46 AYdh+dMetUT9Q== Received: by mail-lj1-f200.google.com with SMTP id u8-20020a05651c130800b0022d6dad0418so6236433lja.11 for ; Tue, 28 Dec 2021 08:39:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3/vCHuLU2olwZq+6aS9XDTfCwLrWAXWmzqRCmFjm31Q=; b=6G2SusvDYId9az5NOKhPcIvUmbkAp4YB71GnJUh6RovlpfYAlv2BB4d+krcTLr3Vcx n6IL7htoxqEWKQz4p0pHrDUcdsLvlJWLgh42okBmY3URTio6RQHiHtg3zOoJVLEx6geg XgVTG6tDgAj9wr9mtZsJEmqyGl4Zd5dDzBJCXgJBjXDaK/8Yq0hXfqrRdA7/j0Q8KMPV hGZRQcqPB6JPch2lkpDvI9FzMW4dhBPIexpMm84NUGFY1J4q94HbDVRykTPP/E9s5Im1 opsMwCX3pLr17CJoXz+34zPUCmEUrijdUOxTzbL43+O/kXIfLLGTXiNovDavPLnn/lKa RM2Q== X-Gm-Message-State: AOAM530DNL4AHq7rK/ZcRs1RG7UK5UuU7TvUh8tnl/XaBOmXfzJerQ6/ 9GDd08YNNZMvVWG0ZKofo3RpANXJXxdFs2LJZ/6i2XeICjsad+rxJZyeFRhVR4vz9lBzMK6s//l QnspLeqVat0oyTzAMfZ3dNlZPxmpV+dlhP96u+n0= X-Received: by 2002:a05:6512:1286:: with SMTP id u6mr20850791lfs.342.1640709579416; Tue, 28 Dec 2021 08:39:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUIm63tQ1i2xPZhWNHW+jQYMkShWkPt/35yD+8djNtjXFgkoaNDLdZbKoC9UYgmfYxQoNdIw== X-Received: by 2002:a05:6512:1286:: with SMTP id u6mr20850774lfs.342.1640709579251; Tue, 28 Dec 2021 08:39:39 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id d3sm1972876lfs.204.2021.12.28.08.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Dec 2021 08:39:38 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Pavel Machek , Rob Herring , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 3/4] regulator: dt-bindings: maxim,max77693: convert to dtschema Date: Tue, 28 Dec 2021 17:39:29 +0100 Message-Id: <20211228163930.35524-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211228163930.35524-1-krzysztof.kozlowski@canonical.com> References: <20211228163930.35524-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Convert the regulator bindings of Maxim MAX77693 MUIC to DT schema format. The existing bindings were defined in ../bindings/mfd/max77693.txt. Signed-off-by: Krzysztof Kozlowski --- .../bindings/regulator/maxim,max77693.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max77693.yaml diff --git a/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml b/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml new file mode 100644 index 000000000000..81242c8cd77c --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77693.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77693 MicroUSB and Companion Power Management IC regulators + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated + Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for + additional information and example. + +patternProperties: + "^ESAFEOUT[12]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Safeout LDO regulator. + + properties: + regulator-min-microvolt: true + regulator-max-microvolt: true + + required: + - regulator-name + + "^CHARGER$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Current regulator. + + properties: + regulator-min-microamp: true + regulator-max-microamp: true + + required: + - regulator-name + +additionalProperties: false