Re: [PATCH 3/4] doc: uartlite: Add binding for the driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-07-04 00:42, Rob Herring wrote:
On Wed, Jun 27, 2018 at 05:53:44PM +0530, Shubhrajyoti Datta wrote:
+
+Optional properties:
+- port-number          : Set Uart port number

Nope. Use aliases.

You may not like the current implementation, but that is no reason to deny
this documentation of the current state.

Personally I don't get this preference for aliases. It is a one way mapping in the wrong direction if you ask me. If e.g. you have serial0 pointing to a 16550 it will give /dev/ttyS0. This prevents you to create /dev/ttyUL0,
because serial0 is already taken. Note that ttySx and ttyULx are in
different namespaces. It would only make sense if ttyULx was an illegal
name for a UART.

Maarten

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux