From: Krzysztof Kozlowski <krzk@kernel.org>
To: Echo Zhang <echo.zhang@mediatek.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
MMDVFS Team <linux-mediatek@lists.infradead.org>,
kyrie.wu@mediatek.com, ming-fan.chen@mediatek.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
llvm@lists.linux.dev
Subject: Re: [PATCH 1/7] dt-bindings: clock: mediatek: add MT8196 MMDVFS clock IDs
Date: Wed, 25 Nov 2026 11:55:55 +0100 [thread overview]
Message-ID: <77569628-a251-4086-a148-7673453854e8@kernel.org> (raw)
In-Reply-To: <20261125060037.649659-2-echo.zhang@mediatek.com>
On 25/11/2026 07:00, Echo Zhang wrote:
> Add clock IDs for the MT8196 MMDVFS clock provider.
>
> These IDs describe the clocks exposed by the MMDVFS block and are used by
> device tree consumers to request multimedia performance levels through the
> standard clock framework.
>
> Signed-off-by: Echo Zhang <echo.zhang@mediatek.com>
> ---
> .../clock/mediatek,mt8196-mmdvfs.h | 74 +++++++++++++++++++
This is not a separate commit.
> 1 file changed, 74 insertions(+)
> create mode 100644 include/dt-bindings/clock/mediatek,mt8196-mmdvfs.h
>
> diff --git a/include/dt-bindings/clock/mediatek,mt8196-mmdvfs.h b/include/dt-bindings/clock/mediatek,mt8196-mmdvfs.h
> new file mode 100644
> index 000000000000..428d8a35abdb
> --- /dev/null
> +++ b/include/dt-bindings/clock/mediatek,mt8196-mmdvfs.h
> @@ -0,0 +1,74 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Copyright (c) 2024 MediaTek Inc.
> + * Author: MediaTek MMDVFS Team
> + */
> +
> +#ifndef _DT_BINDINGS_MMDVFS_CLK_MT8196_H
> +#define _DT_BINDINGS_MMDVFS_CLK_MT8196_H
> +
> +/*
> + * MMDVFS Clock IDs for MT8196
> + *
> + * These IDs are used by multimedia clients in device tree to reference
> + * MMDVFS virtual clocks for DVFS voting.
> + *
> + * MT8196 uses HWCCF (Hardware Clock Control Fabric) architecture.
> + *
> + * Usage in device tree:
> + * clocks = <&mmdvfs MMDVFS_USER_VDEC>;
> + * clock-names = "mmdvfs";
> + */
> +
> +/* Core user clocks used by multimedia hardware drivers */
> +#define MMDVFS_USER_DISP 0 /* user-disp */
> +#define MMDVFS_USER_MDP 1 /* user-mdp */
> +#define MMDVFS_USER_MML 2 /* user-mml */
> +#define MMDVFS_USER_SMI 3 /* user-smi */
> +#define MMDVFS_USER_JPEGDEC 4 /* user-jpegdec */
> +#define MMDVFS_USER_JPEGENC 5 /* user-jpegenc */
> +#define MMDVFS_USER_VENC 6 /* user-venc */
> +#define MMDVFS_USER_VFMT 7 /* user-vfmt */
> +#define MMDVFS_USER_IMG 8 /* user-img */
> +#define MMDVFS_USER_CAM 9 /* user-cam */
> +#define MMDVFS_USER_VCORE 10 /* user-vcore */
> +#define MMDVFS_USER_VMM 11 /* user-vmm */
> +#define MMDVFS_USER_VDISP 12 /* user-vdisp */
> +#define MMDVFS_USER_VDEC 13 /* user-vdec */
> +#define DUMMY_USER_DIS 14 /* dummy-dis */
> +#define DUMMY_USER_MDP 15 /* dummy-mdp */
> +#define DUMMY_USER_MML 16 /* dummy-mml */
> +#define DUMMY_USER_SMI 17 /* dummy-smi */
> +#define DUMMY_USER_VEN 18 /* dummy-ven */
> +#define DUMMY_USER_VDE 19 /* dummy-vde */
> +#define DUMMY_USER_IMG 20 /* dummy-img */
> +#define DUMMY_USER_CAM 21 /* dummy-cam */
> +#define MMDVFS_USER_CAM_SMI 22 /* user-cam-smi */
> +#define MMDVFS_USER_VCP_SMI 23 /* user-vcp-smi */
> +
> +/* AP voter clocks (24-33) - System level control */
> +#define MMDVFS_AP_CAM 24
> +#define MMDVFS_AP_CAMTM 25
> +#define MMDVFS_AP_VDE 26
> +#define MMDVFS_AP_IMG 27
> +#define MMDVFS_AP_IPE 28
> +#define MMDVFS_AP_DIS 29
> +#define MMDVFS_AP_MML 30
> +#define MMDVFS_AP_SMI 31
> +#define MMDVFS_AP_VEN 32
> +#define MMDVFS_AP_MDP 33
> +
> +/* VCP voter clocks (34-43) - VCP firmware control */
> +#define MMDVFS_VCP_CAM 34
> +#define MMDVFS_VCP_CAMTM 35
> +#define MMDVFS_VCP_VDE 36
> +#define MMDVFS_VCP_IMG 37
> +#define MMDVFS_VCP_IPE 38
> +#define MMDVFS_VCP_DIS 39
> +#define MMDVFS_VCP_MML 40
> +#define MMDVFS_VCP_SMI 41
> +#define MMDVFS_VCP_VEN 42
> +#define MMDVFS_VCP_MDP 43
> +
> +#define MMDVFS_USER_NUM 44
Not a binding, drop.
Are you sending us some downstream old driver? Which upstream code was
used as a base/example for this work?
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-11-25 10:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 6:00 [PATCH 0/7] soc: mediatek: add MMDVFS support for MT8196 Echo Zhang
2026-11-25 6:00 ` [PATCH 1/7] dt-bindings: clock: mediatek: add MT8196 MMDVFS clock IDs Echo Zhang
2026-11-25 10:55 ` Krzysztof Kozlowski [this message]
2026-11-25 6:00 ` [PATCH 2/7] dt-bindings: soc: mediatek: add MMDVFS binding Echo Zhang
2026-11-25 8:32 ` Roman Vivchar
2026-11-25 10:58 ` Krzysztof Kozlowski
2026-11-25 6:00 ` [PATCH 3/7] soc: mediatek: add MMDVFS core driver Echo Zhang
2026-11-25 8:35 ` Roman Vivchar
2026-11-25 10:54 ` Krzysztof Kozlowski
2026-11-25 6:00 ` [PATCH 4/7] soc: mediatek: mmdvfs: add VCP backend Echo Zhang
2026-11-25 8:38 ` Roman Vivchar
2026-11-25 10:59 ` Krzysztof Kozlowski
2026-11-25 11:00 ` Krzysztof Kozlowski
2026-11-25 6:00 ` [PATCH 5/7] soc: mediatek: mmdvfs: add MT8196 support Echo Zhang
2026-11-25 6:00 ` [PATCH 6/7] soc: mediatek: mmdvfs: add read-only status debug Echo Zhang
2026-11-25 6:00 ` [PATCH 7/7] MAINTAINERS: add MediaTek MMDVFS entry Echo Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77569628-a251-4086-a148-7673453854e8@kernel.org \
--to=krzk@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=echo.zhang@mediatek.com \
--cc=jbrunet+clk@baylibre.com \
--cc=justinstitt@google.com \
--cc=krzk+dt@kernel.org \
--cc=kyrie.wu@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=matthias.bgg@gmail.com \
--cc=ming-fan.chen@mediatek.com \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®