Re: [PATCH 14/17] arm: boot: dts: Add PLX Technology OX810SE dtsi

From: Arnd Bergmann
Date: Thu Mar 03 2016 - 07:15:54 EST


On Thursday 03 March 2016 12:40:07 Neil Armstrong wrote:
> +
> + aliases {
> + serial0 = &uart0;
> + serial1 = &uart1;
> + serial2 = &uart2;
> + serial3 = &uart3;
> + gpio0 = &gpio0;
> + gpio1 = &gpio1;
> + };
>
Please put the aliases in the per-board file and list only the
devices that are actually connected (in case of uart)

> + uart0: uart@200000 {

Make this serial@200000, to follow the standard naming convention

> +
> + reset: reset-controller {
> + compatible = "plxtech,nas782x-reset";
> + #reset-cells = <1>;
> + };
> +
> + stdclk: stdclk {
> + compatible = "plxtech,ox810se-stdclk", "plxtech,nas782x-stdclk";
> + #clock-cells = <1>;
> + };
> + };

Please change the compatible strings to have no 'x' wildcards in them, but
instead use a specific model.

Regarding the vendor prefixes, my understanding is that "ox810se" was the name
of the chip from Oxford Semiconductor, while nas7820 is a product name from
PLX. I think it would be logical to use "oxford" as the vendor prefix
for anything with a ox810se or ox820 ID in it rather than plxtech.

Note that both of them are now historic, as PLX itself got bought by
Avago and they seem to be discontinuing both the PLX and Oxfor brand
names.

Arnd