Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5522118ybe; Tue, 10 Sep 2019 05:11:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/Ay5qd5ENny4hn5jMrINDnifiJ5mzDVQlr9WhALXgzr3VurWd8BifDGkY0ae9kOWOfQGr X-Received: by 2002:a17:906:edcb:: with SMTP id sb11mr24197656ejb.144.1568117474799; Tue, 10 Sep 2019 05:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568117474; cv=none; d=google.com; s=arc-20160816; b=lpPrMuV8j/+WqFz1svjDvnR2gjxC5oUnuTaILsuI8sD8JRNJ7Vt+Hob20DI/g7/rEy mQjfZH+7m5PW+7o5FCJ6cLVB0QX0OMQNbOJYIzDIct8xlvjpMegdBcaK0cP6wuY9ZBWi +dsdgA8ngnjpDA9SXIz3emuP1/fHIQVhATQk1nco7x++N2l0mTdIqhA2s+F2SVn14ots FF3s1zwULBFhE6FafzbQW4d4m0mefu3sDky/QiqTXDgCrYbD12D/OndI1MyaHiwKc/eY J5/EtjrDlJKVLx31OTT6T16OWiTmUNlIp8Hwd9dJ6e4AILQFe5P1v1zxZ4fdWxXvKNJY ECRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Eif//Gigl4ma1rrlT4tRKNVmbyfNH4H8Q/LVTciEHGo=; b=J6MyuJLqywSyb+xwexdvoh7Vc0nMi2rNiN4jzGvfnObZefb4pf42aRuivjlg+WmOG6 cUoOQmDwN76u85EpVXLs8ceGGB1w9rE+oKscELM2TIM75EpQRl1weL5OouOiwpz4WWfw tG7TVYc2DcgLKTaeM2huG5c7O1mHLnnUr3AcPHv4zJBMh7OyOeRjvkthvLZxRB9JEaPU bbE8xjMNsWTsL7x9lhdGib9koBssEK13ZEbnZKd6ZZ57DuVEUcgdiXzPBSM9fSOGwJNE +hTbRT2xdjTg8UosQbF8iz5bDQIAMxULVTSCZy1+UJvCK8M+ousKzIvS1dFOJJIBd+Sz nWZw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si8965603ejx.208.2019.09.10.05.10.50; Tue, 10 Sep 2019 05:11:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391219AbfIJJnf (ORCPT + 99 others); Tue, 10 Sep 2019 05:43:35 -0400 Received: from mga07.intel.com ([134.134.136.100]:52456 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731809AbfIJJne (ORCPT ); Tue, 10 Sep 2019 05:43:34 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2019 02:43:33 -0700 X-IronPort-AV: E=Sophos;i="5.64,489,1559545200"; d="scan'208";a="178624836" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2019 02:43:29 -0700 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id 411A820A0F; Tue, 10 Sep 2019 12:43:27 +0300 (EEST) Date: Tue, 10 Sep 2019 12:43:27 +0300 From: Sakari Ailus To: Luca Ceresoli Cc: linux-media@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Wolfram Sang , Hans Verkuil , Laurent Pinchart , Kieran Bingham , Jacopo Mondi , Vladimir Zapolskiy , Peter Rosin Subject: Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer Message-ID: <20190910094327.GG5781@paasikivi.fi.intel.com> References: <20190723203723.11730-1-luca@lucaceresoli.net> <20190723203723.11730-4-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190723203723.11730-4-luca@lucaceresoli.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luca, On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: ... > +Device node example > +------------------- > + > +&i2c0 { > + deser: deser@3d { > + compatible = "ti,ds90ub954-q1"; > + reg-names = "main", "rxport0", "rxport1", "ser0", "ser1"; > + reg = <0x3d>, <0x40>, <0x41>, <0x44>, <0x45>; > + clocks = <&clk_25M>; > + interrupt-parent = <&gic>; > + interrupts = <3 1 IRQ_TYPE_LEVEL_HIGH>; > + reset-gpios = <&gpio_ctl 4 GPIO_ACTIVE_LOW>; > + > + i2c-alias-pool = /bits/ 16 <0x4a 0x4b 0x4c 0x4d 0x4e 0x4f>; > + > + gpio-controller; > + #gpio-cells = <3>; /* rxport, remote gpio num, flags */ > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + ds90ub954_fpd3_in0: endpoint { > + remote-endpoint = <&sensor_0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + ds90ub954_fpd3_in1: endpoint { > + remote-endpoint = <&sensor_1_out>; > + }; > + }; > + > + port@2 { > + reg = <2>; > + ds90ub954_mipi_out0: endpoint { > + data-lanes = <1 2 3 4>; > + /* Actually a REFCLK multiplier */ > + data-rate = <1600000000>; What is data-rate used for? Is it documented somewhere? Could you use link-frequencies property instead? It's defined in video-interfaces.txt. -- Sakari Ailus sakari.ailus@linux.intel.com