Re: [PATCH] dt-bindings: serial: snps-dw-apb-uart: Simplify DMA-less RZ/N1 rule

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

 



Hi Wolfram,

On Thu, 10 Apr 2025 at 11:37, Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> > We don't allow "everything". Valid compatible values are checked by
> > the normal rules below.
>
> Why don't we use '{}' with all the bindings then? Would simplify so
> much. From the watchdog driver:
>
>
>       - items:
>           - enum:
>               - renesas,r8a7742-wdt      # RZ/G1H
>               - renesas,r8a7743-wdt      # RZ/G1M
>               - renesas,r8a7744-wdt      # RZ/G1N
>               - renesas,r8a7745-wdt      # RZ/G1E
>               - renesas,r8a77470-wdt     # RZ/G1C
>               - renesas,r8a7790-wdt      # R-Car H2
>               - renesas,r8a7791-wdt      # R-Car M2-W
>               - renesas,r8a7792-wdt      # R-Car V2H
>               - renesas,r8a7793-wdt      # R-Car M2-N
>               - renesas,r8a7794-wdt      # R-Car E2
>           - const: renesas,rcar-gen2-wdt # R-Car Gen2 and RZ/G1

[...]

The watchdog bindings do not have an extra rule that lists all
compatible values a second time.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux