pinctrl: Rework the pinmux handling for BM1880 SoC
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 20 May 2019 08:30:59 +0000 (14:00 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 24 May 2019 11:52:15 +0000 (13:52 +0200)
commit8247b2474bbc376ef51e2662ecc1f7b26ba8e8df
treeed1b3571e1b6ad1c0c3de7ccd120346e1d4d3995
parent13531e5d359e30d9e3d1cabd246a24cf6fdf084a
pinctrl: Rework the pinmux handling for BM1880 SoC

Rework the BM1880 SoC pinmux handling by removing the
BM1880_PINMUX_FUNCTION_MUX define and merging it with the
BM1880_PINMUX_FUNCTION definition. Since the PWM muxing is handled by
generic pin controller in the SoC itself, there is no need to have a
dedicated code to do the muxing in PWM registers. So, lets club all
pinmux handling in the same per pin mux handling code.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-bm1880.c