Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5365083imd; Tue, 30 Oct 2018 16:42:34 -0700 (PDT) X-Google-Smtp-Source: AJdET5d9LvwOyq2d5WbTPTsU5GR+002rtpwMe9JfhqQ8mlVFOd4NPnE6JHsdBEvwiOuampSxG0px X-Received: by 2002:a17:902:82ca:: with SMTP id u10-v6mr770395plz.146.1540942954587; Tue, 30 Oct 2018 16:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540942954; cv=none; d=google.com; s=arc-20160816; b=VQfkrSMSa3xtv5VkEPPUzfOCieoZxMPNpJx+K9pzrJpCZbVFfzW9njnPEfgOpNKCmQ ZQ7oz9YqWxaeH7K1rIcmKcLhF6tNDoiuCOxuNgpvZmiJU+JZlZCRRORxnwZAIXx/CsTd r77ZyN3mLq9Ssmd9hqe+0FMx8H23gm1lGErrkabOPSBXxdjRkblJFa17V+JWq5WlSwME IdA42yQNB2I/jZfqNm4j+1iAOhAu6ogr5m5jHrtJlhd2LG8I8Y8DHHaQXQpLFJmGVj43 e4/wiz81l2JapFUFsBkb0J5VfVRSvGLUxMpF/ZHXOgrKhpALJf3rbK+p9Y7ImS1Luqxq MI2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=wofAd0NBz3n6giLuNAnfqJDhco8Pe2/WDxIV1YRGvBE=; b=CK8lH2A3MztaC0KAP/CUHSes9GBCFLkoSCsEqeEzgVWh/FPHGxUP1uuvNTN1GE+w8E DmFTLW9axqECqV/wSLacL7ATGfIujzz0J7aIALjHIJh8zXiQvC9FOum3lnZzU/WQFpjc ksfV7+hidmx/fpARujqvaaB8BalnRKhVM++wlsrGMFvJgIne5p4DbKQfU5dzMZJaynVk ja9FVXmB5UC36+u/KMxo6HM0ffpptO5NwxML40xRUyc1PYVvwjYo7q2GuJW4GYu5oHQr flC5iQ5u29fTUeVIJdLPp+ZsunYXzj4mq0Of8Wdv4u5pZQjl6LufdL9tCFfaUHgGb/S1 KIlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73-v6si24010679pfs.7.2018.10.30.16.42.18; Tue, 30 Oct 2018 16:42:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728641AbeJaIgm (ORCPT + 99 others); Wed, 31 Oct 2018 04:36:42 -0400 Received: from mleia.com ([178.79.152.223]:43290 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726908AbeJaIgl (ORCPT ); Wed, 31 Oct 2018 04:36:41 -0400 Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id 56E7C428018; Tue, 30 Oct 2018 23:41:03 +0000 (GMT) Subject: Re: [PATCH 1/7] dt-bindings: mfd: ds90ux9xx: add description of TI DS90Ux9xx ICs To: Luca Ceresoli , Lee Jones , Rob Herring Cc: Linus Walleij , Marek Vasut , Laurent Pinchart , Wolfram Sang , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Sandeep Jain , Vladimir Zapolskiy References: <20181008211205.2900-1-vz@mleia.com> <20181008211205.2900-2-vz@mleia.com> From: Vladimir Zapolskiy Message-ID: <8ae609a1-f3ce-e216-d572-bf509ca482f9@mleia.com> Date: Wed, 31 Oct 2018 01:40:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20181030_234103_377943_DEE731D3 X-CRM114-Status: GOOD ( 18.75 ) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luca, thank you for review, please find my comments below. On 10/30/2018 06:43 PM, Luca Ceresoli wrote: > Hi Vladimir, > > On 08/10/18 23:11, Vladimir Zapolskiy wrote: >> From: Sandeep Jain >> >> The change adds device tree binding description of TI DS90Ux9xx >> series of serializer and deserializer controllers which support video, >> audio and control data transmission over FPD-III Link connection. > [...] >> +Example: >> + >> +serializer: serializer@c { >> + compatible = "ti,ds90ub927q", "ti,ds90ux9xx"; >> + reg = <0xc>; >> + power-gpios = <&gpio5 12 GPIO_ACTIVE_HIGH>; >> + ti,backward-compatible-mode = <0>; >> + ti,low-frequency-mode = <0>; >> + ti,pixel-clock-edge = <0>; >> + ... >> +} >> + >> +deserializer: deserializer@3c { >> + compatible = "ti,ds90ub940q", "ti,ds90ux9xx"; >> + reg = <0x3c>; >> + power-gpios = <&gpio6 31 GPIO_ACTIVE_HIGH>; >> + ... >> +} > > Interesting patchset, thanks. At the moment I'm working on a driver for > the TI FPD-III camera serdes chips [0]. At very first sight they have > many commonalities with the display chipsets [1] you implemented. Did > you have a look into them? Do you think they could be implemented by the > same driver? Absolutely, I believe that it should be no more than a matter of adding the correspondent data fields to describe IC specifics to the set of the published drivers. In general, and from my experience, there is no big difference between camera and display ICs from the series, my understanding is that it's just a marketing or common usecase difference. > > The camera serdes chips lack some features found on the display chips > (e.g. audio, white balance). OTOH they have dual or quad input > deserializers, which adds complexity. For what it's worth the shown core drivers support DS90Ux940 (2 mutually exclusive links, the support is already added to the series of drivers) and DS90UB964 (4 parallel independent links) ICs, both deserializers are used in connection to camera sensors. So, the short answer is that multi-link ICs are also well supported, and my intention is to push the essential core drivers firstly, then add remarkably more trivial DRM and V4L2 drivers as cell drivers. > I'm commenting on the details in reply to the following patches > documenting the DT bindings. > Thank you for review, I'm planning to collect more review comments and publish v2 in about two weeks, any kind of essential rework is not expected, the selected design of having an MFD and the drivers are proven to be easily scalable, as usual any additional wanted features could be added later on. > [0] http://www.ti.com/interface/fpd-link-serdes/camera-serdes/overview.html > [1] http://www.ti.com/interface/fpd-link-serdes/display-serdes/overview.html > -- Best wishes, Vladimir