lkml.org 
[lkml]   [2022]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 3/4] Documentation: rs485: Mention uart_get_rs485_mode()
On Wed, Sep 28, 2022 at 2:05 PM Ilpo Järvinen
<ilpo.jarvinen@linux.intel.com> wrote:
>
> Add to rs485 documentation that serial core prepares the struct
> serial_rs485 when uart_get_rs485_mode() is called. Remove the wrong
> claim that driver must fill it by itself.

the driver

...

> The device tree can also provide RS485 boot time parameters
> - [#DT-bindings]_. The driver is in charge of filling this data structure
> - from the values given by the device tree.
> + [#DT-bindings]_. The serial core fills the struct serial_rs485 from the
> + values given by the device tree when driver calls uart_get_rs485_mode().

the driver

Feels like this should be before the previous patch and actually have
a Fixes tag.

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2022-09-28 13:15    [W:0.055 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site