From patchwork Wed May 11 16:23:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 571526 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4AC69C433F5 for ; Wed, 11 May 2022 16:15:26 +0000 (UTC) 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 56056175C; Wed, 11 May 2022 18:14:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 56056175C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652285724; bh=hU7OYJ+Rk2Cj6LVXIJ9Gq9rqJjLgauw2fpSplAQ70m4=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=VTubqX/JxaO4SPgsDDMUPZ2zhbVP+TGlRgbkkgalBVX57RPlg8sIP+ebt6hkIkhw3 IJTwgDw1AWMSaXXFmiXwnIFpwAQjIQQOo0DDNfVrkTmjpk2xPZRpjYLAfvHxwd2RUa kPIerWJfEIzM20GVzGzlso/JitoTQMn338lMK6gI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D1B37F800BB; Wed, 11 May 2022 18:14:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 11734F8011C; Wed, 11 May 2022 18:14:32 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 EC630F8011C for ; Wed, 11 May 2022 18:14:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EC630F8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OYRAo4aP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652285670; x=1683821670; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hU7OYJ+Rk2Cj6LVXIJ9Gq9rqJjLgauw2fpSplAQ70m4=; b=OYRAo4aPb1rEqKHAmYvgCUf9fYUk62X8VHgH5JFuBfAlFW9Rh/OMKHok CM7cdncZRlxG8vbo1fkduGYp5FqXki9Piv6q3S0m/DQVcbb42pvS0zBCg 1sraeFm9J527kQOUT9aSOYrhhpuWoPFoliZ/cAt1iFh+GIleN2KIUoHVz 3Q5hHt+whnHbjiB1OQP00QXKnNoY2yIE+7INCp4tUmoz6JKXLuOpZm5X1 SPnh9PTdl+pxjU1Kad6iOitY9HrIrhT+X2RqMXlCH/S24zBeX40GXrT05 Yoj8UmTDSx82LBFjcxll9uvwfcOOFzIpQoAYnVktDCjP5cf2On7UrNoT7 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="269679926" X-IronPort-AV: E=Sophos;i="5.91,217,1647327600"; d="scan'208";a="269679926" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 09:14:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,217,1647327600"; d="scan'208";a="594209596" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by orsmga008.jf.intel.com with ESMTP; 11 May 2022 09:14:19 -0700 From: Cezary Rojewski To: alsa-devel@alsa-project.org, broonie@kernel.org Subject: [PATCH v2 00/14] ASoC: Intel: avs: Machine boards and HDA codec support Date: Wed, 11 May 2022 18:23:49 +0200 Message-Id: <20220511162403.3987658-1-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Cezary Rojewski , upstream@semihalf.com, kai.vehmanen@linux.intel.com, harshapriya.n@intel.com, rad@semihalf.com, pierre-louis.bossart@linux.intel.com, tiwai@suse.com, hdegoede@redhat.com, amadeuszx.slawinski@linux.intel.com, cujomalainey@chromium.org, lma@semihalf.com 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" This series focuses on populating boards/ subdirectory with supported configurations by the avs-driver. Note: it is independent of recently provided "Driver code and PCM operations" series [1], that is, code found here should not collide with it. Series starts with a small change that adds a helper to sound pcm header, allowing for retrieving string naming a direction without the need of substream pointer. Said helper is used by codec driver code that follows it but I believe it's generic and helpful enough that it can be called an independent addition to the sound core. Code for generic HD-Audio codec driver follows. It is a ASoC wrapper for existing HD-Audio codec code found in sound/pci/hda/. There is basically no custom logic involved up to the point that driver follows HDA_DEV_LEGACY convention, rather than the HDA_DEV_ASOC one. Commit message for the given patch iterates on this and explains crucial parts of the implementation.