Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp44156ybf; Wed, 26 Feb 2020 08:31:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwyTq9RCFmyygcxXpH33wu/0NW2ra+dd8JOf8wuKO29BetDm/ntvJrnFyY2EJsxvpQtglrZ X-Received: by 2002:aca:d954:: with SMTP id q81mr3807711oig.157.1582734717861; Wed, 26 Feb 2020 08:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582734717; cv=none; d=google.com; s=arc-20160816; b=Gx/O002OjbmHZ907OQ7lWvMbwu+jOVyAxQnAAPgax9LfFVKqzjbWeptHjEafabW5ma qevbe2fjAnZZVxsleSGby/PhMSA6+KAgEYhjxyyI0Uh5twxWIfwoREvfV+bDpXh+n0AU lri7IUKS1pXYGxdkV6jTg37wdRR8EEE+YvyVTGA89UODJGN+kqZe3VCaLhWx4n310vPF sybuA86Up5vrMLCM0+14RgERGcszijewowRyJ1hnsWIly93p8AWaZOkVrjZBeZCtDSI9 8MEy33/zrZXtJ85hUCnD6MkWqjrT3HX7+jaGJkt8sllm91/sLxF02HOI4iRiKPO9nosJ Ex+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ACI9a0q/BgBWalLw0K2YIrmMcsUsmnK2gwfSs/vtPsM=; b=ZsrQ98BX9crwMQiUl6WWhQM/z0nX5jcnuu0pT9Qk8CGy1jIsefzVWaNDdNiYJlQVVe kb60fHtPlwzOwwDkYtoYJGjHPOEf8r8MC2RKgSYV9ilGUtrB1FabqILqSY32i3LCuhqW V6mKaZya0s/wVzlloGta0MQQEy/bii8A/IEkUUtYiLEiLBSEuEL9zRwOd5RS7pf+48eH D/zlITrRYSWDVfg94xXkWZj33mdtPXbdjlqsfM4U68Adx1AVKEzhy4QEooteHQDsZ3wm /OxelYtmjUcAKUq857K4MhMvFN2/4TY6klfIyo282wUNDZyjcx7ZZlj+Bjks7rK7ENnW 2SRQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si34124otq.210.2020.02.26.08.31.41; Wed, 26 Feb 2020 08:31:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727709AbgBZQa5 (ORCPT + 99 others); Wed, 26 Feb 2020 11:30:57 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:40833 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgBZQa4 (ORCPT ); Wed, 26 Feb 2020 11:30:56 -0500 Received: by mail-oi1-f196.google.com with SMTP id a142so79450oii.7; Wed, 26 Feb 2020 08:30:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ACI9a0q/BgBWalLw0K2YIrmMcsUsmnK2gwfSs/vtPsM=; b=a4uMtxyJ8IeuixiuhCZfXkR5LESIy/KizK7mCbkMPvJuS08MHSVWMX/OG34Ojl8FPz 7IaRWLRWp4kqROXlyQ6BPvgID46inDRzrlYtIKhd3yRI9/XwWsYhqNyeXWvNGglUkdGz Jiotf9/+iHBMWdyu3oK/Qk6+th6Ph2fqHSjenDN3ipEwhWVwjELABY5Cs7EtXgBIn5zR W513jzd9KSAvAEq1Fh6bxOfnApYezJ3srghIp644RADyhcTYBJd2lODVFfJHhE3rn/wu idab83vrmCQJWz/I5vn/KmrNbZWDeYddC67xEswzOSom4E+ha95g8oF+VnSXzRWIFIU2 mDjQ== X-Gm-Message-State: APjAAAVj0hZkkrN77P4Xtw08YI0CzEstEcMkFmqSb4agMrorIjmDlrAF h3dGWbmXjE107GXTOhwkfaTUpOSt7g== X-Received: by 2002:aca:4d06:: with SMTP id a6mr3839205oib.27.1582734655656; Wed, 26 Feb 2020 08:30:55 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id n19sm951525oig.57.2020.02.26.08.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 08:30:55 -0800 (PST) Received: (nullmailer pid 26591 invoked by uid 1000); Wed, 26 Feb 2020 16:30:54 -0000 Date: Wed, 26 Feb 2020 10:30:54 -0600 From: Rob Herring To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-i3c@lists.infradead.org, Kieran Bingham , Niklas =?iso-8859-1?Q?S=F6derlund?= , Luca Ceresoli , Jacopo Mondi , Laurent Pinchart , Vladimir Zapolskiy , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Wolfram Sang Subject: Re: [RFC PATCH 3/7] i2c: allow DT nodes without 'compatible' Message-ID: <20200226163054.GA26533@bogus> References: <20200220172403.26062-1-wsa+renesas@sang-engineering.com> <20200220172403.26062-4-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200220172403.26062-4-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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