Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp626256ybz; Wed, 15 Apr 2020 15:24:35 -0700 (PDT) X-Google-Smtp-Source: APiQypJbCD8hgsUbK+bQoy7967Oicj8sgOp+YYE/mrsns+6Eorrdp9mINAHkybRsN6JTuR25S1ll X-Received: by 2002:a50:d0d5:: with SMTP id g21mr16412540edf.92.1586989475014; Wed, 15 Apr 2020 15:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989475; cv=none; d=google.com; s=arc-20160816; b=Q5CZO6+wYMqQiHWoCS7X5DT1dGiE7WVsHpSjxPnQAv3dTLgUjLfkAAVnX2lZPK++4N TSCpK8ElpazeXoA4GDuWmd+PXyuviZRzS5QWYJujXR0x3JA5fPvAb7pEuc9W/YK2FCIx A8SiSF+cb/QasvcQZjPV5YA/kJ/NXl1Ig1dZzU4tdQfbXUFPwAWLwVy6pHtqPOrS0jmW 69JCQGypMFNebrbG+pT9yVFvPVzRV4HpRaYQCCdfInxBHuw0SFnZU50MmSKt2fYcyJXC tXmp6ShDoqYGQfYeSlG12N0R1nu/lOWnB9kpN45zH6LCGiv7uAfDTi64UTvNCJP0Oihl VBfQ== 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=/qzTezsuKlNv5/Kcb9Ul9Bkm7wnQqPiOn8zH593ePRM=; b=hWsUykgZh24SgUQS4bH4eMCDnnybEe7nG2VUCaitZnzk8nR3UMabOnIYKvKP72Dp71 DE5xazwKH/N56NHDzfa9XSxxai0damiHTIbIT1cxnTAZnxsyH+5v49o/e96RrUGS0njp iA2esiCNzIg+X1PsmSHHO2Z+xPCIiKYnWgRaqly1RZn1T8NduVBypY7OrNd2LNO27hpt h981ucjBgb1qyqwgBYzy+oxTV4nvHOp7hkcTGyIYZzeeRqav8f4lTIzsdOWmLH1ITlRK K84Kac74XYf2GDpUzUSROs4dEAiCmoQtZDS3DFi78fp5jiuEQzoYfswhDW4mzFPQqeX1 Du0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv23si9698752ejb.330.2020.04.15.15.24.11; Wed, 15 Apr 2020 15:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393767AbgDOH7l (ORCPT + 99 others); Wed, 15 Apr 2020 03:59:41 -0400 Received: from sauhun.de ([88.99.104.3]:48470 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390630AbgDOH7S (ORCPT ); Wed, 15 Apr 2020 03:59:18 -0400 Received: from localhost (p54B33507.dip0.t-ipconnect.de [84.179.53.7]) by pokefinder.org (Postfix) with ESMTPSA id DD7442C1F58; Wed, 15 Apr 2020 09:59:14 +0200 (CEST) Date: Wed, 15 Apr 2020 09:59:11 +0200 From: Wolfram Sang To: Luca Ceresoli Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-i3c@lists.infradead.org, Kieran Bingham , Niklas =?utf-8?Q?S=C3=B6derlund?= , Jacopo Mondi , Laurent Pinchart , Vladimir Zapolskiy , linux-kernel@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: Re: [RFC PATCH v2 2/6] i2c: allow DT nodes without 'compatible' Message-ID: <20200415075911.GA1141@ninjato> References: <20200318150059.21714-1-wsa+renesas@sang-engineering.com> <20200318150059.21714-3-wsa+renesas@sang-engineering.com> <11ca7487-ac07-f714-8573-20d1a0040212@lucaceresoli.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <11ca7487-ac07-f714-8573-20d1a0040212@lucaceresoli.net> 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 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > As I said in the reply to v1, I think we should reserve addresses also > when there is a compatible string but no matching driver, but this is > another story and can be handled separately. Unless I misunderstand you, I think they do already. Note that only 'i2cdetect' shows a device as busy *IFF* there is a driver bound to it. The internal 'i2c_check_addr_busy' does not care about a driver being bound. You can check this by trying to use i2c_new_ancillary_device() with an address which is already described in DT but which driver is disabled. --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl6WvssACgkQFA3kzBSg KbYQ8hAAruiFHx6/xDYq9vD1D8WLWFXqoxuwD4NbJPlRSuzJvimBjPE7ynrPH4Ga S96O5ehETCXYz2yXLQmo1cwCbnIRo8W9kl+H/knosYOOdBd5jFpKNd7Z3+R2ldHL jr7z0qYXDcN+ErsIKUL4jJpmcSQL26GrNSmUFbadRvcsGDTq19Qwc+mhNx90oDyh xxb3RZs1cZWdkc+PygDNWwbh0dvbMHL0LBl6smJxf0z4wyVEx3YWxB4Rzfb4wVo6 HRr1Ubdz1sSGhxyJoZ1PZqQy7lrpg+vLNv+sYG5nrdPsX5KTXlKBXowdWHeSFlXv nZ2DtsHzwSzE2LaeY9HmlV9iZEFGD/21NQ+u5B5wxcV5EbPyPHeOLUXp2t+6gOLC TT5vjxshNUPKBYBC/XrPIPC8P08Ajp6+gzckYqLY2/E+Nzmv8akKSNq4+idrw+59 +Gj89nHXXzqSPMDUJ3XfMgLTQcRVNW46H+f6Ix+xwj/JuV1uR0XWELnn/cfH+Q7V rAuCawvjljjh/h9KfcHAbzpfCSkxXR4dYdKQGD8YeVCrQFvC5IMrZ/cwqF6W0Jj1 xJ5lngRYJsdqRc0Y2/rLpAae8UT54bzPbn4KFNCZ9LHx2Qx0dStIFhG+k927OlZe 6cDCHUXGwC4ypb0pJdeSxD8Y3rRe7GbHfawZkLzzl8z3OjQ3K54= =LEQy -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--