From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DCD1313E1B for ; Fri, 20 Feb 2026 13:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771592832; cv=none; b=F+iFOgJMf//fCd5wmTNFfeUlw4T0k06CYS66fzgR6CnX81yPC738Lrsryg1TAMj3GD7L+DPvwolXIvZYVb64oo/e0ReZ/+6qSXbigH7Ap5uPE6QlKx0WAvs2nyXn3q84hrET0AfOORskKb9zfh7geCQhCI4gGwXtVBnkItIxeN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771592832; c=relaxed/simple; bh=E1kDxW0McVUxAT9Q5uhi7OkBtj6DyOzeJfy70YrOl34=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ck2EfwRjj3TyqbMVBIv10ZZXRuVIML5KYwG39pipW2klishD9V6DZ7h53uBnsINSHVfM2hGcdLiagZB0eK3CMDmI7U6mbazVijUezEOiK5y0fanI3YokLn7//3GuNwIdWUNNH2oc1kaFwqZOKuiKvSJ5G1I/pe/eizC4pFIbrjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=cIhNC/ye; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="cIhNC/ye" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id B369D1A0A32; Fri, 20 Feb 2026 13:07:08 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 866E75FA8F; Fri, 20 Feb 2026 13:07:08 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9A7B110368D03; Fri, 20 Feb 2026 14:07:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1771592827; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=uo3FcRrNZvstHgRU0C+fsC99kQyzBJu/3TRSEsjzZcY=; b=cIhNC/yeyGEXOr8hB2fKyWRIDrhtrYhQ+Dn58LEK1mumw0PVrLrBtXKh81i0hWWmGhVz5G Wc37Fg22da2blWMSPFj40i6qmgd7HTiasomWmOje8YtFL3taQH85fr2wUwFo5ZlFQCrNgh 0nlS7XSUz1T/M5fZFOeQbsM3j3ilA4dSHxzbTuxgeoS07XLq2bJFYL6/t2OV0xDc52STBb U9SEvoBfDvxZyPrb1RxYQSwefDuHNKLPMKSh1JAsCx8+eYyMkCt6TRWD3tQ/2IoAwm+uII 7WWUAvEDo0rsDj9tvD9mvp/RoIS+3HhdPbQFGBf2a7Etoj9uT0u/QWkWCiR3tg== Date: Fri, 20 Feb 2026 14:07:03 +0100 From: Herve Codina To: Geert Uytterhoeven Cc: Linus Walleij , Rob Herring , James Hilliard , Krzysztof Kozlowski , linux-gpio@vger.kernel.org, Bartosz Golaszewski , Krzysztof Kozlowski , Conor Dooley , Alexander Stein , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: gpio: add gpio-aggregator binding Message-ID: <20260220140703.0ba7b435@bootlin.com> In-Reply-To: References: <20260211081355.3028947-1-james.hilliard1@gmail.com> <338e6575-ec44-4179-94af-9086a7ca79ac@kernel.org> <92359c6d-06ac-4f8d-baa5-6fa45a536455@kernel.org> <30026ed7-cd19-4be2-adbb-e8bb155a75b8@kernel.org> <20260212195423.GA787785-robh@kernel.org> <20260220091727.5330accd@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Hi, On Fri, 20 Feb 2026 10:15:59 +0100 Geert Uytterhoeven wrote: > Hi Linus, > > On Fri, 20 Feb 2026 at 09:35, Linus Walleij wrote: > > On Fri, Feb 20, 2026 at 9:17 AM Herve Codina wrote: > > > With nexus, you cannot translate &spi0. > > > > > > Also nexus works well when an index is involved. In other word, it works > > > well with phandle with args. > > > > > > i2c-bus = <&i2c0>; > > > > > > In this kind of of definition, no index are present. With nexus node, this > > > looks like > > > > > > i2c-bus = <&nexus>; > > > > > > How to handle multiple i2c busses with nexus node? > > > > Can't you just use the foo-n suffix trick from the pinctrl etc? > > > > my_nexus: nexus { > > gpio-map = <...>; > > interrupt-map = <...>; > > nexus_i2c0: i2c-bus-0 = <&i2c4>; > > nexus_i2c1: i2c-bus-1 = <&i2c6>; > > nexus_i2c2: i2c-bus-3 = <&i2c8>; > > }; > > > > &nexus_i2c1 { > > sensor@4c { > > .... > > }; > > }; > > > > Maybe it's not as elegant but I think it could work? > > Wasn't that already solved using i2c-parent, cfr. the connectors > discussion at last ELC-E? Well, I wouldn't say "solved". But yeah, the idea is i2c bus extension: https://lore.kernel.org/all/20250205173918.600037-1-herve.codina@bootlin.com/ https://lore.kernel.org/all/20250618082313.549140-1-herve.codina@bootlin.com/ When DT overlays enter in the loop, the main issue is to reference a symbol from the overlay. This issue led to DT addons to replace overlays: https://lore.kernel.org/all/de02ed8c-0176-4996-ad7a-680a2e115161@beagleboard.org/ All of these is really out of scope of this "dt-bindings: gpio: add gpio-aggregator binding" series. I am open to discuss nexus nodes, busses, DT addons but I don't thing this series is the right place to do this discussions and, on my side, I don't want to pollute James' work with all that stuff. Best regards, Hervé