From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8089D225D6; Sun, 16 Jun 2024 23:58:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718582329; cv=none; b=M5KjuBCC2n2d0PoLxhMd3lAIX+YLJSlDD9kFnK3ghxN7Zn+jEHE8bPvd9hKwhjk+NPF8Sfsh/OdcHa9S+gs9NvDJr0ZoCp9U6Xmq1dvVeB0XyK12ekZV/I/biMqqBbrYUTDtUvFNpOZr7MSMgpNImg1as7H1jL0OV3cSfQqT77I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718582329; c=relaxed/simple; bh=J786VmLBsIS9hA0rgT6mbCgXRYVRzeIaqzjALSa/MFI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ors9iZrYX24z3jWrj+y3GK10UFJKYIrCFWYtsqVrHXtvwsZSq4vgmpqsaR5T6Km3oNiLOx5+vklyhXbUsLgstLQ9EDE+AHTS11k3uiamLDmVPwJKtCW7aP3ix7OIJglT8Q0nSz7NwmwIiz5JaMlhFZZuUTW0e7kpO0X37uq68Zk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org Date: Sun, 16 Jun 2024 23:58:29 +0000 From: Yixun Lan To: Inochi Amaoto Cc: Jisheng Zhang , Thomas Bonnefille , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Chen Wang , Chao Wei , Albert Ou , Palmer Dabbelt , Samuel Holland , Thomas Gleixner , Daniel Lezcano , Thomas Petazzoni , =?iso-8859-1?Q?Miqu=E8l?= Raynal , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 1/6] riscv: dts: sophgo: Put sdhci compatible in dt of specific SoC Message-ID: <20240616235829.GA4000183@ofsar> References: <20240612-sg2002-v2-0-19a585af6846@bootlin.com> <20240612-sg2002-v2-1-19a585af6846@bootlin.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi On 18:47 Wed 12 Jun , Inochi Amaoto wrote: > On Wed, Jun 12, 2024 at 10:02:31AM GMT, Thomas Bonnefille wrote: > > Remove SDHCI compatible for CV1800b from common dtsi file to put it in > > the specific dtsi file of the CV1800b. > > This commits aims at following the same guidelines as in the other nodes > > of the CV18XX family. is there any URL of guideline? or did I miss anything couldn't find any discussion about this in v1 > > > > Signed-off-by: Thomas Bonnefille > > --- > > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 4 ++++ > > arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 1 - > > 2 files changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > > index ec9530972ae2..b9cd51457b4c 100644 > > --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > > @@ -25,3 +25,7 @@ &clint { > > &clk { > > compatible = "sophgo,cv1800-clk"; > > }; > > + > > +&sdhci0 { > > + compatible = "sophgo,cv1800b-dwcmshc"; > > +}; > > diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi > > index 891932ae470f..7247c7c3013c 100644 > > --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi > > +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi > > @@ -288,7 +288,6 @@ uart4: serial@41c0000 { > > }; > > > > sdhci0: mmc@4310000 { > > - compatible = "sophgo,cv1800b-dwcmshc"; > > reg = <0x4310000 0x1000>; > > interrupts = <36 IRQ_TYPE_LEVEL_HIGH>; > > clocks = <&clk CLK_AXI4_SD0>, > > > > -- > > 2.45.2 > > > > Hi, Jisheng, > > Is this change necessary? IIRC, the sdhci is the same across > the whole series. I tend to agree with Inochi here, if it's same across all SoC, then no bother to split, it will cause more trouble to maintain.. > > Regards, > Inochi -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55