Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp888116ybb; Fri, 20 Mar 2020 09:41:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsMR67eWrwpv/ZWtYTbGhKdRlvpNbEf5ep3fvWwjQve9oNAMEb9AVGvxDU96L3ehAc1HHKH X-Received: by 2002:aca:4e57:: with SMTP id c84mr6965789oib.148.1584722511256; Fri, 20 Mar 2020 09:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584722511; cv=none; d=google.com; s=arc-20160816; b=AoA5MyjdJP/BjdQB10SwDBHFPVxHLKSlva/bQS3dd1A+8toR31eEmymN3tPu+M4Bdr YBLNxQ20fkbfF9hql8TyMSnuaTXPbVC87XLsLRf70QtxR1g61yP13bssvEp2yHiofLS4 uXxcH/JTsMeevTTiutbMjsAao1r30lmnGrKoExlk4Nzh3PTjLB7qKY0z+WDiO4qIuBFa EzpNrVucE0hHZmROBICOmbPbbrkuheJsEm8smlVm07JIQe9xNunmoCgGPwWIRWQVl7lF E2BlvXyVmW0jXQGNm46PZBlLyJzbGMDep5F+VevIYjG6Xv0sQGSa/X9y8jD0YzIUxdaw Uz7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=Av9rylyuShyh0I+SjZNagBngVjzFw4MUlf7jEtbl27U=; b=fw+YBDXwA9tFFVtw989uXBSwS+xk7wt/zF9eAcZRPvkrRnnCPOtQJLdA1/9csKVhxP LoHiLDYZNoEtU/w3G77D4zsw+pGfVBVL1x1rlXrQe5lrpbXZkVe6alZzbILxpWXOPGag tX/lTXiiT8Ut8uy779wj3j0lO3YcNc9S+Tx84F6t2r0z3y/YgtcP5sI6CNmr4B8Q6jMV +p4zCCF2sSmX0cur07/JEZTWGwihp0vnwTeg34es0eCZ4Nx9pBLu58GoOsyTb5jhnPGu BBcqs8vafk8eA1C0KwC0IEhO3mQJMcuo94Tyg48csetBdhHb3vSbQsmrnI7EY8UGWL8Z TBfA== 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 g19si3445025otn.219.2020.03.20.09.41.38; Fri, 20 Mar 2020 09:41:51 -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 S1727522AbgCTQlA (ORCPT + 99 others); Fri, 20 Mar 2020 12:41:00 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:57943 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbgCTQlA (ORCPT ); Fri, 20 Mar 2020 12:41:00 -0400 Received: from mail.cetitecgmbh.com ([87.190.42.90]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N0FE1-1jS2Oc1aYJ-00xJPk for ; Fri, 20 Mar 2020 17:40:57 +0100 Received: from pflvmailgateway.corp.cetitec.com (unknown [127.0.0.1]) by mail.cetitecgmbh.com (Postfix) with ESMTP id 2E9386502D9 for ; Fri, 20 Mar 2020 16:40:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at cetitec.com Received: from mail.cetitecgmbh.com ([127.0.0.1]) by pflvmailgateway.corp.cetitec.com (pflvmailgateway.corp.cetitec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MabASmG0uCLe for ; Fri, 20 Mar 2020 17:40:56 +0100 (CET) Received: from pfwsexchange.corp.cetitec.com (unknown [10.10.1.99]) by mail.cetitecgmbh.com (Postfix) with ESMTPS id C82E564CB8E for ; Fri, 20 Mar 2020 17:40:56 +0100 (CET) Received: from pflmari.corp.cetitec.com (10.8.5.41) by PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 20 Mar 2020 17:40:56 +0100 Received: by pflmari.corp.cetitec.com (Postfix, from userid 1000) id 33D6A80505; Fri, 20 Mar 2020 17:12:04 +0100 (CET) Date: Fri, 20 Mar 2020 17:12:04 +0100 From: Alex Riesen To: Kieran Bingham CC: Geert Uytterhoeven , Mauro Carvalho Chehab , Hans Verkuil , "Laurent Pinchart" , Rob Herring , Mark Rutland , Kuninori Morimoto , , , , , Subject: [PATCH v3 08/11] dt-bindings: adv748x: add information about serial audio interface (I2S/TDM) Message-ID: <5e7da04cd003778cf525eac96d8bacdf4a245a13.1584720678.git.alexander.riesen@cetitec.com> Mail-Followup-To: Alex Riesen , Kieran Bingham , Geert Uytterhoeven , Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , 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 References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.8.5.41] X-ClientProxiedBy: PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) To PFWSEXCHANGE.corp.cetitec.com (10.10.1.99) X-EsetResult: clean, is OK X-EsetId: 37303A290D7F536A6D7660 X-Provags-ID: V03:K1:8Y745pdoH28M2HrAV7mYoMeSTsJLObM1DmquN/zMt9LOzW0YSxK rpW0Y9VexUPNJ69tbua8nb5ZiMR5wpkE9mdD42+a/AY6nF8qsU94P2sYCiyVU0GLdCAyWXJ 2m+4BComffRVAz+nmC46v4oC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gF7lCwwfUULdx/p89QTOY0c3b8+nngQEwChVcaIo3t0KL9c JbbhXy+RoH9KtGLe0R3M3ZMTaVTli4vc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As the driver has some support for the audio interface of the device, the bindings file should mention it. Signed-off-by: Alexander Riesen Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart -- v3: remove optionality off MCLK clock cell to ensure the description matches the hardware no matter if the line is connected. Suggested-by: Geert Uytterhoeven --- .../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..50a753189b81 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. +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> + 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>; + }; + }; }; -- 2.25.1.25.g9ecbe7eb18