Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2003944ybh; Sun, 8 Mar 2020 19:17:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsR0HjWVLzSCC6sghK5ObU23EDBOlbHsmQmtlgvnZKK5SEMhBYgHmE7xb3xaVDbp0l+mvsS X-Received: by 2002:a05:6830:13c4:: with SMTP id e4mr11633374otq.139.1583720256870; Sun, 08 Mar 2020 19:17:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583720256; cv=none; d=google.com; s=arc-20160816; b=TWrcAR0lOMkl6204UVj+idOH8gHUlFler8JolZOkatN380Zq6DYchwA7LJnzUn8eOv 8NeUPyL7y073i4Y3Ql5jj4mZgGDHr1nTdOyz9CE/eiBbC18lhkA3aqN8BBG7upLDz+dK y198/I1RqhfNjQEERrkAprOXZhlG+NUDzDlGvyphBs76CSP3yrQxizMS1GapODSWoFU4 TSM647kHyuPUIosVmaS5nNEsznuWGiNNdvVugFt3p51QCK2fQirVIrAkCdAh1XXOy4uI OK4a4kH+1vdXjmDkA7aubCNbRokC0/T20GdjHg88c7ACblIRN3q4gEIBAskO3At+b5An usPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=Uhlm/ff4uSFpsixKKEEynNzMUi/C5/u5RWuEwmWl3Js=; b=BLrAEL3CslLKy/cpICToJHGjUOexqJwnL6mhC8g0dGy5w8AEEbky8Hfwa9YAQgoxzh QPpKg/yybB8O5gFBxNTbFZbxGma0ksUQfc06j+4omq9lqEvEybQvpxI4CEI+y254JNaO jn333+G6tFzCRwMsrLFjyLbjexdDfw2J68FHQ2Ypj9zcwOr4ql5WZuFJKA0PExL1gQ4k ZHOolhO4TiFuUDqAoeh5Y0E33suV+sOPVLvDINq7V9XxiD7AqfZGQG2giHAEUHTlG3hv QTi/IvtU6d1DUkuTT7KCyW1lZSDsU0T8yI6wlHkT5Cj/1A31WJysyLi0rQR0u/83znVE xZfw== 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 e19si5481113otp.40.2020.03.08.19.17.24; Sun, 08 Mar 2020 19:17:36 -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 S1726556AbgCIBbE (ORCPT + 99 others); Sun, 8 Mar 2020 21:31:04 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:24988 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726346AbgCIBbD (ORCPT ); Sun, 8 Mar 2020 21:31:03 -0400 Date: 09 Mar 2020 10:31:01 +0900 X-IronPort-AV: E=Sophos;i="5.70,530,1574089200"; d="scan'208";a="41113966" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 09 Mar 2020 10:31:01 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 76F41400857C; Mon, 9 Mar 2020 10:31:01 +0900 (JST) Message-ID: <87r1y2wbze.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Laurent Pinchart Cc: Alex Riesen , Geert Uytterhoeven , Kieran Bingham , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , Mark Rutland , Driver Development , Linux Media , Linux Kernel , Device Tree , Renesas SoC Subject: Re: [PATCH 8/8] arm64: dts: renesas: salvator: add a connection from adv748x codec (HDMI input) to the R-Car SoC In-Reply-To: <20200306134546.GE4878@pendragon.ideasonboard.com> References: <20200302134011.GA3717@pflmari> <20200302150706.GB3717@pflmari> <20200302160906.GC3717@pflmari> <20200305143628.GB25741@pflmari> <20200306131632.GA4878@pendragon.ideasonboard.com> <20200306134154.GD27714@pflmari> <20200306134546.GE4878@pendragon.ideasonboard.com> User-Agent: Wanderlust/2.15.9 Emacs/25.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > > > Those clocks are part of the CSI-2 protocol and also don't need to be > > > explicitly controlled. As far as I can tell from a quick check of the > > > ADV7482 documentation, only the I2S MCLK is a general-purpose clock that > > > needs to be exposed. (snip) > > Do you know, by chance, which of the snd_soc* callbacks should be used to > > implement setting of the MCLK? The one in snd_soc_component_driver or > > snd_soc_dai_driver->ops (snd_soc_dai_ops)? > > > > Or how the userspace interface looks like? Or, if there is no userspace > > interface for this, how the MCLK is supposed to be set? Through mclk-fs? > > I'm afraid my knowledge of the sound subsystem is limited. Morimoto-san > is the main developer and maintainer of Renesas sound drivers. > Morimoto-sensei, would you have an answer to that question ? :-) In my quick check, it goes to AUDIO_CLKC. If so, you can update rcar_sound::clocks. &rcar_sound { ... - /* update to */ + /* update to , + * to */ clocks = <&cpg CPG_MOD 1005>, ... <&audio_clk_a>, <&cs2000>, - <&audio_clk_c>, + <&adv748x>, <&cpg CPG_CORE CPG_AUDIO_CLK_I>; Thank you for your help !! Best regards --- Kuninori Morimoto