Re: [PATCH v4 1/2] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-29 Thread Marek Vasut
On 11/28/20 2:13 PM, Lad Prabhakar wrote: By default on startup all the pin types are configured to PINMUX_TYPE_NONE (in sh_pfc_map_pins()), when pin is set as GPIO the pin type is updated to PINMUX_TYPE_GPIO. But the type is not updated when the pin is set as a function in

[PATCH v4 1/2] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-28 Thread Lad Prabhakar
By default on startup all the pin types are configured to PINMUX_TYPE_NONE (in sh_pfc_map_pins()), when pin is set as GPIO the pin type is updated to PINMUX_TYPE_GPIO. But the type is not updated when the pin is set as a function in sh_pfc_pinctrl_pin_set() or sh_pfc_pinctrl_group_set() calls