mediatek: replace mt7988 clk files with accepted patches
[openwrt/staging/dangole.git] / target / linux / mediatek / patches-6.1 / 245-v6.8-dt-bindings-reset-mediatek-add-MT7988-ethwarp-reset-.patch
1 From 5cfa3beb7761cb84be77225902e018d9d3f9b973 Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Sun, 17 Dec 2023 21:49:45 +0000
4 Subject: [PATCH 1/4] dt-bindings: reset: mediatek: add MT7988 ethwarp reset
5 IDs
6
7 Add reset ID for ethwarp subsystem allowing to reset the built-in
8 Ethernet switch of the MediaTek MT7988 SoC.
9
10 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
12 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
13 Link: https://lore.kernel.org/r/0c14bbacf471683af67ffa7572bfa1d5c45a0b5d.1702849494.git.daniel@makrotopia.org
14 Signed-off-by: Stephen Boyd <sboyd@kernel.org>
15 ---
16 include/dt-bindings/reset/mediatek,mt7988-resets.h | 13 +++++++++++++
17 1 file changed, 13 insertions(+)
18 create mode 100644 include/dt-bindings/reset/mediatek,mt7988-resets.h
19
20 --- /dev/null
21 +++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h
22 @@ -0,0 +1,13 @@
23 +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
24 +/*
25 + * Copyright (c) 2023 Daniel Golle <daniel@makrotopia.org>
26 + * Author: Daniel Golle <daniel@makrotopia.org>
27 + */
28 +
29 +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7988
30 +#define _DT_BINDINGS_RESET_CONTROLLER_MT7988
31 +
32 +/* ETHWARP resets */
33 +#define MT7988_ETHWARP_RST_SWITCH 0
34 +
35 +#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */