Le 04/05/2013 15:30, Сергей Василюгин a écrit :
>
>
> 04.05.2013, 18:39, "John Crispin" :
>> Hi
>>
>> i just pushed a fix that addresses this problem properly ... (i hope)
>>
>
>
> + of_property_read_string(np, "ralink,uartmux", &uart);
> + if (uart) {
> + mode |= rt
04.05.2013, 18:39, "John Crispin" :
> Hi
>
> i just pushed a fix that addresses this problem properly ... (i hope)
>
+ of_property_read_string(np, "ralink,uartmux", &uart);
+ if (uart) {
+ mode |= rt_gpio_pinmux.uart_mask << rt_gpio_pinmux.uart_shift;
+ i
Hi John,
Thanks, I will try that.
-Michel
Le 04/05/2013 13:34, John Crispin a écrit :
>
> Hi
>
> i just pushed a fix that addresses this problem properly ... (i hope)
>
> John
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> h
Hi
i just pushed a fix that addresses this problem properly ... (i hope)
John
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Le 03/05/2013 13:26, John Crispin a écrit :
> On 03/05/13 13:14, Сергей Василюгин wrote:
>>
>>
>> 03.05.2013, 15:40, "Michel Stempin":
>>> The mask m is only null when there is no "ralink,uartmux" property defined
>>> in DTS.
>>>
>>> When the "ralink,uartmux" property is set to "gpio", m will be
On 03/05/13 13:14, Сергей Василюгин wrote:
03.05.2013, 15:40, "Michel Stempin":
The mask m is only null when there is no "ralink,uartmux" property defined in
DTS.
When the "ralink,uartmux" property is set to "gpio", m will be equal to
RT305X_GPIO_MODE_GPIO, i.e. all bits sets in the uart_ma
03.05.2013, 15:40, "Michel Stempin" :
> The mask m is only null when there is no "ralink,uartmux" property defined in
> DTS.
>
> When the "ralink,uartmux" property is set to "gpio", m will be equal to
> RT305X_GPIO_MODE_GPIO, i.e. all bits sets in the uart_mask, thus the proper
> way to do it
On 03/05/13 10:40, Michel Stempin wrote:
The mask m is only null when there is no "ralink,uartmux" property defined in
DTS.
When the "ralink,uartmux" property is set to "gpio", m will be equal to
RT305X_GPIO_MODE_GPIO, i.e. all bits sets in the uart_mask, thus the proper way to do it is to
co
The mask m is only null when there is no "ralink,uartmux" property defined in
DTS.
When the "ralink,uartmux" property is set to "gpio", m will be equal to
RT305X_GPIO_MODE_GPIO, i.e. all bits sets in the uart_mask, thus the proper way
to do it is to compare m against the uart_mask for equality.