From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Sun, 21 May 2017 17:28:05 +0800 Subject: [PATCH V2 3/5] pinctrl: imx: add soc specific mux_mode mask and shift property In-Reply-To: <1495177545-23006-4-git-send-email-aisheng.dong@nxp.com> References: <1495177545-23006-1-git-send-email-aisheng.dong@nxp.com> <1495177545-23006-4-git-send-email-aisheng.dong@nxp.com> Message-ID: <20170521092804.GL26102@dragon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Cc: Shawn Guo > Cc: Stefan Agner > Cc: Bai Ping > Signed-off-by: Fugang Duan > Signed-off-by: Dong Aisheng Acked-by: Shawn Guo