From patchwork Tue Sep 5 23:20:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9939789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 04D59604D3 for ; Tue, 5 Sep 2017 23:21:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA362289ED for ; Tue, 5 Sep 2017 23:21:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DED8828A23; Tue, 5 Sep 2017 23:21:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0829289ED for ; Tue, 5 Sep 2017 23:21:01 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 632F226735E; Wed, 6 Sep 2017 01:20:57 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5E7BB26735F; Wed, 6 Sep 2017 01:20:56 +0200 (CEST) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by alsa0.perex.cz (Postfix) with ESMTP id 6A1EE26734C for ; Wed, 6 Sep 2017 01:20:53 +0200 (CEST) Received: by mail-oi0-f48.google.com with SMTP id x190so17603069oix.3 for ; Tue, 05 Sep 2017 16:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=u8D3mJnGJ7i6z8tv9XbiveMX7iqg9fCsIbN3t77bKkI=; b=FG/VsLJKgzQf93O08VmAqRxF8af/SMZbHbiDownAidTtbnWfAxVFF9gRChVt7g3F8Z 57TfRfKpji/f3G4Cg4IpcYMtkjVU/+O86ygGsNi82/Cc8YK0ABlRflo7ru1xxAcHpPYi tDU8+FYM9fWs6fz3eDl99ymuI9tov1TVWX+C5tX1C4O+4jrGkVrCJJ2HRxVfMtgCXKaD T8ZsXXZAqxO0UNkfzeTEXXncyXKu9AgNeBt+DEQ43APdVLRlkfVllC/9HyzzIRcfQhFL ayPMIiRaIUlKK31ivbEvuoF+U7neCwokuChOlxXgPL+Iek857aOsPjqggGE2lUsKDvW2 +bwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=u8D3mJnGJ7i6z8tv9XbiveMX7iqg9fCsIbN3t77bKkI=; b=t4guTQYIrWzQEZwp133luXWoi4nenpfJT86RhpyJ2zSLoRAMTpOi7i60owR8t49Nzu qwSd2eYScBPjDs4aoIN9dAhPr2BSeOaX8w1KBYy829OIkHRNXeZCWT4Yxuy+T6DxASqi pUSvLmDzMmAMDBpqvbaWhoy/39AskV4gU0zWDt7hd4jdyi5BIYL7fHP+gK/7n3zgfOlQ 3L65fSuI/NN3Y3BF1Ll1Rsf37Rpy0SIThN5P6f74Dd97RPxwpNiH7c4oviWzRvfo/AvV DsZKItQ6B2LMKv0a2E/hjInT/I9JdjVnk0ZN1jhIFTWxqlsWumkIJSNUg7TT4ZBpN988 e9ww== X-Gm-Message-State: AHPjjUi71QocFxSQYScZEoc3qWlwt+1WotM4o01N3NagsiAytTEMsln0 pgBVEZ3yu8ZyTS74ZC+zCMvSMMAtnQ== X-Google-Smtp-Source: ADKCNb7o+eJi3uwaCUgrjtA1uOy9mgg05LyYehYeAkqOHBNW86Tjn8XAtd+rnriX7TVz1arp7ICrZx8Rp/D3vzFEiyQ= X-Received: by 10.202.197.149 with SMTP id v143mr1010783oif.104.1504653652199; Tue, 05 Sep 2017 16:20:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.176 with HTTP; Tue, 5 Sep 2017 16:20:51 -0700 (PDT) In-Reply-To: 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: Fabio Estevam Date: Tue, 5 Sep 2017 20:20:51 -0300 Message-ID: To: =?UTF-8?Q?=C5=81ukasz_Majewski?= Cc: "alsa-devel@alsa-project.org" , Xiubo Li , "linux-kernel@vger.kernel.org" , Takashi Iwai , Liam Girdwood , Timur Tabi , Nicolin Chen , Mark Brown , Fabio Estevam , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [alsa-devel] [PATCH] sound: soc: fsl: Do not set DAI sysclk when it is equal to system freq X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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,