Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3038475lqp; Mon, 25 Mar 2024 18:10:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUa6ElSqQgvUCowC2Wj7FRq9ezs/iRAh2MVCC6o8AjZYbPAMbyDelswmH/4DtkuPawi+WwBDovKj/A69nox+/Q19NrLUU3zCNqtcksWlw== X-Google-Smtp-Source: AGHT+IGaKIh0ZrkA2gYcwe66BOV9j0EpIKSs4nE806Npz3DJS20CsKR0kMMb9B67MNcK2L05UiHr X-Received: by 2002:a05:6870:d62c:b0:21e:5733:f6fa with SMTP id a44-20020a056870d62c00b0021e5733f6famr9445221oaq.54.1711415433899; Mon, 25 Mar 2024 18:10:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711415433; cv=pass; d=google.com; s=arc-20160816; b=v8coizv5TpfiDnNT44I02znKd19wCRd1bbVrfsq7R2V12V9B0yAzCFcQXBzN3pu3/l tswdlH7dw/NkCIe0t9+bjQVoPOxsxyqa9HAYN6aQJy9UwFcz8eAu4vF/knbpl3HU9CbH yWIVMeGC6JvitKYRZz8DEbwVhWgwZVBbpV4mES8aKo6ESTgvI2HJwfOxsoc7L+9EsE1d igUdwSSKzl3LahcYsZJOgnWMDYxkMILijpDlxzlUgxJL0NYRPV5GFUSIjEwzAYzZcmL3 BL4i71a9f2hTB+458U9HS8QHgSsMYM9WJBI1hSDKSqCHoACkhNJQVZzsnQQqvUxFgTBh dovw== 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=bbDlFd91/06FJUKV8Sni0E6XqIw3WUEzqyDmXa5RQpA=; fh=6oy9jfJy8+AiL1bSP0U2AJJiP5oBj63l8sWrosFA4Ek=; b=GeMyuLdfex3JKb/uR2WOhfHJ6vLOYY2NO9wyXoXqPdQjmqz7FDuogx8xs/o6VmOwpQ 1OY6LyTdL85Jkg46SRFHgQ/1x4d6+AsPgNUBF3c79RA7G+dTjdVkMA3mpLpZvBKRJE5h nskCt8K+E2IIFx6ljf3PExMONVoPlXCdKU/4rJpZ0m7s4malO7P2I1fWY+UftWGiSJXl fFTRalwR+X/a0ZnANEoJCKJt7Cu/kZKhYzQlk4MI6U8odtKjVVg7RC3+6l1pdJvoz62e ti/Bw3AavCRFW4Ew+m0UQffiiWMkQW4zSvkJxTZakdb2PmfLJWH2TnJmqq2/Q8fzTy6A upgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jT8Tzmgt; 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-118232-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i11-20020a63584b000000b005dc4202b409si8067090pgm.212.2024.03.25.18.10.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 18:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118232-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jT8Tzmgt; 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-118232-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118232-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 39FDC2E5944 for ; Tue, 26 Mar 2024 01:10:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5BB91CABD; Tue, 26 Mar 2024 01:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="jT8Tzmgt" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 020421CA8B for ; Tue, 26 Mar 2024 01:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711415424; cv=none; b=sfuhF+FCJhSSCa1rx+zkOS66NGQwnB9ydeGuImiNLNUN+BquZK8Yc/mHqyHldhP60hrWl5ZcYKCZDUH2m+hB0zCPCGTnN8pY+Ojb2cD76GROiFLdwAU6xlBCQB2x5xTI4KaxsMW/HqcsT85PO/Dija9kO5o6+UvBWoTS89K7X+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711415424; c=relaxed/simple; bh=CiG9wa23efSu4MJDJQSgVOdelnxZoj0AtrfN85SdeUc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WmBiM7SiHv/32ncUNLyQag1cnaelTa/flKw/GA7SyvT8Tz2U9y2XSWjemT9p4IpHcpqbaXZ5q5HYh6Fu6YyR5jk372+7V7nG8CG2rjVUZ3fuzPx6imJM3UqwZ9LgndziKTj8Pg7iwYg/9RNr1o2m5VrHDH2cfu9EI6xF77qhWD0= 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=jT8Tzmgt; arc=none smtp.client-ip=198.47.23.249 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 fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42Q19Oji009322; Mon, 25 Mar 2024 20:09:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711415364; bh=bbDlFd91/06FJUKV8Sni0E6XqIw3WUEzqyDmXa5RQpA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jT8TzmgtrZVPoMPmifLYguiJMlcE5oeZpVUyN1HmHrKIdXqewYzqitsVD6mn4B1bR DvPx4JhNo3h54udLcvYLMghvw6VlBHzeF5BqXsS5guPY2yOemUuuzYYBJV5zi98ouY jlYl0ELi0e1ae4vsnuTIqN/Ntenok2dYd2Be6lXY= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42Q19OrW090248 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Mar 2024 20:09:24 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE101.ent.ti.com (157.170.170.31) 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:24 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) 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:24 -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 42Q19AY8120020; Mon, 25 Mar 2024 20:09:18 -0500 From: Baojun Xu To: CC: , , , , , , <13916275206@139.com>, , , , , , , Subject: [PATCH v1 2/8] ALSA: hda/tas2781: Add tas2781 SPI-based driver Date: Tue, 26 Mar 2024 09:08:59 +0800 Message-ID: <20240326010905.2147-2-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 TXNW2781 support in smi. Signed-off-by: Baojun Xu --- drivers/platform/x86/serial-multi-instantiate.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/platform/x86/serial-multi-instantiate.c b/drivers/platform/x86/serial-multi-instantiate.c index 97b9c6392..3ab3ec9c0 100644 --- a/drivers/platform/x86/serial-multi-instantiate.c +++ b/drivers/platform/x86/serial-multi-instantiate.c @@ -355,6 +355,15 @@ static const struct smi_node cs35l56_hda = { .bus_type = SMI_AUTO_DETECT, }; +static const struct smi_node tas2781_hda = { + .instances = { + { "tas2781-hda", IRQ_RESOURCE_AUTO, 0 }, + { "tas2781-hda", IRQ_RESOURCE_AUTO, 0 }, + {} + }, + .bus_type = SMI_AUTO_DETECT, +}; + static const struct smi_node cs35l57_hda = { .instances = { { "cs35l57-hda", IRQ_RESOURCE_AUTO, 0 }, @@ -380,6 +389,7 @@ static const struct acpi_device_id smi_acpi_ids[] = { { "CSC3556", (unsigned long)&cs35l56_hda }, { "CSC3557", (unsigned long)&cs35l57_hda }, { "INT3515", (unsigned long)&int3515_data }, + { "TXNW2781", (unsigned long)&tas2781_hda }, /* Non-conforming _HID for Cirrus Logic already released */ { "CLSA0100", (unsigned long)&cs35l41_hda }, { "CLSA0101", (unsigned long)&cs35l41_hda }, -- 2.40.1