0004-soc-mediatek-Add-MT2701-power-dt-bindings.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 7c5b29de78f1b15c5bde40a6ca4510fc09588457 Mon Sep 17 00:00:00 2001
  2. From: Shunli Wang <shunli.wang@mediatek.com>
  3. Date: Wed, 30 Dec 2015 14:41:45 +0800
  4. Subject: [PATCH 004/102] soc: mediatek: Add MT2701 power dt-bindings
  5. Add power dt-bindings for MT2701.
  6. Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
  7. Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
  8. ---
  9. include/dt-bindings/power/mt2701-power.h | 27 +++++++++++++++++++++++++++
  10. 1 file changed, 27 insertions(+)
  11. create mode 100644 include/dt-bindings/power/mt2701-power.h
  12. --- /dev/null
  13. +++ b/include/dt-bindings/power/mt2701-power.h
  14. @@ -0,0 +1,27 @@
  15. +/*
  16. + * Copyright (C) 2015 MediaTek Inc.
  17. + *
  18. + * This program is free software: you can redistribute it and/or modify
  19. + * it under the terms of the GNU General Public License version 2 as
  20. + * published by the Free Software Foundation.
  21. + *
  22. + * This program is distributed in the hope that it will be useful,
  23. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. + * GNU General Public License for more details.
  26. + */
  27. +
  28. +#ifndef _DT_BINDINGS_POWER_MT2701_POWER_H
  29. +#define _DT_BINDINGS_POWER_MT2701_POWER_H
  30. +
  31. +#define MT2701_POWER_DOMAIN_CONN 0
  32. +#define MT2701_POWER_DOMAIN_DISP 1
  33. +#define MT2701_POWER_DOMAIN_MFG 2
  34. +#define MT2701_POWER_DOMAIN_VDEC 3
  35. +#define MT2701_POWER_DOMAIN_ISP 4
  36. +#define MT2701_POWER_DOMAIN_BDP 5
  37. +#define MT2701_POWER_DOMAIN_ETH 6
  38. +#define MT2701_POWER_DOMAIN_HIF 7
  39. +#define MT2701_POWER_DOMAIN_IFR_MSC 8
  40. +
  41. +#endif /* _DT_BINDINGS_POWER_MT2701_POWER_H */