Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4419091rdb; Fri, 29 Dec 2023 00:34:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpnClNni3NGqZcUYfNXsoR2vkr+4jOoiKIEN9cHO3uPpmnuFa977eU0mKfnx72hTS/J/qv X-Received: by 2002:ac8:5dd3:0:b0:427:8ef4:7bdc with SMTP id e19-20020ac85dd3000000b004278ef47bdcmr15423177qtx.95.1703838879167; Fri, 29 Dec 2023 00:34:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703838879; cv=none; d=google.com; s=arc-20160816; b=N5aJ1Q2O+U2y6O8TdRTgqwcTr30YzgyKyU/uo6SNxw3G9NHHzarqt/EAkMfduSbJzw pKQ5jYumtS6rUtZul0ELpyoFIivCbGRCQdkfEtIl9ah6nu+RtkEnd4VGYAcMMa909Z+6 R/AB188CyzWIL0SJvT6UJQPBrSA37P7g1HP/NxJ/9+Y6kW40oUgmMJSG83s42N4dddX/ L5QxA9KCM1wm1ACDROgzBrEt3yTzqJacIu+XKgOivIvu5T2/LcohdWq7kg0XtYBZEPl0 gknCOZnyWvK85ILvTArAwh+4cUY2L+Uw4HtI8rAzaro7dtUXCnniBOhKRJQ4y9VmwOM8 TYdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=kiKoPlVq8mwoRXABXp8njOTjgh091Huw+scmP6EMzy8=; fh=gwezjWegyY5EHHDmeTRSwDgQs4w4Hce4qKZha852pEM=; b=UfGmrxlD1OMJRTiciCfek9eDOMMtz7HMqXW5VYRRtZBcXtSPJFt96rbQtrLpQrhRWh LXexENqnDCGx8ylNlhm+vwq6XOG8WLm1HsmisoVLEDuNj7UObgN9Ck+xGlgEU2p0ymAX 6Mu5nWJNFoiV3fqemjKgBMbzxxSgNQn9BFJeNSysqWJlTQLUFnrrtB6XjuaCBiKav7/T Aje0BjDskRnFMLyIDzUCe0AspDOR0pui2tef1t6X0ZONV4+wBFMHX27MVUbX8Ve2agIV gozqQ4MJooKvdIBEP84jDphIe19l0bgKQ4UY3LbejbOorG6hljQc09cFvuli/3DY/B+m g/Lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12994-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id cq5-20020a05622a424500b004239226d997si18274686qtb.783.2023.12.29.00.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 00:34:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12994-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E46FF1C214BF for ; Fri, 29 Dec 2023 08:34:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1BCD7495; Fri, 29 Dec 2023 08:34:30 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2603E7472; Fri, 29 Dec 2023 08:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 86F1B8068; Fri, 29 Dec 2023 16:34:21 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 29 Dec 2023 16:34:21 +0800 Received: from [192.168.125.131] (183.27.96.32) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 29 Dec 2023 16:34:20 +0800 Message-ID: <48943ae1-1d7f-44a6-97de-d2999b5f72a2@starfivetech.com> Date: Fri, 29 Dec 2023 16:31:44 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/2] ASoC: starfive: Add drivers of Cadence Multi-Channel I2S Controller Content-Language: en-US To: Mark Brown CC: Liam Girdwood , Claudiu Beznea , Jaroslav Kysela , "Takashi Iwai" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Walker Chen , , , , References: <20231221033223.73201-1-xingyu.wu@starfivetech.com> <20231221033223.73201-3-xingyu.wu@starfivetech.com> <861f9b28-863d-48b0-8491-add4a286597e@sirena.org.uk> <27155281-573c-493d-96fe-1f28ebb0ce5e@sirena.org.uk> From: Xingyu Wu In-Reply-To: <27155281-573c-493d-96fe-1f28ebb0ce5e@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag On 2023/12/22 20:39, Mark Brown wrote: > On Fri, Dec 22, 2023 at 05:11:17PM +0800, Xingyu Wu wrote: >> On 2023/12/21 20:55, Mark Brown wrote: >> > On Thu, Dec 21, 2023 at 11:32:23AM +0800, Xingyu Wu wrote: > >> >> sound/soc/starfive/cdns-jh8100-i2s-pcm.c | 262 ++++++++ >> >> sound/soc/starfive/cdns-jh8100-i2s.c | 727 +++++++++++++++++++++++ >> >> sound/soc/starfive/cdns-jh8100-i2s.h | 171 ++++++ > >> > If this is a Cadence IP why is the entire driver SoC specific? > >> This a new driver about this Cadence I2S controller. Should I create a new folder and file like this: > >> sound/soc/cdns/cdns-i2s* > >> and I use different compatible to support other SoC like JH8100? > > Yes, that seems more what I'd expect - with a fallback compatible for > things that don't need any special quirks. Okay, I will modify these in next version. Thanks, Xingyu Wu