Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3038578lqp; Mon, 25 Mar 2024 18:10:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMJKYjYAcFGUHESm41jUIc/i+VLZ/3+4fipix027LzmzNdLO/TosJ8+ditF4Ie9HivUUb8GctZV7rg6h6kIMWs27BHdwtCTmFs/TV/wQ== X-Google-Smtp-Source: AGHT+IFtqpoOgT+S5tgTe+0M8xaZswtLpQJNTWCbkZIY60kL5MB7bUxFdeXwnM4xl7AqTIlKXCp5 X-Received: by 2002:a50:a416:0:b0:568:d5e7:37a1 with SMTP id u22-20020a50a416000000b00568d5e737a1mr5607852edb.36.1711415454233; Mon, 25 Mar 2024 18:10:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711415454; cv=pass; d=google.com; s=arc-20160816; b=cTxkjikxChOgV/xdW64v3NsMFGKnskIWcccXdFQBGvPJLjEONDS16Rug7KWnFg+NG+ eIZj7v9BemoRYkU7tKNegeMmNyr+J9t/cg+LS4cjY0A0J0wT8yVSaP7Wd4jy/PImWpJ2 uljIyBmEvxmFtGhhOTApJpsfcv6fCUx/un6w3Pqw/mwixgCNmfaO9dSOgA2i1Bv7VAVU AsIQcaZ/LpyEXQTJyWw1+PkpzPuC0bW+ZNO8mlJATequSbV42Z4Rx7KZI5hwAp6SHaJy yc9rD2Tob0KuiEX5y7C7YDi9jmWRk/S4kZ4/XpcfTqy5lsnYcB2FD5xDdV/WVNnQ/VMe CDCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DcJJFAvFNgGov/4m8WHopANvjqjwSGhV275a5yIY4fQ=; fh=6oy9jfJy8+AiL1bSP0U2AJJiP5oBj63l8sWrosFA4Ek=; b=AT0SYvMSq4WWXxL7c4N5v+TO4KY+1e6giVpY4s12ECSEcq+XPm9/BKP2jOUwggoq5G wJ/zCv6x5UUCBUrYHWbE4EPEGQw5FYj1Tb9SrRrx14LtaGMZalkHDuLpX7y4xCAFuA0s CB1FeAoFYFOYXCjsbtvEqczeMQaM8WkvJ2tPhL8ESFUVA686j3BAX7uV4bHRctYXPnUa t/E58xcU5KAo8UMvd8X7J6ngfEeAu3I/oEkW9yKyZYdjIzkdYN4NfFesw2dyLQ10vo1A xkV+qMnt6LG+ik/IaXmnY2P8Vj3kOZlfNM4FJmNqRsusR8hjiNGxJjZJNTBF44aM0qhW b7uA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="eFOl7/ao"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-118233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r20-20020aa7cb94000000b0056bda3a4ed1si2923804edt.529.2024.03.25.18.10.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 18:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="eFOl7/ao"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-118233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EFD7E1F60B0D for ; Tue, 26 Mar 2024 01:10:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E50AA1CAA8; Tue, 26 Mar 2024 01:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="eFOl7/ao" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5913F1CD15 for ; Tue, 26 Mar 2024 01:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711415429; cv=none; b=GFPiN5WZ0jtW+BRTSoQavk+zkoBxWH7gHTD44S5T5fP8+jTbTTWGJcjbpWWZAEgt/E6P66zu6HeUr2n+eB1W0GJOSG2R3iz8QRWCUiBH5P3F5Kf7jsE4G378pxdm4coqHKYG/yZ2XIqjXFRLBR4NWf375IoIoIFTEgWVoPos9Wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711415429; c=relaxed/simple; bh=cJiyIAQBpNmUSF/peX/Gx4HDeKXLD64I/ecuPB0wDZE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H2zCzap8diS3EhvpWkYAVj1+rHJBTtpPxOREKaQYQvAliRY+ygeTGKN6iK+9I0Mv7E3q6Bu25RZKbAafUtZKx7XVgdx7KL1lUBWBQ3sb3Ucb6zqgzCUZQDrTPBEfcQHoZRs5DGjjf9PcbPElqeyL9RPwGUTHjraqCGy4Fd0v9pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=eFOl7/ao; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42Q19Vj9042027; Mon, 25 Mar 2024 20:09:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711415371; bh=DcJJFAvFNgGov/4m8WHopANvjqjwSGhV275a5yIY4fQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eFOl7/aoQBppV2edZLUlziNWtJRhuuKXjbqjBluDsnZ6Cbbxe3RkyV/B5i0LFWi9/ c7Lk6xUnkEjqQ5XstIYdRonfIOmbU9r1d12xj5utM8xhbiPGu+sU/BSF5Pn9lOy66h aB7ZtkNpjoExKkJU0tczqigGURHldW0z8tOzFYNI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42Q19Vr0005124 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Mar 2024 20:09:31 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 25 Mar 2024 20:09:30 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 25 Mar 2024 20:09:30 -0500 Received: from lelvsmtp5.itg.ti.com ([10.250.165.138]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42Q19AY9120020; Mon, 25 Mar 2024 20:09:24 -0500 From: Baojun Xu To: CC: , , , , , , <13916275206@139.com>, , , , , , , Subject: [PATCH v1 3/8] ALSA: hda/tas2781: Add tas2781 SPI-based driver Date: Tue, 26 Mar 2024 09:09:00 +0800 Message-ID: <20240326010905.2147-3-baojun.xu@ti.com> X-Mailer: git-send-email 2.43.0.windows.1 In-Reply-To: <20240326010905.2147-1-baojun.xu@ti.com> References: <20240326010905.2147-1-baojun.xu@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add tas2781 spi support. Signed-off-by: Baojun Xu --- sound/pci/hda/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index f80663624..22cc5a6c9 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -202,6 +202,20 @@ config SND_HDA_SCODEC_TAS2781_I2C comment "Set to Y if you want auto-loading the side codec driver" depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_I2C=m +config SND_HDA_SCODEC_TAS2781_SPI + tristate "Build TAS2781 HD-audio side codec support for SPI Bus" + depends on SPI + depends on ACPI + depends on EFI + depends on SND_SOC + select CRC32_SARWATE + help + Say Y or M here to include TAS2781 SPI HD-audio side codec support + in snd-hda-intel driver, such as ALC287. + +comment "Set to Y if you want auto-loading the side codec driver" + depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_SPI=m + config SND_HDA_CODEC_REALTEK tristate "Build Realtek HD-audio codec support" select SND_HDA_GENERIC -- 2.40.1