Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp793304pja; Thu, 19 Mar 2020 11:02:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtMDx/H9JAKKCZKOkksud5hyvKI02yVhM39H41SVx/rWH+8lMUyPBW1tOruIPgyvUJyFyt+ X-Received: by 2002:aca:4d13:: with SMTP id a19mr3215875oib.105.1584640947788; Thu, 19 Mar 2020 11:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584640947; cv=none; d=google.com; s=arc-20160816; b=nHsQxM+8JMjVCN3uLb51a+YySgJR9Wobm35uhZUgl2H4p21p2xmCC2t+gk5KmjwPSw FF3tUwW7fgRkI8cL32VY6zZ+c98PUhJhZtVm6UevI+m50FQ3nAs4muB6Uy8BK48ztAXR jqnDB9vD3IMtOKyM88diePc8EyzFVpgJmSfPCFCaN3RZ7zE77LgvyxnHG5c4NYSQPrU+ PBmyQG2FlxfN+r4fbQSVBD8IuzmQpd7zV0+fRdbzDOJO/5Tfjb9/cCNUwEhnvu7CT5Gp WnMxfurf6TnInZp6P6UeqHB5VQ0g0uIh2ThM/kMUnZRDdoGhFC8eiLwebU4miAlffhPp qpHQ== 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:dkim-signature; bh=g8DxdF1eUir4a/8IWRaXQ6xtFJo8TZP/IjDpbNCtNF4=; b=A1VVw0M0pkac/7LbpsFB2kk2nG5V9xsp0psA5mB7eoOrPq6lnqUc3wDGDP7sWeZOpj zLecjIPDj4VkkcnHz0iTFBZQxWs7E9rwrsIWDBqtT1ess+Q7ASCPC2KAM6S5T3OQxKfz VATlh2dp7WMdWO1/rpeMZwmONaTgyEwvtLZL43LWfhQl9Qs5k+IJkch2YJ3mmcCEn6Tx W/Jl2qdAnPVc70+NIL0wLc/+fdKUF3cPiRI5p2ecSOVqlOUaWIqwdGQnfwlexKGRh5Nk xoKJ4qYfzbq+Mfn7j93UeXX8ySaiJRviduF/Nr2BRM9/JeOpxRRpQDhR0nOIsrtqXVCa zTbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l0WeQLfY; 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 f5si1463839otq.73.2020.03.19.11.01.53; Thu, 19 Mar 2020 11:02:27 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l0WeQLfY; 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 S1727212AbgCSSBe (ORCPT + 99 others); Thu, 19 Mar 2020 14:01:34 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:50338 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbgCSSBd (ORCPT ); Thu, 19 Mar 2020 14:01:33 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C8FDFA53; Thu, 19 Mar 2020 19:01:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584640891; bh=J0G9o/JIk2L9YAMrgEYnSflrJ+3mDjoCeRH1I4lPqik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l0WeQLfY4oPvGyf+T8Bwr1JXg9rF3wSCsAL/YwHYR/F4V+bPvcMIBVex2/JmFRkPq wH0uwGnyJ0/qvbpO0VFVj+sYnrBU90JDCIx7sBKD7tzafPZrokKyt3pDfmx4om2Nkv yNo/D2bEwfHVQcIjR59Xc9qhUHFpFJvvzC1CHe/o= Date: Thu, 19 Mar 2020 20:01:25 +0200 From: Laurent Pinchart To: Alex Riesen Cc: Kieran Bingham , Geert Uytterhoeven , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , Mark Rutland , Kuninori Morimoto , devel@driverdev.osuosl.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v2 07/10] dt-bindings: adv748x: add information about serial audio interface (I2S/TDM) Message-ID: <20200319180125.GJ14585@pendragon.ideasonboard.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 Alex, Thank you for the patch. On Thu, Mar 19, 2020 at 06:42:36PM +0100, Alex Riesen wrote: > As the driver has some support for the audio interface of the device, > the bindings file should mention it. While at it, how about converting the bindings to YAML ? :-) It can of course be done on top. > Reviewed-by: Rob Herring > Signed-off-by: Alexander Riesen > --- > .../devicetree/bindings/media/i2c/adv748x.txt | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/adv748x.txt b/Documentation/devicetree/bindings/media/i2c/adv748x.txt > index 4f91686e54a6..7d6db052c294 100644 > --- a/Documentation/devicetree/bindings/media/i2c/adv748x.txt > +++ b/Documentation/devicetree/bindings/media/i2c/adv748x.txt > @@ -2,7 +2,9 @@ > > The ADV7481 and ADV7482 are multi format video decoders with an integrated > HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB > -from three input sources HDMI, analog and TTL. > +from three input sources HDMI, analog and TTL. There is also support for an > +I2S compatible interface connected to the audio processor of the HDMI decoder. s/I2S compatible/I2S-compatible/ ? > +The interface has TDM capability (8 slots, 32 bits, left or right justified). > > Required Properties: > > @@ -16,6 +18,8 @@ Required Properties: > slave device on the I2C bus. The main address is mandatory, others are > optional and remain at default values if not specified. > > + - #clock-cells: must be <0> if the I2S port is used Wouldn't it be simpler to set it to 0 unconditionally ? Reviewed-by: Laurent Pinchart > + > Optional Properties: > > - interrupt-names: Should specify the interrupts as "intrq1", "intrq2" and/or > @@ -47,6 +51,7 @@ are numbered as follows. > TTL sink 9 > TXA source 10 > TXB source 11 > + I2S source 12 > > The digital output port nodes, when present, shall contain at least one > endpoint. Each of those endpoints shall contain the data-lanes property as > @@ -72,6 +77,7 @@ Example: > > #address-cells = <1>; > #size-cells = <0>; > + #clock-cells = <0>; > > interrupt-parent = <&gpio6>; > interrupt-names = "intrq1", "intrq2"; > @@ -113,4 +119,12 @@ Example: > remote-endpoint = <&csi20_in>; > }; > }; > + > + port@c { > + reg = <12>; > + > + adv7482_i2s: endpoint { > + remote-endpoint = <&i2s_in>; > + }; > + }; > }; -- Regards, Laurent Pinchart