From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C143EC433B4 for ; Thu, 8 Apr 2021 16:51:16 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10E10610A2 for ; Thu, 8 Apr 2021 16:51:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10E10610A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C5C7A846; Thu, 8 Apr 2021 18:50:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C5C7A846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1617900672; bh=5hxq1YMUZDXX38JDwpHyuOyvRSEhszi/jinSXWekPMc=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=jpR8o8gv/2nu8ZZYohbci5NY1TgsUvJw7r+r4Pczju+5eo8SbHKKfNIPJWxNu7TgS ytVdJVN44USIetFHoMLIlY2M32Ubrs4arnz34lLBU7cXw4ROBO0IQxSej2izPv44sY 4nS5eOT2rGGUVN/dLWrOjr2DLtt6iGUs+5idUoq8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2FCB6F80169; Thu, 8 Apr 2021 18:50:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 14993F800BD; Thu, 8 Apr 2021 18:50:20 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AD651F800BD for ; Thu, 8 Apr 2021 18:50:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AD651F800BD IronPort-SDR: gnbDlaVi/3Exu+4p538qIjfXHDYjEMW4sNo3CLElR9h4MofRfPQ5E9tUHvtNQk383fr/LNhPzV 52w5d/tbJM6A== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="191432989" X-IronPort-AV: E=Sophos;i="5.82,207,1613462400"; d="scan'208";a="191432989" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 09:50:12 -0700 IronPort-SDR: qhGfNQPzbPT4Bpj5N6nY7kXhlYa6xOT9K2uN5o+Q1n9jlekw2/HeLlHSSRRLbhWmbqlw3Zn/Wr GxqwN0gvYBTg== X-IronPort-AV: E=Sophos;i="5.82,207,1613462400"; d="scan'208";a="458899864" Received: from kritiaga-mobl.amr.corp.intel.com (HELO [10.212.59.29]) ([10.212.59.29]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 09:50:11 -0700 Subject: Re: [PATCH] ALSA: core - add more card sysfs entries To: Mark Brown , Jaroslav Kysela References: <20210408094314.1322802-1-perex@perex.cz> <20210408103819.GA40407@workstation> <45acc908-3603-3479-9fb2-5206339a9ace@perex.cz> <20210408120502.GA4516@sirena.org.uk> <56c874ae-e801-63df-19fa-a1325f6104ca@perex.cz> <20210408162250.GN4516@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: Date: Thu, 8 Apr 2021 11:50:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210408162250.GN4516@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Takashi Iwai , ALSA development X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" On 4/8/21 11:22 AM, Mark Brown wrote: >> Actually, the generic ASoC drivers are too much generic and they didn't >> provide a solid information about the hardware. > So if the information provided through the driver is too generic then we > should ideally be fixing those drivers/systems to do something sensible. > For the DT systems the generic cards have properties that let the system > just specify names directly so it will just be a case of setting them > properly and it should just be the x86 systems that are a problem. ACPI > is a bit of a lost cause here, most of the systems aren't interested in > supporting Linux in the first place and the idioms there aren't great, > but for DT it's reasonably tractable to push back on people if there's > issues and it's much more scalable to do that than telling individual > users to do that. Even in the DT case, you may be able to set a specific path for DSP firmware and topology but would you really have enough information to describe what the DSP firmware and topology actually do? That information is part of the DSP firmware manifest and topology. In addition, the firmware/topology are typically located on the file system, it'd be a hassle to have to edit DT properties every time you have a new distribution update, wouldn't it?