Re: [PATCH 2/4] soc: mediatek: use group of bits for pwrap capability

2018-09-25 Thread Matthias Brugger
On 19/09/2018 09:25, Hsin-Hsiung Wang wrote: > Use group of bits for pwrap capability instead of > elements of structure. > This patch is preparing for adding mt8183 pwrap support. > > Signed-off-by: Hsin-Hsiung Wang I split this patch in two, one for the ordering of the SoCs and PMIC numbers

[PATCH 2/4] soc: mediatek: use group of bits for pwrap capability

2018-09-19 Thread Hsin-Hsiung Wang
Use group of bits for pwrap capability instead of elements of structure. This patch is preparing for adding mt8183 pwrap support. Signed-off-by: Hsin-Hsiung Wang --- drivers/soc/mediatek/mtk-pmic-wrap.c | 248 ++- 1 file changed, 129 insertions(+), 119 deletions(-