Re: [RFC PATCH 3/7] i2c: allow DT nodes without 'compatible'

From: Rob Herring
Date: Wed Feb 26 2020 - 11:30:58 EST


On Thu, 20 Feb 2020 18:23:59 +0100, Wolfram Sang wrote:
> Sometimes, we have unknown devices in a system and still want to block
> their address. For that, we allow DT nodes with only a 'reg' property.
> These devices will be bound to the "dummy" driver but with the name
> "reserved". That way, we can distinguish them and even hand them over to
> the "dummy" driver later when they are really requested using
> i2c_new_ancillary_device().
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/i2c/i2c-ocores.txt | 1 -
> Documentation/devicetree/bindings/i2c/i2c.txt | 4 +++-
> drivers/i2c/i2c-core-base.c | 1 +
> drivers/i2c/i2c-core-of.c | 8 +++-----
> drivers/i2c/i2c-core.h | 1 +
> 5 files changed, 8 insertions(+), 7 deletions(-)
>

Acked-by: Rob Herring <robh@xxxxxxxxxx>