Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp144484rwr; Tue, 2 May 2023 17:36:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4PCsREobRsJqGgt6iGu+J9KkxHUuk8MFpS8nyIKueacok2q/Na5tgIJX+iCra4/9yPenD3 X-Received: by 2002:a05:6a21:9989:b0:ef:c5b6:b6b9 with SMTP id ve9-20020a056a21998900b000efc5b6b6b9mr24438975pzb.23.1683074166036; Tue, 02 May 2023 17:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683074166; cv=none; d=google.com; s=arc-20160816; b=mY8pA1wFUAu2hy+qIBvPnb3roQ3H8PFFB7oWF8VspCdL5CpCILyY0+Xc7NKjokqxR+ AVsPuS/h5+BQXHh9wE3IdrUA4Wv3mD9sJ0rdurEB6bAhDEAphaBpVInq89lEn7SdF897 nZhI5BaR9+nco2+1zQ/Dr7i7AVUlAq3ETdzg1R9AjXEPSQJlIjkDbK9sPxpnW5HJSjYD TvHe0t/Y5gaSmX71fLI2hSwNjY8hU1LM3SAmeN4H+4MdPz4+9RXbLmdXJOWKY8Sg/I3B WSV7Q9SoElCjxIX/EKMa3E0S9jD5ynPrngXFGQiQUcQ13Olae3LTdWT+RSaezhPSWGMQ 9liw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MFg9h2F9ob3ci9fTY85T1HycO5/sOU4ewuCip/REzfk=; b=zcKf67N3vJsAA70C1xyBlB+f6e7eg91+OUqqxzUiMhL8c8OQZeZ6RQPV6qnDDiW842 z0xZCh3pnCpOImmvLtbq8JzTbCyuFOglx23J2wDNLybb7tTm+vNsTk/FQzXaiYFZfhzP bw2cG3bd7ZisPWBQtHoJ8yOuGPtg5d688Id2YjCdr0wJ7pt4vrPvORXgdPSIsDKCnuOo jXPbXSsXBlnmAIKkoticvVhsYLIlqn01x9+G8H1VAZTFRl3GrBt/j/2qDfa9mJPb7AEh zphRl7Y+IUIUgu6ugpoJ27y+IM0OrlvfFhit+bb9DIxNqgTNxEnhLwvKrScVCkF2YguH S0ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tKLGj0WK; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020a17090aea1800b0024de4be9639si8407882pjy.34.2023.05.02.17.35.49; Tue, 02 May 2023 17:36:06 -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=@kernel.org header.s=k20201202 header.b=tKLGj0WK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229555AbjECA15 (ORCPT + 99 others); Tue, 2 May 2023 20:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjECA1z (ORCPT ); Tue, 2 May 2023 20:27:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4BDA1FFB for ; Tue, 2 May 2023 17:27:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 77A4661F23 for ; Wed, 3 May 2023 00:27:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73E9BC433D2; Wed, 3 May 2023 00:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683073673; bh=NYrACsssrmfPGmWOcmRZXfT33+ftG3IlffU7YP1nyHY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tKLGj0WKZZ2Jx2liro9O4TKwiTokjOB7MujVV/4BMu708nhKYKULt7NqfT4I8zJ7u haUCLNNiID4OoFA+dgqh0H2o58AmbGH7Bn+pZGlKx3wr338oqwqwUICg2RJ0Digp6d /5EWpE8FlXGIjir90U1Pe+gwOgD6oNUymU9C040eNEyWmj86ngkArJemNNVruRXxzw ZZrUnNBSiv4HLyzZivkUPBVA4Mu1xwErVMiNWPptQ5k3W7jx2pn06W1w70BDPEGMGv K29KmhS20iGrZo6J3R7Tlj+Dp6AQcZf5GFfCAz+aoOsXxp0dA22X3uCTC/pPPQLFjj WMQkzH4PR530g== Date: Wed, 3 May 2023 09:27:48 +0900 From: Mark Brown To: Shenghao Ding <13916275206@139.com> Cc: lgirdwood@gmail.com, perex@perex.cz, pierre-louis.bossart@linux.intel.com, kevin-lu@ti.com, shenghao-ding@ti.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, x1077012@ti.com, peeyush@ti.com, navada@ti.com, gentuser@gmail.com Subject: Re: [PATCH v1 3/5] firmware: tasdevice_fmw: tasdevice firmware loading lib Message-ID: References: <20230502053235.27066-1-13916275206@139.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jHuLl3Qdr+Gp3RDN" Content-Disposition: inline In-Reply-To: <20230502053235.27066-1-13916275206@139.com> X-Cookie: Avoid contact with eyes. X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --jHuLl3Qdr+Gp3RDN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 02, 2023 at 01:32:35PM +0800, Shenghao Ding wrote: > Create tasdevice firmware lib. > drivers/firmware/Kconfig | 1 + > drivers/firmware/Makefile | 1 + > drivers/firmware/ti/Kconfig | 5 + > drivers/firmware/ti/Makefile | 3 + > drivers/firmware/ti/tasdevice-fmw.c | 2380 +++++++++++++++++++++++++++ > 5 files changed, 2390 insertions(+) Given how large this part of the code for these devices is it definitely makes sense to split it into a separate commit like you've done but are there any non-audio devices in this series which will share the same firmware style? If not then it probably makes sense to keep the code in sound/soc/codecs, though a separate file would still make sense. There's some devices that do keep firmware interface code in the firmware directory but in those cases the devices have other, non-audio, functionality which also uses the firmware (eg, always on monitoring) but I've not seen any of the tas devices like that. If there are some then the split you've made here makes sense. --jHuLl3Qdr+Gp3RDN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmRRqoEACgkQJNaLcl1U h9DwJQf/c04X1IDM9RQnB9HFoA2w4Yrd+wID6cNDcMHE05So35+rSAErad/PhU1k 1pu6mTeujT/5RanZL3cElVkqNaKgGy3bY0Aewu4BB6Jp0AkkM9+uk02lG6KHsnB3 ZPWke1iHD1uMIyNYAUm9mQM3pTYCmva2EI9/k6vBfAcfuVhBWDgke6GabRPtoaeh tpND2K9ckr41xRW0s8GW+SJ+dH9E88V66qGoqez28A/iHjYUupdwEpQAzl6d7R5U ICP0sv/RgamEp6yYLT/dj+muh/+gbyanTYvfKDPLfGKKUB8c84gCn4sKbQpEDaSf anNb6TU9LQsQRxu8cijdPQ0YwrAvYg== =KUlJ -----END PGP SIGNATURE----- --jHuLl3Qdr+Gp3RDN--