Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1460531rwi; Thu, 3 Nov 2022 05:41:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6yKxkBYPXarsbKRtiWJUDuksfaHdWihrmtlC21X1Jh9KE7Un9X7khphV4TzbKldraLUv92 X-Received: by 2002:a17:90b:2643:b0:205:bd0d:bdff with SMTP id pa3-20020a17090b264300b00205bd0dbdffmr30100295pjb.99.1667479271590; Thu, 03 Nov 2022 05:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667479271; cv=none; d=google.com; s=arc-20160816; b=jjNYvpTLb0/YzH3Ao6nFQvpAq8FUmedCXzj5cKovR3QND1LquCA+3XmpJ2ivKS2NLt jKFD/Bf4A5oVEYtrdhtYi2KQNFVsD8zQpcqNJfDxsy9JLkGXBNcd3YfiAHFdMfgzoz+N ZVNDjcm/04fuzP+1HyG+PyuaXOOOWgTBn206xOLS1aJB6SItnKUgnFG16Km4vZ+WGzij gvcSECJMoYpASm1a2BjoegeKa6F12kCkG1Z8D+4yvJN16urJhWHg/gLkBq0jQkK93KQd t4cLzxNzXgs7sRQS/SLyVZyFY7oyIfvPPl5IOcwSbmD+BPBycfLhgrc+5s2VdBqwqWNq JGrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=stnJgYbmPb66NyB3e2h734TG+JGNVTlK6y1nB9eCBYA=; b=eQzdqto9zv5ZbIVRLrD3hPJ+tvVzpWqugxarwbKeM1emV1oo/Sd41lVUXjty7wBipm A6QIgEBbUlqtTvYCkjTa29KEBeuQXVjQ5pmQnzaAo7dpi1wgKHgL4KkegUjeB7uBbY0I WA7sSG4AkIF1c7uYNCtU3OM9oUlkMSDQtpR0uanmLyEsrrkU91j0ORrGsCVOu+Ok8F+V UnsvuyfGS9v0fWzGvuNQIvK1D160UULEq+HGBQlnhEd9m4L4bvp368SNn7DTDGZ2+BNo X73F+xVnl2NJ0zbmBNRDpmiG1h1T+qA3Hr/4f9z0r17syuxS8iVG8UsH4uluMzk5ra5f dt/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=fF+7EjKN; 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 20-20020a631754000000b0046abab88fd4si1080798pgx.161.2022.11.03.05.40.56; Thu, 03 Nov 2022 05:41:11 -0700 (PDT) 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=fF+7EjKN; 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 S231304AbiKCMcM (ORCPT + 97 others); Thu, 3 Nov 2022 08:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbiKCMcK (ORCPT ); Thu, 3 Nov 2022 08:32:10 -0400 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 0A475D2C2; Thu, 3 Nov 2022 05:32:09 -0700 (PDT) Received: from [192.168.1.15] (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 52556589; Thu, 3 Nov 2022 13:32:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1667478726; bh=FZxcUfj1FmCWOBQW7K09YPCKFrtHQ2cMQSFNaoj6FhU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fF+7EjKN0Av9s26q97YDm4yoKHJQ/b2KSUv1HNYppzCjQndL7NG8rqpqAbu44t1Eu q77HPEAbiynZzKAeVrrX4kBF8wYC3zJHpBiY2fSno6/UznCwqHDM+wr+tSnLs+mDHl otr+xHruNmFQfH5w/zH+WJtnUsj1nwaiuDD1oYhI= Message-ID: <8360ac8f-64aa-9edd-a110-903e734739f3@ideasonboard.com> Date: Thu, 3 Nov 2022 14:32:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v4 3/8] dt-bindings: media: add bindings for TI DS90UB960 Content-Language: en-US To: "Vaittinen, Matti" , Rob Herring Cc: "devicetree@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-media@vger.kernel.org" , Hans Verkuil , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Luca Ceresoli , Mark Rutland , Mauro Carvalho Chehab , Peter Rosin , Sakari Ailus , Vladimir Zapolskiy , Wolfram Sang , "satish.nagireddy@getcruise.com" References: <20221101132032.1542416-1-tomi.valkeinen@ideasonboard.com> <20221101132032.1542416-4-tomi.valkeinen@ideasonboard.com> <20221102172630.GA4140587-robh@kernel.org> <6c254d5f-9fa1-b06a-4edb-7e58e4b33101@ideasonboard.com> From: Tomi Valkeinen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 03/11/2022 14:13, Vaittinen, Matti wrote: > On 11/3/22 13:50, Tomi Valkeinen wrote: >> Hi Rob, >> >> On 02/11/2022 19:26, Rob Herring wrote: >>> On Tue, Nov 01, 2022 at 03:20:27PM +0200, Tomi Valkeinen wrote: >>>> + >>>> +  i2c-alias-pool: >>> >>> Something common or could be? If not, then needs a vendor prefix. >> >> I'll have to think about this. It is related to the i2c-atr, so I think >> it might be a common thing. > > I'd say this should be common. Where the i2c-atr properties should live > is another question though. If the I2C-atr stays as a genericly usable > component - then these bindings should be in a file that can be > referenced by other I2C-atr users (like the UB960 here). Yep. All the links, link, serializer and alias nodes/properties are new things here, and I guess these could be used by other deser-ser systems. That said, I don't have any experience with other systems. > // snip > >>>> + >>>> +          i2c-alias: >>> >>> Vendor prefix. >>> >>>> +            description: | >>>> +              The i2c address used for the serializer. Transactions >>>> to this >>>> +              address on the i2c bus where the deserializer resides are >>>> +              forwarded to the serializer. >>>> + >>>> +          rx-mode: >>> >>> Vendor prefix. And so on... > >> Yes, I totally missed these. > > > I think the i2c-alias might need to be common as well? Perhaps... I was also thinking that the serializer addresses could be taken from the i2c-alias-pool. But maybe that's not a good idea, as the serializer-access and remote-peripheral-access are a bit different (e.g. no ATR when accessing the serializer). And I was thinking that, at least here, the alias addresses can be "anything", so they could be reserved dynamically at runtime, without any predefined aliases. But that might be a bit confusing to the user. Tomi