245-v6.8-dt-bindings-reset-mediatek-add-MT7988-ethwarp-reset-.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 5cfa3beb7761cb84be77225902e018d9d3f9b973 Mon Sep 17 00:00:00 2001
  2. From: Daniel Golle <[email protected]>
  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. Add reset ID for ethwarp subsystem allowing to reset the built-in
  7. Ethernet switch of the MediaTek MT7988 SoC.
  8. Signed-off-by: Daniel Golle <[email protected]>
  9. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  10. Acked-by: Krzysztof Kozlowski <[email protected]>
  11. Link: https://lore.kernel.org/r/0c14bbacf471683af67ffa7572bfa1d5c45a0b5d.1702849494.git.daniel@makrotopia.org
  12. Signed-off-by: Stephen Boyd <[email protected]>
  13. ---
  14. include/dt-bindings/reset/mediatek,mt7988-resets.h | 13 +++++++++++++
  15. 1 file changed, 13 insertions(+)
  16. create mode 100644 include/dt-bindings/reset/mediatek,mt7988-resets.h
  17. --- /dev/null
  18. +++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h
  19. @@ -0,0 +1,13 @@
  20. +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
  21. +/*
  22. + * Copyright (c) 2023 Daniel Golle <[email protected]>
  23. + * Author: Daniel Golle <[email protected]>
  24. + */
  25. +
  26. +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7988
  27. +#define _DT_BINDINGS_RESET_CONTROLLER_MT7988
  28. +
  29. +/* ETHWARP resets */
  30. +#define MT7988_ETHWARP_RST_SWITCH 0
  31. +
  32. +#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */