Re: [PATCH 1/7] dt-bindings: reset: Add MT6589 toprgu reset IDs

Akari Tsuyukusa <[email protected]>
Newsgroups org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-watchdog
Message-ID <amEBgRmQktZ44jc1@buffalo-ssd>
On Fri, Jul 17, 2026 at 05:11:08PM +0200, Luca Leonardo Scorcia wrote:
> Add reset constants for the 12 MT6589 toprgu resets.
> 
> Signed-off-by: Luca Leonardo Scorcia <[email protected]>
> ---
>  .../reset/mediatek,mt6589-resets.h            | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 include/dt-bindings/reset/mediatek,mt6589-resets.h
> 
> diff --git a/include/dt-bindings/reset/mediatek,mt6589-resets.h b/include/dt-bindings/reset/mediatek,mt6589-resets.h
> new file mode 100644
> index 000000000000..ee08c39df513
> --- /dev/null
> +++ b/include/dt-bindings/reset/mediatek,mt6589-resets.h
> @@ -0,0 +1,24 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Author: Luca Leonardo Scorcia <[email protected]>
> + */
> +
> +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT6589
> +#define _DT_BINDINGS_RESET_CONTROLLER_MT6589
> +
> +/* TOPRGU resets */
> +#define MT6589_TOPRGU_INFRA_SW_RST		0
> +#define MT6589_TOPRGU_MM_SW_RST			1
> +#define MT6589_TOPRGU_MFG_SW_RST		2
> +#define MT6589_TOPRGU_VENC_SW_RST		3
> +#define MT6589_TOPRGU_VDEC_SW_RST		4
> +#define MT6589_TOPRGU_IMG_SW_RST		5
> +#define MT6589_TOPRGU_DDRPHY_SW_RST		6
> +#define MT6589_TOPRGU_MD_SW_RST			7
> +#define MT6589_TOPRGU_INFRA_AO_SW_RST		8
> +#define MT6589_TOPRGU_MD_LITE_SW_RST		9
> +#define MT6589_TOPRGU_APMIXED_SW_RST		10
> +#define MT6589_TOPRGU_PWRAP_SPI_CTL_RST		11
> +#define MT6589_TOPRGU_SW_RST_NUM		12
> +
> +#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT6589 */
> -- 
> 2.43.0
> 
> 

Correctly compatible with MT6589.

Acked-by: Akari Tsuyukusa <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.