Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp807641rwe; Wed, 24 Aug 2022 09:14:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR7o9DeQBGY4oUdNYIJjOqwBE2YXvhq85xTfgQv7VW7boJzH8SxcdrgRLizqoaLUqvR7bILP X-Received: by 2002:a05:6a00:1586:b0:537:f5f:11d0 with SMTP id u6-20020a056a00158600b005370f5f11d0mr6891025pfk.64.1661357693878; Wed, 24 Aug 2022 09:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661357693; cv=none; d=google.com; s=arc-20160816; b=DfFg0IMNj9LEsk1pCXkN8hrxWMDc9s7UHGQM1GeLmWcjvCWZNnLs+kQHU7mDwwWgfS 07S9hDzl2Z1YYwanx7hMOP8WVfkA376AAfsGHQ6uzsMMVQd+K6H3Eat3H5TdwxozewBp UqPfC08g/+/nc/Fvuqd+L4v7O2Gze2XWA1H3OZDUbYsF/UfyJouOL7JI1KbPEfN81yFH UWl8xfvnG9m0/7l5hLrcrSzQ5NON4nSMQl/TOUmfVKcaOdrNRukKr57y+AlzxPq9MI6s d1BmEHb2DNlHOtqnpytDIr7OaIzO7GcmFc9ckVW5j/fTpNAzxGt2Jf6gBdJslzsXSjZo 0Kng== 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:dkim-signature:from; bh=vfSK7fJtUtZF7v3UQoemHYG11mAecyxCaxX8PYPRpzQ=; b=TTUOxwwHiNQew2Oe3jA0S+NdIGiEQjJewLlV4O0M18l/cxvL5jj28U89joeVRBzKiz SbSp3KVyigxfwt7Os/mjI+i9mWdM6PkKOJkX+EASWxrQddbwF7TrI30L8gFYnCmzd05a rjHmKjXSeXSjDFivEsxrTCoxEV4eWhyS6aIii+31f1J4eVNKVjw7NQJ3pwEvX5i2MaW3 SMh7HJtEs4K/BLeHVyp4ZpDmu1we1JJvYR0YTUf6/21ujjHs5QzPkAGQ0hLjFXOEyFtd IjmNrT8SoY2iwZbU+VrWQLGipMZ/S5IE4G5xWi85nks5dG8cid/VLELXDaVCSZt723ra 1nyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=a77t2Wm0; 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=NONE sp=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a170902ed5200b0016ef1d4c4fbsi17707730plb.320.2022.08.24.09.14.42; Wed, 24 Aug 2022 09:14:53 -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=@cutebit.org header.s=mail header.b=a77t2Wm0; 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=NONE sp=NONE dis=NONE) header.from=cutebit.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239415AbiHXQHf (ORCPT + 99 others); Wed, 24 Aug 2022 12:07:35 -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=20Povi=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=20Povi=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: linux-kernel@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 -- 2.33.0