soc: mediatek: PMIC wrap: SPI_WRITE needs a different bitmask for MT2701/7623
authorJohn Crispin <blogic@openwrt.org>
Fri, 19 Feb 2016 08:44:10 +0000 (09:44 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 20 Apr 2016 11:03:02 +0000 (13:03 +0200)
commit174f7b4ce15f9edd77caac67a82c686c54788485
tree681969c589df9b714803801aee06b5c09582a8ac
parente5eef49bc34b2adda3d3d0549d92a7f252130e79
soc: mediatek: PMIC wrap: SPI_WRITE needs a different bitmask for MT2701/7623

Different SoCs will use different bitmask for the SPI_WRITE command. This
patch defines the bitmask in the pmic_wrapper_type struct. This allows us
to support new SoCs with a different bitmask to the one currently used.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c