Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp225779lqp; Mon, 10 Jun 2024 01:58:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyJnrMEzJOSr0dYPKgiK6vpw5d3Eonq3U5G929f+nBcRPufBYvioGsMAgI8VlMF6vGkpj4Q8Pz4lmSqqqrCsGui5s0amuPSc4uSdufJw== X-Google-Smtp-Source: AGHT+IHMlCY9vOkTykU9zi9gFcAwZWv+0CZlnLM9mc4UM0+cWP0TCqh6Y6z8iW293lrlX5WS/lhM X-Received: by 2002:a50:998d:0:b0:57a:1b41:55fe with SMTP id 4fb4d7f45d1cf-57c5085d3fbmr6367795a12.6.1718009887088; Mon, 10 Jun 2024 01:58:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718009887; cv=pass; d=google.com; s=arc-20160816; b=og4+hEiwOmv7zFDaAgQVBwX89iZee49DhDR4B+55orR57XGWiH3gEv3lxbB1+AStg3 rldC/xkPvFwPX873T2xMdzC5xc5Tu9Gy0+dGKil6TjuUmRvJQDVLtOuRkWm90gDOyKNM XyVkGkgacASFsMn+4U+IOKu48stWSy+F0efmjtERJnD1xXq9cMoqYbGUOyYgxysKfdsH 5xQCNp/0BZZVgyymFD6MXYglMf663TqFK8aM5JOPEVz2BOeazNmJKG3E4NxCvnp6j5w5 1iKQQmB/2WRjFdgckZi6372Z+sN/RkHkjrJe3Vydh0MIyt4jvLNcaEL+1RwwT108vNGe vPKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wjRY1zReFrNy8UYXLHV24N7Jd6AMOuI9Ce0/HbUSjos=; fh=6vVbg1oy9ZYq1MXwOGMMFhribCwVPwV59XseO9BPFU8=; b=J2tNBWtgid+1Gh7vXLX/SfwTUeS6uFx58jHtdtnZHzzMC9ZFam5BEf77oxkUwBVZNl wTIfUehOKpqAWKIm9ilH6Xg6KFs6gu8oduQMVJzKHkfMD3jUq3APn0Lfks06Sd5WFzBe UxN+KA4+vQOh+6fRw0IEAE1jitTr/mP6oCg9zsztk0ilIqaGU+8tt193aTiMg6KLQZDp v+lJvWtNnPr3fDYeK/opt2p5UwJTcvXs2eOtNPqvbT2fWnUtQUt02by95RUXgwxwVp7e jxb/zvFPUZOhX5+6uqn6AoJPtr6nGR2J2bhVZYrrZM4Dmtf1SpdeOdsLcGb8gkXty+RT A/Lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Fw6cmh7t; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-207881-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207881-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c60cc062asi2932339a12.499.2024.06.10.01.58.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 01:58:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207881-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Fw6cmh7t; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-207881-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207881-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E3F6D1F21C85 for ; Mon, 10 Jun 2024 08:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A433B74057; Mon, 10 Jun 2024 08:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Fw6cmh7t" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62DF76F2F1; Mon, 10 Jun 2024 08:57:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009864; cv=none; b=hpT+vPfdAko/3wQyD+wLN1qOyIsvqjiw9KOKvC7CNmp2zXLqPuA0QYB2aMz60CGqRzOLYtXlEIEJydj3tml5FE8FJyfTBNYtTFwk1GrhnDGczpVA5PsbcVeToW6FapYs10bADBdyvop5HgeyyVKrpIUQWn2oSxoVJEjHVHsfpCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009864; c=relaxed/simple; bh=e0D/wCjfLmN7CdpzoECiGOxKpEk57xL55qYPZLGnwt8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d4FSTSDkEBlTBiiKTvby32M+XFTjqZ9xwhVHpNmHd+cWZxTpWe0aqAFYsIT5PUaqsrw75ew3vGbwB42cgiZ/IHFFS8IMzlugJt0tB2l2Zdai1MYVkGB6bz06O9OIjtOcrWJJ90wQ2dZjItLiOaCyg0xmImuiz8oG4QxalL2BFE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Fw6cmh7t; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718009861; bh=e0D/wCjfLmN7CdpzoECiGOxKpEk57xL55qYPZLGnwt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fw6cmh7tBLnmj6VuZvlHTaKipUimxKCzQhc7uoCXlD6xBRhBJKO70gcx/A0MmcUSb ZGiGXupyPcyMBONiWhjzFSsbm4whLqhKV8JdCo75IOfjGw14CecmN9jKZ7IWawN8xl gTXYMDuW89FE1l/xUs//UWBx8XT6SmEP8mxgHW4H+qiPIk04qX4bKwVzDgWBoMWrWN KdIbp3fRrLjsY/Tex58TaNdsH3uGXF6UjZPMFzHfIvcB6LOYOkxC0BS91h4KHakNrU hAO5VsdIVhFH0Px/OtCvG+TlkvkxOCWqeVpG0tbSaZYYb6LNLQny2hgAqIlmr+JMgm 3k2AUfkWOSUNw== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 7A2C03782159; Mon, 10 Jun 2024 08:57:40 +0000 (UTC) From: AngeloGioacchino Del Regno To: djakov@kernel.org Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, lgirdwood@gmail.com, broonie@kernel.org, keescook@chromium.org, gustavoars@kernel.org, henryc.chen@mediatek.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, wenst@chromium.org, amergnat@baylibre.com Subject: [PATCH v6 1/7] dt-bindings: regulator: Add bindings for MediaTek DVFSRC Regulators Date: Mon, 10 Jun 2024 10:57:29 +0200 Message-ID: <20240610085735.147134-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240610085735.147134-1-angelogioacchino.delregno@collabora.com> References: <20240610085735.147134-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Dynamic Voltage and Frequency Scaling Resource Collector Regulators are controlled with votes to the DVFSRC hardware. This adds support for the regulators found in MT6873, MT8183, MT8192 and MT8195 SoCs. Reviewed-by: Rob Herring (Arm) Signed-off-by: AngeloGioacchino Del Regno --- .../mediatek,mt6873-dvfsrc-regulator.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml diff --git a/Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml b/Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml new file mode 100644 index 000000000000..704828687970 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek DVFSRC-controlled Regulators + +description: + The Dynamic Voltage and Frequency Scaling Resource Collector Regulators + are controlled with votes to the DVFSRC hardware. + +maintainers: + - AngeloGioacchino Del Regno + +properties: + compatible: + enum: + - mediatek,mt6873-dvfsrc-regulator + - mediatek,mt8183-dvfsrc-regulator + - mediatek,mt8192-dvfsrc-regulator + - mediatek,mt8195-dvfsrc-regulator + + dvfsrc-vcore: + description: DVFSRC-controlled SoC Vcore regulator + $ref: regulator.yaml# + unevaluatedProperties: false + + dvfsrc-vscp: + description: DVFSRC-controlled System Control Processor regulator + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + +anyOf: + - required: + - dvfsrc-vcore + - required: + - dvfsrc-vscp + +additionalProperties: false -- 2.45.2