Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1304611
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] dt-bindings: add power-domain header for RK3368 SoCs |
| Date | 2016-01-08 15:30 +0100 |
| Message-ID | <qOGdd-7Wi-31@gated-at.bofh.it> (permalink) |
| References | <qOCMi-5tN-9@gated-at.bofh.it> <qOCMi-5tN-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 08, 2016 at 10:37:40AM -0800, zhangqing wrote: > According to a description from TRM, add all the power domains. > > Signed-off-by: zhangqing <zhangqing@rock-chips.com> > --- > include/dt-bindings/power/rk3368-power.h | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 include/dt-bindings/power/rk3368-power.h You also need to update the related binding file, for the new compatible string. Mark. > > diff --git a/include/dt-bindings/power/rk3368-power.h b/include/dt-bindings/power/rk3368-power.h > new file mode 100644 > index 0000000..93633d5 > --- /dev/null > +++ b/include/dt-bindings/power/rk3368-power.h > @@ -0,0 +1,28 @@ > +#ifndef __DT_BINDINGS_POWER_RK3368_POWER_H__ > +#define __DT_BINDINGS_POWER_RK3368_POWER_H__ > + > +/* VD_CORE */ > +#define RK3368_PD_A53_L0 0 > +#define RK3368_PD_A53_L1 1 > +#define RK3368_PD_A53_L2 2 > +#define RK3368_PD_A53_L3 3 > +#define RK3368_PD_SCU_L 4 > +#define RK3368_PD_A53_B0 5 > +#define RK3368_PD_A53_B1 6 > +#define RK3368_PD_A53_B2 7 > +#define RK3368_PD_A53_B3 8 > +#define RK3368_PD_SCU_B 9 > + > +/* VD_LOGIC */ > +#define RK3368_PD_BUS 10 > +#define RK3368_PD_PERI 11 > +#define RK3368_PD_VIO 12 > +#define RK3368_PD_ALIVE 13 > +#define RK3368_PD_VIDEO 14 > +#define RK3368_PD_GPU_0 15 > +#define RK3368_PD_GPU_1 16 > + > +/* VD_PMU */ > +#define RK3368_PD_PMU 17 > + > +#endif > -- > 1.9.1 > >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/2] dt-bindings: add power-domain header for RK3368 SoCs zhangqing <zhangqing@rock-chips.com> - 2016-01-08 11:50 +0100 Re: [PATCH v2 1/2] dt-bindings: add power-domain header for RK3368 SoCs Mark Rutland <mark.rutland@arm.com> - 2016-01-08 15:30 +0100
csiph-web