Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2174183rwl; Mon, 26 Dec 2022 10:01:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXva1iH3MQmU9rfAwmg5oDKWimpnWTV+CfdlSXZb8tKQvrMAmPPIAsu+ivWAwccfjrDPwoFJ X-Received: by 2002:a17:906:9616:b0:78d:f457:108f with SMTP id s22-20020a170906961600b0078df457108fmr15689594ejx.76.1672077694811; Mon, 26 Dec 2022 10:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672077694; cv=none; d=google.com; s=arc-20160816; b=r9JEVf+GJk/xke2Olcp9DhUVnVJ2MtldHSYMVVIkKOBHPook0nt4+JiYX/zyu0neTP bibiUfy+J6+1mS5jvfyaV4hY2Yjppj+KAVuEEvQH2kGK6RqXXAxBZkHZ9wAY7X/h/H5b 7HzzJDuHnubdxERQYqXHGFboRczwXd6iAoiqfArbjQLZw1BKkTwRSqj2spWaZJDhbMgR GqcbFTDo4BehNvqAnwiNjsNa5wORcN41q4PZgunBo9+3dnF2JfnrVq77B7chOxRiI/al f9O4FA803CF/1BvI5rMBuEqkNynppFNYVHy+NUUk0NMw7ivjh2KQnJcyIenlFcdpKkMs TVfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E/p1iU2PEu4GBvT//AWlKtjkvDrerU0p2JsAPg9xTFw=; b=cHnN1gZzZzDFclj9ZSWN6MVSV2s8X+gOv/F9de6Cw08xy3ufqSPdLWstBkjANidSJu FVAatPSmsrTRTS7QRRJvNN+MT5Xg1JTS/TN2R92OJMPC0ttnGN8OfqlgyYR//sVYvJPK BLi/yIgGfNU+lSP0xtqSh3Pnh8DcmhyhRfvf/DNSwXTv7rGxjmwXeHrNNNmhZHZ4tvXB f3YKhZHljj5LW/bp2d6ScIsDXTG4S5HqNhJBYcALLf0LwVCVJijX26TAYn3D8fmXb93g LgMo+U0iSDoEJAsRcEmbfE1pY4n3VBIjY1VoXObQlZ9bKJqKvxfEfUUaqLNc9XTEcrV4 5uDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l9bvQ2ih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cz7-20020a0564021ca700b00486ac69b9f3si285470edb.327.2022.12.26.10.01.18; Mon, 26 Dec 2022 10:01:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l9bvQ2ih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231954AbiLZQ5u (ORCPT + 67 others); Mon, 26 Dec 2022 11:57:50 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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