Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2926500imw; Wed, 6 Jul 2022 14:13:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tvrqz1UAksQk3FTDfvF67B1xfoJqlHdsIu1dW5UBYFubXN2C6vooweCiF+bt4OOsr5nphG X-Received: by 2002:a17:90b:1a88:b0:1ed:5a12:514b with SMTP id ng8-20020a17090b1a8800b001ed5a12514bmr778275pjb.49.1657142029574; Wed, 06 Jul 2022 14:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657142029; cv=none; d=google.com; s=arc-20160816; b=cFm2vJ2et1aeuZTWjogueU8q+pdjObkfEv+H3EaFQUcBU/BMsgplBovNfIt7lJ2src e06QjP3Xtzolz0qzYxC+12sywX1m8DOJJDYrXte0pxr7WO+IbpUUh6w0fYiNtyRqB+X0 WezkLqFKXzmubNf/KDXGtzeK5fFR7V9VLGZ4vf/7JIKYf3QHH7K7lTuiKq0nBQDe4Y1s NgIvltrBm6p/Wyw/mZiER++SY0Wr/jBr3lkM3j+cL0hkYkzBjwOve//sHDjTbP9pjewB 9kS8ZRVOctIp1+2QEIQ2wyhAnvvr9QI+Opo4yR4y85G0MxnDNm7sG6wgMw9hkLVWlLta rEbg== 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=QlRWy02zusIsUjy51IfsD8EFF9idJBdnV6TtlGLlG7w=; b=DpCkYnhhl/mibz2pzWSkmWuX/22ElL2alNalFJn+tHGaxfUb1GkAgOMYWed2jum6Bd OhrrXWVKtbMHSPMWmxqM4zQ89UPUPHFSE7PHkn2po7XnXDou8GnfbWea2NI6559bVSRF kwwA2xKtwaAcZzt4vbTJUyNVifzGTdWtRDkWSL+jfeMpuPBHocCZ2NeSKQJlaBt/QwLB Vi0VzWoLiDeTRS7xojCc5Q37v/LmIyvIpJvgcPKR/ojFO7s6/8tVy30a1Z59T88JEj46 vS/HMNrGRSjkEEZKpHtrYdq+/M6Lk6c8mtWLwv2YhjJi+nUeQcBGUWL/Mmtt6hyYJ3un 9x+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qb9e6xSi; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a170902d2cc00b0016360b6cec1si30410515plc.230.2022.07.06.14.13.16; Wed, 06 Jul 2022 14:13:49 -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=@gmail.com header.s=20210112 header.b=qb9e6xSi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234404AbiGFVMl (ORCPT + 99 others); Wed, 6 Jul 2022 17:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234316AbiGFVMj (ORCPT ); Wed, 6 Jul 2022 17:12:39 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF2C5FD3; Wed, 6 Jul 2022 14:12:38 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id sb34so29105958ejc.11; Wed, 06 Jul 2022 14:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QlRWy02zusIsUjy51IfsD8EFF9idJBdnV6TtlGLlG7w=; b=qb9e6xSi4YGj99hCl0LmSEu/pPb9/2huufM19YOqbwjGovUNz/nkedAAuYTdgVbEe4 3r4ZLOnNmk+33MNs2qmv+ah1Zn/uCM9RRIT02m0bWFpP06MrYg3g13O5gTUtWIEgLhl/ NbGNEIBmDTuUuGM3YfG8uZ0F12LgtMQcX/q1O3LyiSsyt8X/EhlTLHJf4c5X96f4ggWb ic1Cg88PumAbnvwpv3xml4Bue+3hLaI4Db2ObHNt64UUJOadcLTtqo1cmekhLvvt5MFi m1oUiT0j5Fm85+3I1byfRfoIX4kaGmok55tHrJOpd+wt24tYej40KeVjG6xmElpjDQo1 L+bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QlRWy02zusIsUjy51IfsD8EFF9idJBdnV6TtlGLlG7w=; b=zGSzx4eEPiqWk5e7GkLw4UGgnMbUlX1fKhcumdy1Qrgwud9Bb7pMg809nOdptbbnyE kqoVY+Z2hFhhQjis/kithKBzSw3Nq/gl9EWvWXPzRveNPWQojgtDNnxwnPNiUEjz8ZFD p2iaQ7n21hhMLzLD3VHYN2Yvyu32tVG6fbTsvpuuq7aqtS68FkM/BJ/7zuspjmKqCKpa JrCEyd6KNVEJ2Dj2UYs/Bmb825CASx/ISL8ZNj/JD7wZQ5aOAOnjLngEOrP4qlwh0EHV UUc/wE1WtYrcEErkEQ7C1abmL8kbA3VVQ8NcQflCQ9bmzD+t2v04urJzdMT9shDp8a/A yuSg== X-Gm-Message-State: AJIora/egjdTnxQBY2ZyM8AwOJ5++GqfJTXVoOtjOtutBFu8c8CJn6zp WpVYxMZVD7DXzNMUk3AYriM= X-Received: by 2002:a17:907:1b1c:b0:6fe:f1a9:ef5a with SMTP id mp28-20020a1709071b1c00b006fef1a9ef5amr42622029ejc.233.1657141957227; Wed, 06 Jul 2022 14:12:37 -0700 (PDT) Received: from localhost (92.40.202.8.threembb.co.uk. [92.40.202.8]) by smtp.gmail.com with ESMTPSA id q21-20020aa7cc15000000b0042617ba638esm26409412edt.24.2022.07.06.14.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 14:12:36 -0700 (PDT) From: Aidan MacDonald To: paul@crapouillou.net, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com Cc: linux-mips@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/11] ASoC: cleanups and improvements for jz4740-i2s Date: Wed, 6 Jul 2022 22:13:19 +0100 Message-Id: <20220706211330.120198-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 series is a preparatory cleanup of the jz4740-i2s driver before adding support for a new SoC. The last two patches lift unnecessary restrictions on sample rates and formats -- the existing ones appear to be derived from the limitations of the JZ4740's internal codec and don't reflect the actual capabilities of the I2S controller. I'm unable to test the series on any JZ47xx SoCs, but I have tested on an X1000 (which is the SoC I'll be adding in a followup series). Aidan MacDonald (11): ASoC: jz4740-i2s: Remove Open Firmware dependency ASoC: jz4740-i2s: Refactor DMA channel setup ASoC: jz4740-i2s: Convert to regmap API ASoC: jz4740-i2s: Simplify using regmap fields ASoC: jz4740-i2s: Remove unused SoC version IDs ASoC: jz4740-i2s: Use FIELD_PREP() macros in hw_params callback ASoC: jz4740-i2s: Remove some unused macros ASoC: jz4740-i2s: Align macro values and sort includes ASoC: jz4740-i2s: Make the PLL clock name SoC-specific ASoC: jz4740-i2s: Support S20_LE and S24_LE sample formats ASoC: jz4740-i2s: Support continuous sample rate sound/soc/jz4740/Kconfig | 3 +- sound/soc/jz4740/jz4740-i2s.c | 351 +++++++++++++++++----------------- 2 files changed, 177 insertions(+), 177 deletions(-) -- 2.35.1