[PATCH v4 1/7] dt-bindings: reset: Add mt6589 toprgu reset IDs
Luca Leonardo Scorcia <[email protected]>
| Newsgroups | org.kernel.vger.linux-watchdog,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add IDs for the 12 mt6589 toprgu resets which can be used in device trees to identify subsystem resets. The binding for the associated reset controller mt6589-wdt is already upstream. Signed-off-by: Luca Leonardo Scorcia <[email protected]> Acked-by: Akari Tsuyukusa <[email protected]> --- .../dt-bindings/reset/mediatek,mt6589-wdt.h | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/dt-bindings/reset/mediatek,mt6589-wdt.h diff --git a/include/dt-bindings/reset/mediatek,mt6589-wdt.h b/include/dt-bindings/reset/mediatek,mt6589-wdt.h new file mode 100644 index 000000000000..5e39c8cdd718 --- /dev/null +++ b/include/dt-bindings/reset/mediatek,mt6589-wdt.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +#ifndef _DT_BINDINGS_RESET_MEDIATEK_MT6589_WDT_H_ +#define _DT_BINDINGS_RESET_MEDIATEK_MT6589_WDT_H_ + +/* TOPRGU reset IDs */ +#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_MEDIATEK_MT6589_WDT_H_ */ -- 2.43.0