Re: [PATCH 01/22] dt-bindings: Permit platform devices in the trivial-devices bindings

From: Rob Herring
Date: Fri Mar 06 2020 - 08:57:06 EST


On Fri, Mar 6, 2020 at 6:48 AM <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> From: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
>
> Indeed there are a log of trivial devices amongst platform controllers,
> IP-blocks, etc. If they satisfy the trivial devices bindings requirements
> like consisting of a compatible field, an address and possibly an interrupt
> line why not having them in the generic trivial-devices bindings file?

NAK.

Do you have some documentation on what a platform bus is? Last I
checked, that's a Linux thing.

If anything, we'd move toward getting rid of trivial-devices.yaml. For
example, I'd like to start defining the node name which wouldn't work
for trivial-devices.yaml unless we split by class.

Rob