From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752145AbdIFIpE (ORCPT ); Wed, 6 Sep 2017 04:45:04 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:44051 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbdIFIo7 (ORCPT ); Wed, 6 Sep 2017 04:44:59 -0400 X-Auth-Info: IhOQ37PtcVpjcTEgQZiHZCV37scGaBq+Pgr94C0lj1I= Subject: Re: [PATCH] sound: soc: fsl: Do not set DAI sysclk when it is equal to system freq To: Fabio Estevam Cc: Nicolin Chen , Fabio Estevam , Timur Tabi , Xiubo Li , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "alsa-devel@alsa-project.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <1504436701-20700-1-git-send-email-lukma@denx.de> <07e54d28-3bbc-aad2-146b-30867c0bc337@denx.de> <20170905052031.GB2774@Asurada-CZ80> <819784e1-910b-6833-997a-2097e147bd0c@denx.de> <20170905181108.GB23906@Asurada-Nvidia> From: =?UTF-8?Q?=c5=81ukasz_Majewski?= Organization: DENX Message-ID: <62c203f0-4718-fc32-9054-771f265e3ef0@denx.de> Date: Wed, 6 Sep 2017 10:44:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, > On Tue, Sep 5, 2017 at 6:13 PM, Ɓukasz Majewski wrote: > >> &i2c1 { >> clock-frequency = <400000>; >> pinctrl-names = "default"; >> pinctrl-0 = <&pinctrl_i2c1>; >> status = "okay"; >> >> codec: tfa9879@6C { >> #sound-dai-cells = <0>; >> compatible = "tfa9879"; > > This codec seems to miss device tree support. Don't you need something > like this? > > --- a/sound/soc/codecs/tfa9879.c > +++ b/sound/soc/codecs/tfa9879.c > @@ -312,9 +312,15 @@ static const struct i2c_device_id tfa9879_i2c_id[] = { > }; > MODULE_DEVICE_TABLE(i2c, tfa9879_i2c_id); > > +static const struct of_device_id tfa9879_of_match[] = { > + { .compatible = "nxp,tfa9879", }, > + { } > +}; > + > static struct i2c_driver tfa9879_i2c_driver = { > .driver = { > .name = "tfa9879", > + .of_match_table = tfa9879_of_match, > }, > .probe = tfa9879_i2c_probe, > .remove = tfa9879_i2c_remove, > Maybe it should be added, but the driver is probed via I2C "node" in dts. I took the codec (tfa9879) driver as-is. -- Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de