Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp490685ybg; Fri, 18 Oct 2019 03:00:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqziybQSgLDV41QOk7y2yAFsxB3zRt2teSU/Ll0FLep4PG6LN0mmOCArV9IENeY7SiuT8z+r X-Received: by 2002:a05:6402:1b92:: with SMTP id cc18mr8805527edb.129.1571392827945; Fri, 18 Oct 2019 03:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571392827; cv=none; d=google.com; s=arc-20160816; b=GWMpayaRcXqdahhU68TKKB/WzImpstDxKk5Kpt88ftibTVLoH+Omg1EKoXBpBv0ZNG C9XdMLmjnlZ9Ohhx1DYzJHM7VgpMtgTTNIhHBRpgfS4M5E6iZxAnOtF0Kp0KV1FmIY+2 hayzmn/lL+tEBiNQbSM6yf/TbqbUlV96bJexK4Imudvw17g88wg04LQUWGsvgufTTQ9u CrtwqrS9SzxMkSiiYTJdki9d+9GSCvzWEJtNLn4+fWNCRYXZg3bGA5BCGw5FPhdlHiVj +/vXSoP1qb4vCuf/TdfHkOgX+ORMuZuCpKu0GvcGafmTBJttb451T1HsMj5eqVbe3QA3 Jx9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Y0xe4FV0YX22NO6I3XU+3Y8zPnld2K+UQnu+8AFIWtw=; b=x4ROpJmVVNN4UhLHTcUTQbPwLW4En4H5Z6T42koqfjK859dUL6huRB+9AaY9CbIQWW cOpVzFdTKC7Db71kQ+1UswcvDdPULJwEb9y7m18fYxenU3RK+0caZEqr0BmQ6H3HLZ9F ZM/X4Xe8bm/OflksvKOduMwXUgqhkIfd3MwVDZoPSvdPcv2ImJjBf9ivz/leOcjNyXIu +azES1G63pYIfUndvQe34MxeI/Tlw3yC6npjc71jissT1vk/cy+HFYkC+G4ZtHKW31cx V7TJLiIhjKn4qlkpnie1HT2EAY+GQvRXYlTcSzbq5s4FJl9rTrJafoDSks2nIjx95x6n IIyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=MQ1lZeNL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gh12si2949471ejb.191.2019.10.18.03.00.04; Fri, 18 Oct 2019 03:00:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=MQ1lZeNL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408023AbfJQHNG (ORCPT + 99 others); Thu, 17 Oct 2019 03:13:06 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:37200 "EHLO mail-wr1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403940AbfJQHMq (ORCPT ); Thu, 17 Oct 2019 03:12:46 -0400 Received: by mail-wr1-f43.google.com with SMTP id p14so1016381wro.4 for ; Thu, 17 Oct 2019 00:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y0xe4FV0YX22NO6I3XU+3Y8zPnld2K+UQnu+8AFIWtw=; b=MQ1lZeNLhK1v35h5GBrVyrfS3o+FpzpiwUZFY+/nQUc8DMZRWC1HFjF/WkkxIy2/fO E2lBgJcNi75C159GTkooUVaGTMWLzuvvSTJbe0mquS8qSxTsn5tTImupeKx0IeaZ3Dbm v21aC79ALMER6MdH6aNzlmWHDJvS1om0lpBw3ntecQnjmXfZ1W1fP5RMaxj1MX0j0dKx wOdp1GirtV0Tx2YhNj7dSmxvi9lRWahd++Awy/l07tVXOSiktKHSPVzgioTkxp4CjWdo 08xmPG+RhK5JmTR6HZGrF6HWk5oa6/30FraJfjORzP9J66TPxcBX+QtYKAAv56jqp+aD tpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y0xe4FV0YX22NO6I3XU+3Y8zPnld2K+UQnu+8AFIWtw=; b=U5cjv6y8nyvqAnCCJ35v6Ri+s/DweLptiUNFw89Xkf9b4xBXkq6LjGXkUa40s+e0as 8UDoWxOVvOMsmkageCs3qx3y7ARQY+xxqCZlatLZsYJo49SIzoH48z4x7byV3B0R6bE7 FrBMB8njnPdeGKbTwSPrmXvsZ2w8OJXYdnmJav0jFEVeJGzBJIa7jZEQ4pYOtKZEFXEE HLlH6SjVOZGgo3YPVw6oPYuH7CucAmImyoGiXwrSsfW3FKopIP62XwKqMSU14mbJVMAj 5enkVKr2piRdWr7q4RDT2yaHqeF20TVsyzfTk9mwHAn9+htHPPP6QQKc6I0f3KbMBhMJ xLmA== X-Gm-Message-State: APjAAAW6+12yk0KY3UVmTLrULW9pyugdZsN7ZNP0g9GIHcETxTe6qaoK cu/snTBBdirS97juRAqNYK2uiA== X-Received: by 2002:a5d:4a87:: with SMTP id o7mr1680954wrq.374.1571296363695; Thu, 17 Oct 2019 00:12:43 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id n22sm1156689wmk.19.2019.10.17.00.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 00:12:43 -0700 (PDT) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Dan Murphy , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 3/6] dt-bindings: regulator: max77650: convert the binding document to yaml Date: Thu, 17 Oct 2019 09:12:31 +0200 Message-Id: <20191017071234.8719-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191017071234.8719-1-brgl@bgdev.pl> References: <20191017071234.8719-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Convert the binding document for MAX77650 regulator module to YAML. Signed-off-by: Bartosz Golaszewski --- .../bindings/regulator/max77650-regulator.txt | 41 ------------------- .../regulator/max77650-regulator.yaml | 31 ++++++++++++++ 2 files changed, 31 insertions(+), 41 deletions(-) delete mode 100644 Documentation/devicetree/bindings/regulator/max77650-regulator.txt create mode 100644 Documentation/devicetree/bindings/regulator/max77650-regulator.yaml diff --git a/Documentation/devicetree/bindings/regulator/max77650-regulator.txt b/Documentation/devicetree/bindings/regulator/max77650-regulator.txt deleted file mode 100644 index f1cbe813c30f..000000000000 --- a/Documentation/devicetree/bindings/regulator/max77650-regulator.txt +++ /dev/null @@ -1,41 +0,0 @@ -Regulator driver for MAX77650 PMIC from Maxim Integrated. - -This module is part of the MAX77650 MFD device. For more details -see Documentation/devicetree/bindings/mfd/max77650.txt. - -The regulator controller is represented as a sub-node of the PMIC node -on the device tree. - -The device has a single LDO regulator and a SIMO buck-boost regulator with -three independent power rails. - -Required properties: --------------------- -- compatible: Must be "maxim,max77650-regulator" - -Each rail must be instantiated under the regulators subnode of the top PMIC -node. Up to four regulators can be defined. For standard regulator properties -refer to Documentation/devicetree/bindings/regulator/regulator.txt. - -Available regulator compatible strings are: "ldo", "sbb0", "sbb1", "sbb2". - -Example: --------- - - regulators { - compatible = "maxim,max77650-regulator"; - - max77650_ldo: regulator@0 { - regulator-compatible = "ldo"; - regulator-name = "max77650-ldo"; - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <2937500>; - }; - - max77650_sbb0: regulator@1 { - regulator-compatible = "sbb0"; - regulator-name = "max77650-sbb0"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1587500>; - }; - }; diff --git a/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml b/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml new file mode 100644 index 000000000000..a8770742836d --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator driver for MAX77650 PMIC from Maxim Integrated. + +maintainers: + - Bartosz Golaszewski + +description: | + This module is part of the MAX77650 MFD device. For more details + see Documentation/devicetree/bindings/mfd/max77650.txt. + + The regulator controller is represented as a sub-node of the PMIC node + on the device tree. + + The device has a single LDO regulator and a SIMO buck-boost regulator with + three independent power rails. + +properties: + compatible: + const: maxim,max77650-regulator + +patternProperties: + "^regulator@[0-3]$": + $ref: "regulator.yaml#" + +required: + - compatible -- 2.23.0