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: 529526 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 A8B3DC4332F for ; Tue, 28 Dec 2021 16:39:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236279AbhL1Qjp (ORCPT ); Tue, 28 Dec 2021 11:39:45 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:49274 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236173AbhL1Qjl (ORCPT ); Tue, 28 Dec 2021 11:39:41 -0500 Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) (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 F05473FFDA 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-f199.google.com with SMTP id s11-20020a05651c048b00b0022d8722e7b5so656482ljc.23 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=WiPn2ILx0xu0acyUCCFOLcrEAtrAK7pY1VPLmwHT1VGTglgLhyzXfhUl/cpxEH/h0x X5tQSq4wrf1q469FWIMmLny08igZs3I6bTrQv0n82QV+biivR9SfZR99vDZhs8AzWTI5 3/UZQEzYDFitkfYh2ldE0ZSZSpX2bl36apduTLVPAxq3Md0yBHwLwsatk5GQa2Mt7dV0 Pyb1oJ+lu+NXpGHn2aD5XQ7uHIJYBvxD6yjjIc5CiumZrqI1Tzd1h/Wh+jr1h45IkQRV Rnh3rzMSg8o1idDbdvt0+Pr+gdyLjnThoMCHxuHeChdSvd+MbsssAeaQHLbkPbaqDiHj UHDA== X-Gm-Message-State: AOAM532AiViKNp3AK+yCoZxi+ItmSOp9Vy2QlK2uzMTOpHVkgsKHXNkA xXfZXclhCcd7wUMqShRbSVVIVUXMYOFO/YNx7ySamUF8XAAuWxXL1qltpNSf8RIIvZuYzAHHnyL phdS4nJV9vo04ljzBSXWxo1S0knvMi3AOuHrp X-Received: by 2002:a05:6512:1286:: with SMTP id u6mr20850782lfs.342.1640709579413; 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-pm@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