Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1717094ybv; Fri, 21 Feb 2020 02:15:41 -0800 (PST) X-Google-Smtp-Source: APXvYqy7fxWdcDSBzyWe9eee1NA6H3PI5IfehAw8LH0zRh6PiyZjV4ta1irSS+CvaQkHL5/sUW3x X-Received: by 2002:aca:1c01:: with SMTP id c1mr1366162oic.18.1582280141465; Fri, 21 Feb 2020 02:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582280141; cv=none; d=google.com; s=arc-20160816; b=V/oGGa3yo5pPa4pL8dhAAvIPTJV7DJVhy6qWAyRu4J6cPXlSh4MyK77Mjo1UxzsLSn yfp3FWJzVkjoI0veFhsgffC6NzGXQ1MYwIFAyHzeqeuAoOrqyKk1xwKEG49YV4c4awM7 IaQOeflYvQJIywJv4dxNe2pOh+IZYkTQjih8l/UnmVprRWf9lDf6RmGOQSy4nlHxEfR2 eH0UAWWlqNEbPcmySzzyp/h/4BH5WvK/ril2Q/Gl/TJ9cV0Wa9wP0KBAHPFM5JCvRES3 p4VFeiljsIj7WuId4ojGPaXubtBHRlFp1KVWMwvNrQx+MPbRlLzrJAgVXEwGHH10dDry pZ0Q== 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=Nm8XPNj2T3vUB6cqjEXZ7nGfKAwujbY0F04qFgjkmjQ=; b=pFKVO1fG7CqCUp2Mwn0wAUIHHduv/jRWbEGSj8ZnEMYS4nak64woRONUWh0SDGz7Z/ rcEFK6MmbINBK2bErbn/SmOUG7lXF7kYmr0ZAeX34lhPwuiWZWPViR7DxLRzKSlMROKc 1iTXjjk+A6tTZhQBqTwq8WSsivqbFkFH9NERwFX/CPNWnFmn8k+BgeVyXX3fP7TuIhb8 sFwjNA+TZhsDNDo+dmrpyjC/YJUI9+uXtjLiZgUK4qPo+Dd++R2yUfI6ZjhkQpnMhJHD 6dGnNK8wUXEfy2YqnK0iMLrDBBRT78eGzzh9kiZBUwp8/GcNISfp7EZqUs6ZQrcRot4U 7Jbg== 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 l10si1226539oth.243.2020.02.21.02.15.29; Fri, 21 Feb 2020 02:15:41 -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 S1728438AbgBUKPQ (ORCPT + 99 others); Fri, 21 Feb 2020 05:15:16 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:45578 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgBUKPQ (ORCPT ); Fri, 21 Feb 2020 05:15:16 -0500 Received: by mail-oi1-f195.google.com with SMTP id v19so1056614oic.12; Fri, 21 Feb 2020 02:15:15 -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=Nm8XPNj2T3vUB6cqjEXZ7nGfKAwujbY0F04qFgjkmjQ=; b=onf6TzsxkuQX0Qdyn7t6WtQrYqrNuphUmDfj1EhNUHjloyJWP22lH44ncf0P+hh1dr Mdx1MYQRaPZm4lGmu3+adul7nAcoqOsJlIJf5Xjyya6XDEA+uP1NfD1TD7SBH8EbjeGu /xL0VRjLsyIXnH9uG//k5f4XFFlP0dB5ognc6p1/0l90TAV74f+Hujf3S/MJlD56nFNt uooyncTA4zQqxeqg1N2AsgEbfnQ8vLGTHy3x6MIgyKgm/Vabl7Yykr/Dd4Gjiw9VoZBx g41V1Attidib9h91uUaE8KLjWACWSbAgtIWjL2lIemh+UKNiB4BV60amnxOr0LMPGeEE j5oQ== X-Gm-Message-State: APjAAAWdz85Sz+vezvg3tmP72yvx3XMDH7JGJd3HL4CYYYltf9nWw3ri fYNP6ZGtd3WUzi8xImCHmzkGtrWksZzLS49qbLk= X-Received: by 2002:aca:c4d2:: with SMTP id u201mr1394043oif.54.1582280115669; Fri, 21 Feb 2020 02:15:15 -0800 (PST) MIME-Version: 1.0 References: <20200220172403.26062-1-wsa+renesas@sang-engineering.com> In-Reply-To: <20200220172403.26062-1-wsa+renesas@sang-engineering.com> From: Geert Uytterhoeven Date: Fri, 21 Feb 2020 11:15:04 +0100 Message-ID: Subject: Re: [RFC PATCH 0/7] i2c: of: reserve unknown and ancillary addresses 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 Hi Wolfram, On Thu, Feb 20, 2020 at 6:26 PM Wolfram Sang wrote: > One outcome of my dynamic address assignment RFC series[1] was that we > need a way to describe an I2C bus in DT fully. This includes unknown > devices and devices requiring multiple addresses. This series implements > that. > > Patches 1+2 do some preparational refactoring. After patch 3, we can > have child nodes with an address, but no compatible. Those addresses > will be marked busy now. They are handled by the dummy driver as well, > but named "reserved" instead of dummy. Patches 4+5 are again some > preparational refactoring. After patch 6, all addresses in a 'reg' array > are now blocked by the I2C core, also using the dummy driver but named > "reserved". So, we can have something like this: > > dummy@13 { Hence should that be "reserved@13"? > reg = <0x13>, <0x14>; > }; 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