Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp400664pxb; Sat, 6 Mar 2021 03:39:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzURR5PCOJJwZw1pJPYZFA+YrRKO9+5eJgDY/b6+LTeVPG9QxVJdlDxprKv6Z9CT6qDv/l1 X-Received: by 2002:a05:6402:6ca:: with SMTP id n10mr13644872edy.312.1615030775885; Sat, 06 Mar 2021 03:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615030775; cv=none; d=google.com; s=arc-20160816; b=WR0cNTwVgsfHwhv4l8OnTq4itHxMQY9G2xKA01HukKB2xsUH9Are0UDZtTqq9Lx3Wy aQ5sIBz/LfL3CFVro4uN/kOX7IUdLXjCq4ALzYt4pT1zGakFEQ4/BPNqD38k4dFSC9kE ejQWgLSB6DNxuPbKhxWkR39Sk134ww03IZ0+dcUYVdre/nUQ5Hk5tUegoxyclu+tEZn7 83508Mp3qwshYYoDVMMtTmpANGVMPa031hb4VSM6mBH9C04SFLLwh9wq0dqI7rqVnb12 qRZPxMZMKtUEeGLy2WeAbhEoJQ5aACs9BXZzhR9l1HXBHFS9ZX+3Fg4tSgZA+SZ0lS2A UcNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=glhzWDcghErpnM2Iz9REOzjIm1JJM+qiVk6HPgiBrCo=; b=m+4rlZ8ULskufWDG+vvW3mzBq5wirKyiIALIjY1HdYyCStMbhM2FG3A80+TPNXKGMU BgJ9WQO4hjjjIoe2rTI7m2q6VOsYZ+bKC+mGkIJFrYrYHR7pVck/BwhAmGxSVxQ/f3Gg KTNghJnCsyLHkMmvvwBvmR83b9GoR+we1/ytLf/Uu1abz/ncfJh7dqxWzllJUGzjDoaY uUr5KQo01us0HlIgqNVVPhyRSzj3L4hxvcKnyA3hTvBV9zEABz1+2hj8fm6njdU5M0Ja fGI0D/YUNPuuPe/x8gEp//DkZSr3wheU65xNtEvfTZJfKO0z4arJsLQCqyDbzo72t8jY iR8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="U4NUlh/L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si3398672eds.559.2021.03.06.03.39.13; Sat, 06 Mar 2021 03:39:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="U4NUlh/L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbhCFLfX (ORCPT + 99 others); Sat, 6 Mar 2021 06:35:23 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:40406 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbhCFLew (ORCPT ); Sat, 6 Mar 2021 06:34:52 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 126BYc1H006179; Sat, 6 Mar 2021 05:34:38 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=glhzWDcghErpnM2Iz9REOzjIm1JJM+qiVk6HPgiBrCo=; b=U4NUlh/LnrPTHnVv8u/2rN8hqCLpweTfX4SmVggXDDIl1YlR8TIkOXxk0fCqE24+iOVl wUgm7Sfyel0H1JfQf/O9TZjSZff15sukleQGrrwQqToJDaRslk3vlLxns/E2TJubL13T gPNO0aqEdt1rMSOc3Z1R5rurNqkOcCWIWVae3z7t7xV27X6AzMV2bQeiv7p2oe74r9zS X0K1wzRARKosOiWitdiu15G2ZEmKyp7PpKWJuI0Ah19PLsNrFxKgWH9HNOexdLsGI5ly AT5nViOVxCZ+J+hn6AvMVR6vRKWlc5cj1GAAbbDXj549tQLCqGSjkGZ0yNU1qD0uDXsq AQ== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 37471vr316-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 06 Mar 2021 05:34:37 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 6 Mar 2021 11:19:34 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Sat, 6 Mar 2021 11:19:34 +0000 Received: from vitaly-Inspiron-5415.ad.cirrus.com (unknown [198.90.238.45]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 5EE3911CB; Sat, 6 Mar 2021 11:19:34 +0000 (UTC) From: Vitaly Rodionov To: Jaroslav Kysela , Takashi Iwai CC: , , Subject: [PATCH v3 0/4] ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 companion codec Date: Sat, 6 Mar 2021 11:19:30 +0000 Message-ID: <20210306111934.4832-1-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 adultscore=0 malwarescore=0 mlxlogscore=604 impostorscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103060070 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dell's laptops Inspiron 3500, Inspiron 3501, Inspiron 3505 are using Cirrus Logic CS8409 HDA bridge with CS42L42 companion codec. The CS8409 is a multichannel HD audio routing controller. CS8409 includes support for four channels of digital microphone data and two bidirectional ASPs for up to 32 channels of TDM data or 4 channels of I2S data. The CS8409 is intended to be used with a remote companion codec that implements high performance analog functions in close physical proximity to the end-equipment audio port or speaker driver. The CS42L42 is a low-power audio codec with integrated MIPI SoundWire interface or I2C/I2S/TDM interfaces designed for portable applications. It provides a high-dynamic range, stereo DAC for audio playback and a mono high-dynamic-range ADC for audio capture Changes since version 1: ALSA: hda/cirrus: Increase AUTO_CFG_MAX_INS from 8 to 18 * No change ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 companion codec. * Removed redundant fields in fixup table * Handle gpio via spec->gpio_dir, spec->gpio_data and spec->gpio_mask * Moved cs8409_cs42l42_init() from patch 2, to handle resume correctly ALSA: hda/cirrus: Add jack detect interrupt support from CS42L42 companion codec. * Run scripts/checkpatch.pl, fixed new warnings ALSA: hda/cirrus: Add Headphone and Headset MIC Volume Control * Moved control values to cache to avoid i2c read at each time. Stefan Binding (1): ALSA: hda/cirrus: Add Headphone and Headset MIC Volume Control Vitaly Rodionov (3): ALSA: hda/cirrus: Increase AUTO_CFG_MAX_INS from 8 to 18 ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 companion codec. ALSA: hda/cirrus: Add jack detect interrupt support from CS42L42 companion codec. sound/pci/hda/hda_auto_parser.h | 2 +- sound/pci/hda/hda_local.h | 2 +- sound/pci/hda/patch_cirrus.c | 1081 +++++++++++++++++++++++++++++++ 3 files changed, 1083 insertions(+), 2 deletions(-) -- 2.25.1