Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1692970ybv; Fri, 21 Feb 2020 01:49:03 -0800 (PST) X-Google-Smtp-Source: APXvYqxoBWWEtPNSzmKK4Qm7MTpX7Wxhq1ypIuFVO4Npg8ydCCvrbXMJJT2hmnxZehCktOMX9P2B X-Received: by 2002:a05:6808:315:: with SMTP id i21mr1198843oie.139.1582278543330; Fri, 21 Feb 2020 01:49:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582278543; cv=none; d=google.com; s=arc-20160816; b=t//t1D5FrHSwcInUt0iBCSVbsrg1F5NY77giDqibGHH306XFWHm0PUHPczPY6PmjnT o1MksHSXBHqMEvOF6em3atssk98cy7wKM1J/X77vk8VZagxK/5NWacv/vksKmsfx5hV9 icBsdiH+EhCYZsnK1zdrjh3n16TvqGeQUS9J+dRFnb7vmAtYVR4HhLYvBMn2Xl6uuYEd 1PXO5vzq8WyTww9D2+czDuE3w6kwBOYAEfqUn2HIiRf8140MtqxluQqub7X60sK8YFhy EOvJAok3i/1kSg4p9Drynghk71Srg7qUeEN4EeetBUAPDgnCtlCHU2cMprRRKVDekzG+ AgDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=uIi0c0G5Zb0Jw5ypN9sLASPQpOpXkoB2JbMIvsoRlKU=; b=jngraRr2hUob5eKHVOynx9DJdKD0MiHsbs8q1IjIIYuxF8KcFO2QUy/PKxNNQcmtJ8 sCfrM2QNOSbXv/xcjAi13oml8kr6VKo8h46vTdTM+ymoVJsvHOM9WMDqRxGE7C8TY8wo dGvzo3AeiJUbfrnyxZw4iit8o11AyjBmADt2/WHVn999ZvZLf99KN4SPB1HtPY+0dwnq jnWAdyhFLyD9GxZiLpy90y5ideNH+t/DJ5X1yJ4xNKNa0XLNFCoHn2tjLVNGEXwdksYy cCMm3+7nyWyUAJnXFvTA3XxBamoeimT/cDiCfWSx7PTmx/C2YgMtTA200f87H7kzfdZy HkTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si1209402ote.72.2020.02.21.01.48.50; Fri, 21 Feb 2020 01:49:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728299AbgBUJsk (ORCPT + 99 others); Fri, 21 Feb 2020 04:48:40 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:41351 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727142AbgBUJsk (ORCPT ); Fri, 21 Feb 2020 04:48:40 -0500 Received: by mail-ot1-f65.google.com with SMTP id r27so1455639otc.8; Fri, 21 Feb 2020 01:48:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uIi0c0G5Zb0Jw5ypN9sLASPQpOpXkoB2JbMIvsoRlKU=; b=UclMjFAuAV1kAwedwAHcV8UzQWdlayQz+SAZsLLuOeez26hKTozvjWe/1jiwfipf67 WpsRg+wL4q4vyukT6lcHN6/B5Qe1isJODO1u6yiZuH6o81LlzB0fHXmL2gpAvyzlS/iR QoLmBsvmGi7k/HOVD3SD+5lcBI88YVKF75W5wmMpK+TAFgrinaP0t50j6Q5Z9aQn1gkd pOEEyzPBh5AuvqiFOV3C2gjp0pgYsIg2A7Nker5ICYUZ/4LYFnKr1BYRuk90V46P7dA3 vNb8z26M/uIbfRqsS/gvckwl0IYzaxMuBSoLx9j71z79iOplVOe6yhVcQMRz5rj5XdKO oGwQ== X-Gm-Message-State: APjAAAV7UcncDfsQYtRGzXRfiSWQ4TpkLQLGIZSq5WQgL/IjctFDFcJz 550NfDeplfKfvXjk+Q/5eF77HHMipZRwlbTZz7I= X-Received: by 2002:a9d:7984:: with SMTP id h4mr27799290otm.297.1582278518775; Fri, 21 Feb 2020 01:48:38 -0800 (PST) MIME-Version: 1.0 References: <20200220172403.26062-1-wsa+renesas@sang-engineering.com> <20200220172403.26062-4-wsa+renesas@sang-engineering.com> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 21 Feb 2020 10:48:27 +0100 Message-ID: Subject: Re: [RFC PATCH 3/7] i2c: allow DT nodes without 'compatible' To: Wolfram Sang Cc: Linux I2C , Linux-Renesas , linux-i3c@lists.infradead.org, Kieran Bingham , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Luca Ceresoli , Jacopo Mondi , Laurent Pinchart , Vladimir Zapolskiy , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2020 at 10:45 AM Geert Uytterhoeven wrote: > On Thu, Feb 20, 2020 at 6:26 PM 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 > > Thanks for your patch! > > Reviewed-by: Geert Uytterhoeven FTR, depending on the extra dummy removed. > but one question below. > > > --- a/Documentation/devicetree/bindings/i2c/i2c-ocores.txt > > +++ b/Documentation/devicetree/bindings/i2c/i2c-ocores.txt > > @@ -50,7 +50,6 @@ Examples: > > reg-io-width = <1>; /* 8 bit read/write */ > > > > dummy@60 { > > - compatible = "dummy"; > > reg = <0x60>; > > }; > > }; > > There's a second instance to remove 18 lines below. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org 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