From: Kuninori Morimoto Subject: Re: simle-card DT style for DPCM Date: Sun, 07 Sep 2014 17:20:36 -0700 (PDT) Message-ID: <877g1fotdd.wl%kuninori.morimoto.gx@gmail.com> References: <877g1o18ka.wl%kuninori.morimoto.gx@gmail.com> <20140901143047.GX29327@sirena.org.uk> <87mwaikdzx.wl%kuninori.morimoto.gx@gmail.com> <20140902113407.GV29327@sirena.org.uk> <87fvg97ecd.wl%kuninori.morimoto.gx@gmail.com> <20140905155513.GE29327@sirena.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by alsa0.perex.cz (Postfix) with ESMTP id A7A092610B1 for ; Mon, 8 Sep 2014 02:20:39 +0200 (CEST) Received: by mail-pd0-f176.google.com with SMTP id y13so1860506pdi.7 for ; Sun, 07 Sep 2014 17:20:38 -0700 (PDT) In-Reply-To: <20140905155513.GE29327@sirena.org.uk> 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 To: Mark Brown Cc: Linux-ALSA , Lars-Peter Clausen , Kuninori Morimoto List-Id: alsa-devel@alsa-project.org Hi Mark > > I wonder how to know it in driver ? > > (How to switch normal <-> FE/BE ?, and how to know FE or BE ?) > > Can you show me objectivization example / idea ? > > Surely we can just put a data table or two in there with all the routing > inside the IP in the same way that we handle routing within CODECs? It > doesn't seem like a fundamentally different problem. We can use this idea inside C code, then, we need decide to use it or not use it somehow ? We can do everything in C code, I have no concern about it. But, my main concern is that how to decide this switching from DT file. How to decide to use this "data table" ? Does this mean you can accept new compatible ? compatible = "simple-audio-card"; # normal simple-card compatible = "soc-audio-card"; # special sound card # we use DPCM this time Best regards --- Kuninori Morimoto