mediatek: update patches
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.4 / 0004-soc-mediatek-Add-MT2701-power-dt-bindings.patch
1 From f371844374fff273f817d6c43f679606417af59e 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 04/91] 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 diff --git a/include/dt-bindings/power/mt2701-power.h b/include/dt-bindings/power/mt2701-power.h
16 new file mode 100644
17 index 0000000..64cc826
18 --- /dev/null
19 +++ b/include/dt-bindings/power/mt2701-power.h
20 @@ -0,0 +1,27 @@
21 +/*
22 + * Copyright (C) 2015 MediaTek Inc.
23 + *
24 + * This program is free software: you can redistribute it and/or modify
25 + * it under the terms of the GNU General Public License version 2 as
26 + * published by the Free Software Foundation.
27 + *
28 + * This program is distributed in the hope that it will be useful,
29 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 + * GNU General Public License for more details.
32 + */
33 +
34 +#ifndef _DT_BINDINGS_POWER_MT2701_POWER_H
35 +#define _DT_BINDINGS_POWER_MT2701_POWER_H
36 +
37 +#define MT2701_POWER_DOMAIN_CONN 0
38 +#define MT2701_POWER_DOMAIN_DISP 1
39 +#define MT2701_POWER_DOMAIN_MFG 2
40 +#define MT2701_POWER_DOMAIN_VDEC 3
41 +#define MT2701_POWER_DOMAIN_ISP 4
42 +#define MT2701_POWER_DOMAIN_BDP 5
43 +#define MT2701_POWER_DOMAIN_ETH 6
44 +#define MT2701_POWER_DOMAIN_HIF 7
45 +#define MT2701_POWER_DOMAIN_IFR_MSC 8
46 +
47 +#endif /* _DT_BINDINGS_POWER_MT2701_POWER_H */
48 --
49 1.7.10.4
50