[linux-sunxi] [PATCH] mailbox: sun6i-msgbox: Remove unneeded FIFO status check

2020-02-14 Thread Samuel Holland
A transmit FIFO can never be full, because the mailbox framework waits until mbox->ops->last_tx_done() succeeds before sending the next message. sun6i_msgbox_last_tx_done() ensures that the FIFO is empty. Since the extra check here is unnecessary, remove it. Signed-off-by: Samuel Holland ---

[linux-sunxi] Re: [PATCH v6 2/6] mailbox: sun6i-msgbox: Add a new mailbox driver

2020-02-14 Thread Samuel Holland
On 2/12/20 8:18 PM, Samuel Holland wrote: > Jassi, > > On 2/12/20 8:02 PM, Jassi Brar wrote: >> On Sun, Jan 12, 2020 at 11:18 PM Samuel Holland wrote: >>> >>> +static int sun6i_msgbox_send_data(struct mbox_chan *chan, void *data) >>> +{ >>> + struct sun6i_msgbox *mbox =

[linux-sunxi] Re: [PATCH v2 2/2] ARM: sun7i: dts: Add LVDS panel support on A20

2020-02-14 Thread Andrey Lebedev
On Fri, Feb 14, 2020 at 09:53:51AM +0100, Maxime Ripard wrote: > On Fri, Feb 14, 2020 at 10:43:58AM +0200, Andrey Lebedev wrote: > > On Fri, Feb 14, 2020 at 08:52:18AM +0100, Maxime Ripard wrote: > > > > > This will create a spurious warning message for TCON1, since we > > > > > adjusted the

[linux-sunxi] Re: [PATCH v2 2/2] ARM: sun7i: dts: Add LVDS panel support on A20

2020-02-14 Thread Andrey Lebedev
On Fri, Feb 14, 2020 at 08:52:18AM +0100, Maxime Ripard wrote: > > > This will create a spurious warning message for TCON1, since we > > > adjusted the driver to tell it supports LVDS, but there's no LVDS > > > reset line, so we need to make it finer grained. > > > > Yes, I can attribute two of