From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2218CFBE2; Fri, 22 Dec 2023 09:19:47 +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 EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 6A19C24E2E6; Fri, 22 Dec 2023 17:19:40 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 22 Dec 2023 17:19:40 +0800 Received: from [192.168.125.131] (113.72.145.47) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 22 Dec 2023 17:19:39 +0800 Message-ID: Date: Fri, 22 Dec 2023 17:11:17 +0800 Precedence: bulk X-Mailing-List: devicetree@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 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> Content-Language: en-US From: Xingyu Wu In-Reply-To: <861f9b28-863d-48b0-8491-add4a286597e@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag 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? Best regards, Xingyu Wu