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 C5865C4332F for ; Mon, 26 Dec 2022 16:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231803AbiLZQ5t (ORCPT ); Mon, 26 Dec 2022 11:57:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232224AbiLZQ5Z (ORCPT ); Mon, 26 Dec 2022 11:57:25 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60F1D6178; Mon, 26 Dec 2022 08:57:00 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5B367A1C; Mon, 26 Dec 2022 17:56:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1672073818; bh=fZZ2n0rd138E8oEKuJwHSC4Pgm3dKoqGiKSjoCNDD2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l9bvQ2ihHTUcLDmF/e+LY/Rpzg1lgwBtW+G5q+0z4ezG5WAW9lUBnSx8CkvXJfcyp yC+yCUcoQztaQV+vn1Kn9KgaqcDKRLwVUtF+knF0mgjYu6jOJCBn+/mjS3zNKE0xfJ 3ob7MpatBWB7H2DlpKpuXHikw5KnCJ9ixh6TD3FA= Date: Mon, 26 Dec 2022 18:56:54 +0200 From: Laurent Pinchart To: 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 , Wolfram Sang , Luca Ceresoli , Andy Shevchenko , Matti Vaittinen , Mauro Carvalho Chehab , Peter Rosin , Liam Girdwood , Mark Brown , Sakari Ailus , Michael Tretter , Shawn Tu , Hans Verkuil , Mike Pagano , Krzysztof =?utf-8?Q?Ha=C5=82asa?= , Marek Vasut Subject: Re: [PATCH v5 7/8] media: i2c: add DS90UB913 driver Message-ID: References: <20221208104006.316606-1-tomi.valkeinen@ideasonboard.com> <20221208104006.316606-8-tomi.valkeinen@ideasonboard.com> <4d349785-ca37-d930-db3c-2581bba9fde0@ideasonboard.com> <7ddd576f-6e8a-7581-178c-2e8575227811@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7ddd576f-6e8a-7581-178c-2e8575227811@ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Tomi, On Wed, Dec 14, 2022 at 08:36:47AM +0200, Tomi Valkeinen wrote: > On 14/12/2022 08:29, Tomi Valkeinen wrote: > > >> wondering if the struct device of the DS90UB913 could be passed instead > >> of the port, to avoid passing the port throught > >> ds90ub9xx_platform_data. > > > > Interesting thought. That would limit the number of remote i2c busses to > > one, though. Not a problem for FPD-Link, but I wonder if that's assuming > > too much for the future users. Then again, this is an in-kernel API so > > we could extend it later if needed. So I'll try this out and see if I > > hit any issues. > > Right, so the issue with this one would be that it would prevent a > single device uses. E.g. a single chip which acts as an ATR (similar to > i2c-mux chips), i.e. it contains both the main and the remote i2c busses. I don't think I understand this, sorry. -- Regards, Laurent Pinchart