On 31/01/13 14:06, Florian Fainelli wrote:
Hello John,
On 01/31/2013 12:59 PM, John Crispin wrote:
[snip]
+
+struct ralink_pinmux gpio_pinmux = {
+ .mode = mode_mux,
+ .uart = uart_mux,
+ .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT,
+ .wdt_reset = rt305x_wdt_reset,
+};
It seems to me like the new convention for pinctrl/pinmux etc .. is to
actually create drivers/pinctrl/pinctrl-ralink.c and
drivers/pinctrl/pinctrl-rt305x.c, I guess this can be done later when
you come up with support for the other Ralink SoCs.
--
Florian
Hi,
pinctrl is bloat in this context. the pinmux breaks down to a single 32
bit register. i did not send the patch yet as i am wanting to make sure
it works on the new MTK7620 aswell.
John