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