[U-Boot] [PATCH 1/2] ns16550: update compatible and reg-shift binding
Stephen Warren
swarren at wwwdotorg.org
Fri Dec 11 16:42:42 CET 2015
On 12/11/2015 12:08 AM, Thomas Chou wrote:
> Hi Stephen,
>
> On 2015年12月11日 13:35, Stephen Warren wrote:
>> On 12/10/2015 10:08 PM, Thomas Chou wrote:
>>> Update compatible and reg-shift in device tree binding.
>>
>> Has this change been submitted to and accepted by the Linux kernel?
>> That's where the official DT binding documents are stored. Honestly I
>> think we should remove the copies in U-Boot to avoid confusion and
>> forking.
>>
>> The content of the change looks reasonable at a quick glance.
>>
>
> These changes actually came from Linux kernel. They are scattered in
> several files. I included only those are prevalent to u-boot.
>
> 8250.txt
> - compatible : one of:
> - "ns8250"
...
>
> omap_serial.txt
> - compatible : should be "ti,omap2-uart" for OMAP2 controllers
...
>
> snps-dw-apb-uart.txt
> - compatible : "snps,dw-apb-uart"
> - reg-shift : quantity to shift the register offsets by. If this
> property is not present then the register offsets are not shifted.
If we are going to have DT binding definitions in U-Boot, we should at
least keep the directory structure, filenames, and file content
identical to the bindings in the Linux kernel.
More information about the U-Boot
mailing list