>          SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2), 
>                    SUNXI_FUNCTION(0x0, "gpio_in"), 
>                    SUNXI_FUNCTION(0x1, "gpio_out"), 
> -                  SUNXI_FUNCTION(0x2, "pwm")),                /* PWM0 */ 
> +                  SUNXI_FUNCTION_VARIANT(0x2, "pwm",        /* PWM0 */ 
> +                                         PINCTRL_SUN4I_A10 | 
> +                                         PINCTRL_SUN7I_A20), 
> +                  SUNXI_FUNCTION_VARIANT(0x3, "pwm",        /* PWM0 */ 
> +                                         PINCTRL_SUN8I_R40)), 

I think driver not ready for this situation (2 pwm variants on 1 pin),
at least sunxi_pinctrl_desc_find_function_by_pin() function.
Since this function not perform match by variants.

BR
Siarhei

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to