From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F890C77B73 for ; Wed, 19 Apr 2023 07:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232081AbjDSHNr (ORCPT ); Wed, 19 Apr 2023 03:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbjDSHNp (ORCPT ); Wed, 19 Apr 2023 03:13:45 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B89959FB; Wed, 19 Apr 2023 00:13:43 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 603041BF211; Wed, 19 Apr 2023 07:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1681888422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xViPwui2V2INwWz4a6zCPiRO3Q6gRw7wmbsayresJqU=; b=YiK2JyXm5djqU98UUeEy4mY5W4C1ZjQjb9kt2r3nB382rkfXE8tprE5s/Df2bAvC5yF1AS T3bxp6b2wA8sOiAzwMP6kUpiU7d9PL7Lqvdyq8szL+IoA5DM2ZS/zcqFq7mmTqFHDxDK4Q zDuvpbev+AZgPCkJhJY+NrMDExi+lcrevlhRqHKS+VT0cFkBgh17x5rpkhKH8KZ6OgpmLo JioMwhqBWRCVkEz2/LtaJ4Ph7A/Q3kOBpHHskKcKdZ97vntv4iluVafIOcV9lbKH9B2k5Z 5OGm21FziLhEDKIcun4n7ukDSMI3J6p4gQFMQe/ZwHuvDo1xrInAGDOunsAd+Q== Date: Wed, 19 Apr 2023 09:13:36 +0200 From: Luca Ceresoli To: Wolfram Sang , Tomi Valkeinen Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Andy Shevchenko , Matti Vaittinen , Laurent Pinchart , Mauro Carvalho Chehab , Peter Rosin , Liam Girdwood , Mark Brown , Sakari Ailus , Michael Tretter , Hans Verkuil , Mike Pagano , Krzysztof =?UTF-8?Q?Ha=C5=82asa?= , Marek Vasut , Satish Nagireddy , Rob Herring , Laurent Pinchart Subject: Re: [PATCH v10 5/8] dt-bindings: media: add TI DS90UB960 FPD-Link III Deserializer Message-ID: <20230419091336.4e10ba65@booty> In-Reply-To: References: <20230222132907.594690-1-tomi.valkeinen@ideasonboard.com> <20230222132907.594690-6-tomi.valkeinen@ideasonboard.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Wolfram, Tomi, On Tue, 18 Apr 2023 15:06:10 +0200 Wolfram Sang wrote: > > + i2c-alias-pool: > > + $ref: /schemas/types.yaml#/definitions/uint16-array > > + description: > > + I2C alias pool is a pool of I2C addresses on the main I2C bus that can be > > + used to access the remote peripherals on the serializer's I2C bus. The > > + addresses must be available, not used by any other peripheral. Each > > + remote peripheral is assigned an alias from the pool, and transactions to > > + that address will be forwarded to the remote peripheral, with the address > > + translated to the remote peripheral's real address. This property is not > > + needed if there are no I2C addressable remote peripherals. > > After some initial discussion with Tomi on IRC, this question is > probably more for Luca: > > Why is "i2c-alias-pool" in the drivers binding and not a regular i2c > binding? Same question for the implementation of the alias-pool > handling. Shouldn't this be in the i2c-atr library? I'd think managing > the list of aliases would look all the same in the drivers otherwise? I think that this _was_ the plan, as it looks obviously cleaner, but then we agreed that we should remove the pool entirely, so I didn't bother moving it. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com