On Fri, May 19, 2017 at 03:05:43PM +0800, Dong Aisheng wrote: > MX7ULP MUX mode mask and shift bit is different from VF610. > Let's make it a platform specific property for the later easy of > adding MX7ULP support. > > One trick in exist code that Vybrid hardcoded the config part > as 0xffff because its mux_config register BIT[15-0] are all configs > part. But it's not true in ULP, so use mux_mask instead to address > the difference. > > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Shawn Guo <shawnguo@xxxxxxxxxx> > Cc: Stefan Agner <stefan@xxxxxxxx> > Cc: Bai Ping <ping.bai@xxxxxxx> > Signed-off-by: Fugang Duan <fugang.duan@xxxxxxx> > Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx> Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html