From patchwork Wed Aug 24 16:07:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_Povi=C5=A1er?= X-Patchwork-Id: 1669900 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=cutebit.org header.i=@cutebit.org header.a=rsa-sha256 header.s=mail header.b=a77t2Wm0; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4MCWFw5ggMz1yhJ for ; Thu, 25 Aug 2022 02:07:32 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239344AbiHXQH1 (ORCPT ); Wed, 24 Aug 2022 12:07:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239237AbiHXQHZ (ORCPT ); Wed, 24 Aug 2022 12:07:25 -0400 Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31AE280B74; Wed, 24 Aug 2022 09:07:21 -0700 (PDT) From: =?utf-8?q?Martin_Povi=C5=A1er?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1661357238; bh=vfSK7fJtUtZF7v3UQoemHYG11mAecyxCaxX8PYPRpzQ=; h=From:To:Cc:Subject:Date; b=a77t2Wm0ZCHFkidB88rzre6aeLIfhkq/9gl2n2ez05Cq3dJgUvznsbu/fv5l4gT4i yhhwM/fbFcx2NT7IxLSbNKRPbGc629r4k0zKZAJGqbYhXg8GVrYuOrvq7Su6zGzCXO GZERaZwHCqUxk0M1stlco3+9HLwh/DykEvT3LLno= To: =?utf-8?q?Martin_Povi=C5=A1er?= , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Hector Martin , Sven Peter , Philipp Zabel Cc: Alyssa Rosenzweig , asahi@lists.linux.dev, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] ASoC platform driver for Apple MCA Date: Wed, 24 Aug 2022 18:07:11 +0200 Message-Id: <20220824160715.95779-1-povik+lin@cutebit.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_FAIL,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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: devicetree@vger.kernel.org Hi all, sending what should be the final touches on Apple MCA driver. It most likely goes without saying but please do not merge the DT additions into the ASoC tree. Martin Changes since v2: - fix Mark's style nit - order compatibles in schema - redo the DT additions for t8103 - remove stray unlock in mca_be_prepare (and rename the locking patch) Link: https://lore.kernel.org/asahi/20220819125430.4920-1-povik+lin@cutebit.org/T/#t Changes since v1: - reflect the set_fmt provider/consumer change in 6.0-rc1 - fix the probe function requesting optional reset - unroll 'dma-names' in schema - fix binding schema/code discrepancy in register ranges - minor things Link: https://lore.kernel.org/asahi/20220808224153.3634-1-povik+lin@cutebit.org/T/#t Changes since 'macaudio RFC v2' [0]: - addition of locking (extra commit) - transition to set_bclk_ratio (instead of getting the bclk ratio from set_sysclk) - using shared reset control and documenting the reset in binding - formatting, comments, and a minor fix to hw driving Link: https://lore.kernel.org/asahi/20220606191910.16580-1-povik+lin@cutebit.org/T/#t Martin PoviĊĦer (4): dt-bindings: sound: Add Apple MCA I2S transceiver arm64: dts: apple: t8103: Add MCA and its support ASoC: apple: mca: Start new platform driver ASoC: apple: mca: Add locking .../devicetree/bindings/sound/apple,mca.yaml | 131 ++ MAINTAINERS | 8 + arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 4 + arch/arm64/boot/dts/apple/t8103.dtsi | 73 ++ sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/apple/Kconfig | 9 + sound/soc/apple/Makefile | 3 + sound/soc/apple/mca.c | 1167 +++++++++++++++++ 9 files changed, 1397 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/apple,mca.yaml create mode 100644 sound/soc/apple/Kconfig create mode 100644 sound/soc/apple/Makefile create mode 100644 sound/soc/apple/mca.c