Re: [External Email] Re: [PATCH v2 1/2] dt-bindings: serial: sc16is7xx: Add description for polling mode

From: Krzysztof Kozlowski
Date: Tue Jan 07 2025 - 08:39:32 EST


On 07/01/2025 09:49, Andre Werner wrote:
> Dear Krzysztof,
>
> On Tue, 7 Jan 2025, Krzysztof Kozlowski wrote:
>
>> On Mon, Jan 06, 2025 at 09:50:50AM +0100, Andre Werner wrote:
>>> Polling mode is enabled if the "interrupts" property is missing.
>>> Thus, this commit deletes "interrupts" entry from "required" section
>>> and adds a description for the fallback to polling mode at the
>>> "interrupts" entry.
>>
>> Can the device actually operate with interrupt line disconnected? I
>> skimmed through datasheet and they did not mention that as a valid
>> setup.
>
> For polling mode the datasheet said:
>
> In Polled mode (IER[3:0] = 0000) the status of the receiver and transmitter can be
> checked by polling the Line Status Register (LSR). This mode is an alternative to the FIFO
> Interrupt mode of operation where the status of the receiver and transmitter is
> automatically known by means of interrupts sent to the CPU.

I guess this would mean that line can be physically disconnected.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof