Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3446955rwo; Fri, 4 Aug 2023 05:14:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF45h4ryR6Cv+Pd/u1BuqT63oELz5AdDKnCATel9Zoxh7rz7ohQLDncaMOf0iwzzX1Chby8 X-Received: by 2002:a05:6a20:7f92:b0:130:835b:e6b7 with SMTP id d18-20020a056a207f9200b00130835be6b7mr1672670pzj.47.1691151248710; Fri, 04 Aug 2023 05:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691151248; cv=none; d=google.com; s=arc-20160816; b=pHNvFn2DMI7lLMiWsmsASikHbg9b2GCoowj5bAvDKfWMzWe37cWE0ni6ecrZ2Bo0AE QI2ID+Wh7vIsSBogAbyV2TZ4AvUH0XJtKorWKH/fa1aw64w4BhuNotWI14/h2TPI9Oe2 1RVUVpGot+hqvkiRpb9dsyVG4uiNc3rEdHtUtx6AJcC+sGYEvAukGPxEk76V0zPOEtwA Mfqqgp+vO2hohxBud0Vuwsb6bigAvPuJWS+ETDX304wFrEGC77Q4wWVt4jFC71OeXqwb quZSO+cy11keEPZ0YYusEEz22s2M3wYgLM7EDd4CiMZtPmW1TliKtW+Sui1ErZx3LVc7 4yvg== 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=r8Yx7WO8+0xNOiJQ5ikK7v/i2XOpzmGEHSJwnmdsOwM=; fh=vSxFSgbB5tcfE4fqlcoXtTxZe+7XjimCDPfprNaRE4M=; b=sbrOoNlQgTt2V5lFT7nC5Qhe9cmzIBPZozniDhgRC++CMWe/ON2zaxV3VpftQtuLra PHKElZayY7b+aZBFIDRc0/pac6+iB4NFgc41vPfW8/+9GU2V1bmY1AUREeey6hq9HFTP ZvoVUsT55phvXW0CFvOj0EETRdY1sqi6GYJOo6nmPOIRCun6iKngW7VXMmlqwtauVZYb DCsJqOqqRRZM/kpShaBlwOdXoLoP6joF383wQwFMdhXdhdGWb10hyLyqzeoGrGuIqFWI GMiHJkGkukiMGhcV/CMImz1DZx3gR4ZoinmhsiOzpAqao2OSAeSKDGnhWHleSVGFS6HT OSpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Gma9KELQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a63e253000000b0055793097dbesi1714818pgj.469.2023.08.04.05.13.56; Fri, 04 Aug 2023 05:14:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Gma9KELQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231728AbjHDKtS (ORCPT + 99 others); Fri, 4 Aug 2023 06:49:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbjHDKsh (ORCPT ); Fri, 4 Aug 2023 06:48:37 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1524C21; Fri, 4 Aug 2023 03:47:32 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3747k7Iu019147; Fri, 4 Aug 2023 05:46:04 -0500 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=r 8Yx7WO8+0xNOiJQ5ikK7v/i2XOpzmGEHSJwnmdsOwM=; b=Gma9KELQjkrb2KFEp c8xGb5P6+Prk0ou8EcwgBvZSg6ZoWHL2E/D2WKfnjlEISjahLHwjoTdBUkMh0rPb Xsy5YCNLp3IGV+Ax5JDWottcBoYKNIKxxMwbYil12AdIsOixtpEXItEz0pCrqaRI xWAtiGYE4Th4px6FGOJ7bM1AYpO0ogQXIn70KBVah8qPH3agsJP5CBYfs1vNl6BG nqmv9YLNfaB2+DsYpwHTLBxxxk9rBz3hRBrL5YwLOAo77hIWvBEi/fTOw1DHC8NW NcwDdA/ZJ/KBMZZpg/b9hBkVE1icZD8xnG+n8J3oUP7ozKynuzxV0TvyyzLkv8bw KpGTg== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3s5gk1y4bw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Aug 2023 05:46:04 -0500 (CDT) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 4 Aug 2023 11:46:02 +0100 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.2.1118.30 via Frontend Transport; Fri, 4 Aug 2023 11:46:02 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 7BCFF3563; Fri, 4 Aug 2023 10:46:02 +0000 (UTC) From: Charles Keepax To: , CC: , , , , , , , , , , , , , , Subject: [PATCH v7 0/6] Add cs42l43 PC focused SoundWire CODEC Date: Fri, 4 Aug 2023 11:45:56 +0100 Message-ID: <20230804104602.395892-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: D7s0STfFiagBEJQnAhTSZvzqojJc6WIj X-Proofpoint-ORIG-GUID: D7s0STfFiagBEJQnAhTSZvzqojJc6WIj X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch chain adds support for the Cirrus Logic cs42l43 PC focused SoundWire CODEC. The chain is currently based of Lee's for-mfd-next branch. This series is mostly just a resend keeping pace with the kernel under it, except for a minor fixup in the ASoC stuff. Thanks, Charles Charles Keepax (4): dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding mfd: cs42l43: Add support for cs42l43 core driver pinctrl: cs42l43: Add support for the cs42l43 ASoC: cs42l43: Add support for the cs42l43 Lucas Tanure (2): soundwire: bus: Allow SoundWire peripherals to register IRQ handlers spi: cs42l43: Add SPI controller support .../bindings/sound/cirrus,cs42l43.yaml | 313 +++ MAINTAINERS | 4 + drivers/mfd/Kconfig | 23 + drivers/mfd/Makefile | 3 + drivers/mfd/cs42l43-i2c.c | 98 + drivers/mfd/cs42l43-sdw.c | 239 ++ drivers/mfd/cs42l43.c | 1188 +++++++++ drivers/mfd/cs42l43.h | 28 + drivers/pinctrl/cirrus/Kconfig | 11 + drivers/pinctrl/cirrus/Makefile | 2 + drivers/pinctrl/cirrus/pinctrl-cs42l43.c | 609 +++++ drivers/soundwire/bus.c | 32 + drivers/soundwire/bus_type.c | 12 + drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-cs42l43.c | 284 ++ include/linux/mfd/cs42l43-regs.h | 1184 +++++++++ include/linux/mfd/cs42l43.h | 102 + include/linux/soundwire/sdw.h | 9 + include/sound/cs42l43.h | 17 + sound/soc/codecs/Kconfig | 16 + sound/soc/codecs/Makefile | 4 + sound/soc/codecs/cs42l43-jack.c | 946 +++++++ sound/soc/codecs/cs42l43-sdw.c | 74 + sound/soc/codecs/cs42l43.c | 2278 +++++++++++++++++ sound/soc/codecs/cs42l43.h | 131 + 26 files changed, 7615 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml create mode 100644 drivers/mfd/cs42l43-i2c.c create mode 100644 drivers/mfd/cs42l43-sdw.c create mode 100644 drivers/mfd/cs42l43.c create mode 100644 drivers/mfd/cs42l43.h create mode 100644 drivers/pinctrl/cirrus/pinctrl-cs42l43.c create mode 100644 drivers/spi/spi-cs42l43.c create mode 100644 include/linux/mfd/cs42l43-regs.h create mode 100644 include/linux/mfd/cs42l43.h create mode 100644 include/sound/cs42l43.h create mode 100644 sound/soc/codecs/cs42l43-jack.c create mode 100644 sound/soc/codecs/cs42l43-sdw.c create mode 100644 sound/soc/codecs/cs42l43.c create mode 100644 sound/soc/codecs/cs42l43.h -- 2.30.2