Message ID | 20221023143328.160866-1-aidanmacdonald.0x0@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp17469wru; Sun, 23 Oct 2022 07:35:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4LPlZSjAFy1mFL6B5wbz4B96wCb6nVrXQNCtJGAiIzQ1qumPUnTqVggyAZs6OjZyEWn8nI X-Received: by 2002:a17:90a:1197:b0:212:cfa7:8388 with SMTP id e23-20020a17090a119700b00212cfa78388mr14648042pja.4.1666535735866; Sun, 23 Oct 2022 07:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666535735; cv=none; d=google.com; s=arc-20160816; b=EJItbApGgab8ss+O0NZwvAk0ok2zytoTagt/6K5gucoTzFnQohE8gD62COb9cXhX0e evsBfxlO9pQjKk9dEY46cE9WiLvcjJ/07ejOcXu1QV0fHWrSSb7XsZHQQ7cLe/G7HhXl RK+sq+F7kjvEaqtdsqKv0YvUDvBa/3Wj021Otx9mVXzXKB7NukJl20+DJRcoc/pw7Dyo 6wFGNgxHcmEezgGCXy2hskko3nztP/YSza3FAvfP0dUSGMuY5WWELUNbRAB5e7duIaL0 rTeCrUOyu/k8EmZ7Cp6TSjGB1ndEjxnErTvDul8oBJP1CU9IpiEDpBR8UmLKc/rFfTAQ 7RUg== 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=WUGeajMYAerRFQcOqcSIJ1LvScQ/5lPSyQp1+APgyBg=; b=BHlU6nq6wmQ6Dpx0Gb0UUdLZocqckeTsYSUIoudn/qRrlWPeC0LXAYiIfiOup12bu3 TlrtDHsvROjHKf45Qwxr6Dj0etdWIuFUBlPLTVKd9RRwcrUnWgYwUilfosZeXfo45D+b rxH39J2RdHP842v+jXGvUpAb3/WWvOL9k4EcjW0BmtvA9j2hF2ToymuHFyQzSbM99pWl by+evG1a5PfXIMhXSGekSwhCP2vj7gmt2N5YmmwoAfsipkdziMoRQUGsbWjMK0zZaIzX aVvOu9jgNEG/shBshydxQiJlnuykwb+34BYQa95WUsveAyaDaLQP024/K15K3DsRFugG /QSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NMxA7YjY; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w2-20020a170902e88200b00186a1851318si1944284plg.43.2022.10.23.07.35.21; Sun, 23 Oct 2022 07:35:35 -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=NMxA7YjY; 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 S230180AbiJWOdg (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Sun, 23 Oct 2022 10:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbiJWOdd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 23 Oct 2022 10:33:33 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D782B1032; Sun, 23 Oct 2022 07:33:32 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id v11so5103188wmd.1; Sun, 23 Oct 2022 07:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WUGeajMYAerRFQcOqcSIJ1LvScQ/5lPSyQp1+APgyBg=; b=NMxA7YjYwmFC7EMaBdm1k/rg1Sg6SL3DNDYSF9piNDMB26oEYDSuJPr9RZz2LI+IbX gzZBC/iDZIao94YxfWesLLKDqIQ2BOIoTfJFPBc8YDp3L+KYy4s+pjdpPIkBFLMGVbvP S8e4wGlNA1rKkMcCda7DtQsSmiy1dw0JjJEKiYuKdXualkP4PHSxhiNtEXVANHw1glo+ pGIN6PhZyYAQkHwcHhDLO4RcRJMsOjjte5Z0Qsb2ehlJZkXM9mCsoPprItJkHWoplWTt h/AX24iKZ07DA33piY+5fHwqSxsoNnM4ExuXUgqejEX195YRO3faoVTSWANwFhpda/Us Au4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WUGeajMYAerRFQcOqcSIJ1LvScQ/5lPSyQp1+APgyBg=; b=gGUctGQBHNH7dGBlFTno18MPSP4pWmH7Ea/lfNpJYn9sA773Nbpf9XPo9Groe4xXmK sJJhVrju8MI6JzVWoOdO2fhUjhD+UQmapSnL2Nu++1BbHRavWQuev3nPC1rcOn74zAlC cBF031HHa2L60vmmlkqBEiqoA+dcP2fPEBOLR7V6GU3dAqKnXF++IkRdEHkwxeaQBMFo /ss/x5L0o9EecayfcwcDiq1c9lzMz1oM2YXsHQ2xcAaNo5fBZoupjdWwCL6S+N5gAEzf WjSU76LbkB8OBFr/7sTfCMeNuueAfzzM9GSvZF4EOD7IUygAHPC6Pi3hZDex4ObFd8IN 3O1A== X-Gm-Message-State: ACrzQf1PXCyxFAf8I+FAHdSvnAgB6CZM7NHszQ83c7og62qwcud/na39 lyoE1zXmcA/WaLAmDHGZFM2ntsea/bw= X-Received: by 2002:a1c:770f:0:b0:3c8:33ba:150f with SMTP id t15-20020a1c770f000000b003c833ba150fmr7553451wmi.194.1666535611447; Sun, 23 Oct 2022 07:33:31 -0700 (PDT) Received: from localhost (94.197.10.75.threembb.co.uk. [94.197.10.75]) by smtp.gmail.com with ESMTPSA id bu18-20020a056000079200b002302dc43d77sm10406023wrb.115.2022.10.23.07.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Oct 2022 07:33:30 -0700 (PDT) From: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> To: paul@crapouillou.net, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com Cc: zhouyu@wanyeetech.com, linux-mips@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 0/9] ASoC: cleanups and improvements for jz4740-i2s Date: Sun, 23 Oct 2022 15:33:19 +0100 Message-Id: <20221023143328.160866-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747416405983451707?= X-GMAIL-MSGID: =?utf-8?q?1747489375793168244?= |
Series |
ASoC: cleanups and improvements for jz4740-i2s
|
|
Message
Aidan MacDonald
Oct. 23, 2022, 2:33 p.m. UTC
This series is a preparatory cleanup of the jz4740-i2s driver before adding support for a new SoC. The two improvements are lifting 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). Changes in v6: * Added Cc: stable for flush bits fix. Changes in v5: * Drop 'mem' resource removal patch already upstream. * Update FIFO flush bits fix to address Paul's review comments. * Drop PLL clock name patch, that needs a different approach. Link for v4: https://lore.kernel.org/alsa-devel/20220708160244.21933-1-aidanmacdonald.0x0@gmail.com/ Aidan MacDonald (9): ASoC: jz4740-i2s: Handle independent FIFO flush bits ASoC: jz4740-i2s: Convert to regmap API ASoC: jz4740-i2s: Simplify using regmap fields ASoC: jz4740-i2s: Use FIELD_PREP() macros in hw_params callback ASoC: jz4740-i2s: Align macro values and sort includes ASoC: jz4740-i2s: Support S20_LE and S24_LE sample formats ASoC: jz4740-i2s: Support continuous sample rate ASoC: jz4740-i2s: Move component functions near the component driver ASoC: jz4740-i2s: Refactor DAI probe/remove ops as component ops sound/soc/jz4740/Kconfig | 1 + sound/soc/jz4740/jz4740-i2s.c | 455 ++++++++++++++++++---------------- 2 files changed, 243 insertions(+), 213 deletions(-)
Comments
On Sun, 23 Oct 2022 15:33:19 +0100, Aidan MacDonald wrote: > This series is a preparatory cleanup of the jz4740-i2s driver before > adding support for a new SoC. The two improvements are lifting > 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). > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/9] ASoC: jz4740-i2s: Handle independent FIFO flush bits commit: 8b3a9ad86239f80ed569e23c3954a311f66481d6 [2/9] ASoC: jz4740-i2s: Convert to regmap API commit: cf375e693252f4e8ecb6256af631ff381381a3dd [3/9] ASoC: jz4740-i2s: Simplify using regmap fields commit: 0fddb4bce669fd255f6ffade6905da5c8ed3e254 [4/9] ASoC: jz4740-i2s: Use FIELD_PREP() macros in hw_params callback commit: b355ebebb17c438b90c3d339f38a79559f7259df [5/9] ASoC: jz4740-i2s: Align macro values and sort includes commit: dacc06b812f46e0d4cfdda98134a8b5d64375341 [6/9] ASoC: jz4740-i2s: Support S20_LE and S24_LE sample formats commit: 7abd01cfc5428581b21099eb629d88e76a47b67a [7/9] ASoC: jz4740-i2s: Support continuous sample rate commit: 84a914349ba2634e8db6b0815f100697d878d033 [8/9] ASoC: jz4740-i2s: Move component functions near the component driver commit: 165afe6b66aafaafc95484ac2f0f09f78d62386b [9/9] ASoC: jz4740-i2s: Refactor DAI probe/remove ops as component ops commit: 4e02fd6207474ef2d882b8620f4c3db9a02d4ddd All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark