From: Xiao Feng Date: Wed, 3 Feb 2016 09:58:25 +0000 (+0800) Subject: dt-bindings: add power-domain header for RK3366 SoCs X-Git-Tag: firefly_0821_release~3361 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fdf85a873f587e976bd45ffc40e65e5751f4eb7b;p=firefly-linux-kernel-4.4.55.git dt-bindings: add power-domain header for RK3366 SoCs According to a description from TRM, add all the power domains. Change-Id: I65046318da4592b76bfd5ab7c0294e2c5d66d20a Signed-off-by: Xiao Feng --- diff --git a/include/dt-bindings/power/rk3366-power.h b/include/dt-bindings/power/rk3366-power.h new file mode 100644 index 000000000000..223a3dce049a --- /dev/null +++ b/include/dt-bindings/power/rk3366-power.h @@ -0,0 +1,24 @@ +#ifndef __DT_BINDINGS_POWER_RK3366_POWER_H__ +#define __DT_BINDINGS_POWER_RK3366_POWER_H__ + +/* VD_CORE */ +#define RK3366_PD_A53_0 0 +#define RK3366_PD_A53_1 1 +#define RK3366_PD_A53_2 2 +#define RK3366_PD_A53_3 3 + +/* VD_LOGIC */ +#define RK3366_PD_BUS 4 +#define RK3366_PD_PERI 5 +#define RK3366_PD_VIO 6 +#define RK3366_PD_VIDEO 7 +#define RK3366_PD_RKVDEC 8 +#define RK3366_PD_WIFIBT 9 +#define RK3366_PD_VPU 10 +#define RK3366_PD_GPU 11 +#define RK3366_PD_ALIVE 12 + +/* VD_PMU */ +#define RK3366_PD_PMU 13 + +#endif