Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp338534rbb; Sat, 24 Feb 2024 02:55:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSwnImR2fYK0kM6uIlxBJHTUautW/NkyuI9O6ac/yo28wkC4NFk1i5oydkUlaAaU1EpnBr3H13caxcQWrQSUXRshEdNitOb7hbItNLwg== X-Google-Smtp-Source: AGHT+IE2wWj6vk8SH2jF1gSln2nMBvc3nY6MXi52+I4y3qZ0R7CvDUMl8+ISOvkfObbIiZG1bww3 X-Received: by 2002:a05:6808:1154:b0:3c1:5394:f123 with SMTP id u20-20020a056808115400b003c15394f123mr2423526oiu.36.1708772112697; Sat, 24 Feb 2024 02:55:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708772112; cv=pass; d=google.com; s=arc-20160816; b=cV6jSOeALvJfmjk134fTJSWpbortaFw5fifUY0VP7FqPfCwrUL4sRGleT6fHQvScFW J1xeayomPpGFCmhlUFI0NKnH7tnxdTLByyr4+rTEg4L7Ybo0qjYXtU7kFs7ATt5jVipK 4fQGNoi+2Jo3ZAKp5vmzR/2RLQfMQ72eEVEl3IUFJPff611MjrD+AN0s8VstT8yNf70X PzfJAbDcXQ/1ZzqwI3NlItZ+zERyp7htO9JK5Sj/iF5h/35Y29Q9rd6rrymPRl37AzK8 i4ykSvWI0P6Cx5zN0KmuS+2LTfdrei5GljjsAbGXqkn9jLDf/Gk630AgTAX+4APexKlY LwPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XVqOjvQSDEDKq31auMq76nWKFY0pe+j+Ca5udl4+VwU=; fh=8jgj4U0twvV7WEiY/fYr5bkp1dNNhD4HqoIaWSNNjX8=; b=f3ckD805sM6Mmgg/XxRVO46aRxaBhKK4OfxiDrvX3amElotbTa7zp35zisfKAINUL0 SVBX/l4PQb/3bQ5dRccpnND6C1RvFN6gycREDi4hTjz9N4rwvuIvjO1h0g30rH8ovEYZ 5KcABLo0r1Pl4re2DNfO7L0aXPI2E+56RG55jSeFa0K8Q4B5YGWVia48rgesXIcET9N1 YyHKqWSmNyYL6f2wo1cXsWIEiOqCmbwi04nPGZPfLTisT8eOJVNdbw+CjiUR/UnrE5GA OBu7PtOhFtiExH5kRkbNSsPVJLv4g4DuvrENNColoRRNJMtIzf/b8kB0VZ3r370y0Li5 4krw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lFOsAdzu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n17-20020a634d51000000b005d91365dedasi757058pgl.613.2024.02.24.02.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:55:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lFOsAdzu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0CDC328433F for ; Sat, 24 Feb 2024 10:45:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74E59249F8; Sat, 24 Feb 2024 10:45:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lFOsAdzu" Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 22F0421A0A; Sat, 24 Feb 2024 10:45:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708771512; cv=none; b=YL5xOXOBsgPHLBXUczVcvjFjoYtrjjNeOIeKNw3WS9/eCWvv3seJZ0bqilEbTPWyd8y/rAOmqMvvPGoaC6jJE0c5EjKBmDdqyJT0CN9yPuSw6wMVKrdXDQ1sEPqClxXE4ms5OaPQjh17xl9dIX9jR/oNe1XiBvxLU2ah2owhZbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708771512; c=relaxed/simple; bh=5svl/D2cmebuOMxgI6OVmNsXDJ7Bg4jtKgMY2jlkomw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nQoKOuKbgXqqQ3ANeFa3mB9+/AWfUBribwcMuil807ACgX+/FfswVKluiCHjjCUrQPF/LphDY1t2F8FMA7A7mhP54yM9cDho4UVibcbcwyy9jBxWVWTfeG4hC2A1OFn4v1ZHvuOYtKcm0FMg2lwIqugW9xblUJF0lKTj5NLfzgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lFOsAdzu; arc=none smtp.client-ip=209.85.214.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1d934c8f8f7so15013695ad.2; Sat, 24 Feb 2024 02:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708771510; x=1709376310; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XVqOjvQSDEDKq31auMq76nWKFY0pe+j+Ca5udl4+VwU=; b=lFOsAdzu2PzGKlSknYTx3LvcOJXMe340niA+mO8cdHCHaELj/VqMBbD3P2M/IxGoVi Qc1sxCKu0RYTxKTvgkA9cuTXhEY7G3iTqNFG4erUZFdvpph3pj1bRt95yglKNnE6eTkx bjqqMWRMj/p+mIiYwYPNYEktyZQcg1ZG9oz5+MJMAW/4R+Gq95klXFsvft7wGZq6ybg4 6LRFVvadYXdYw4JTJkbNWvpB2zJLO0XEQKEuYLakbGijWy6xZMZxtel0tNmHncPlPJyK LWKzpDkOxRQ/Cvk3G0oKlYj4EynL4z18WtTAFJyUCMADmNhN51D8V5GCc2McfkdtUcZY 6Oag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708771510; x=1709376310; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XVqOjvQSDEDKq31auMq76nWKFY0pe+j+Ca5udl4+VwU=; b=SuUpNc7QbHjKJGwJHOAf7TlfoUx7ArHJ2QdTFaH+5po/BttgiAe5DWSOtrVywwiZrT YV+Dh4M5pweth6VUdyGH8eMsuXTDQpnLfvtAIhyD5tHPCDmA0zUK3qwGYDWffE0VuD/f zMJz9LGj2ZjjHmaRQQWSPJ+ihix2/X4Hs5Tltfh11vWCLLH2ZeEA3VowihwHjDDukTTk KtjldgMrICA/02ro/mwK2buxFboX9GQNbzw11B82019EfjBqx/Uc+b/OYKiWV3X0cHBk mcTmO4SjI7paKM+rcZco4uWUv/gsm+KaOSPKiUoEWcxIZh4BkMGimkJseW311xaswxBK jZ7A== X-Forwarded-Encrypted: i=1; AJvYcCVQGZqrfVt/AbUYlmV64bZuuyDd+/EgNiBonHm56culPncv3EjoTKiRWxFPY3mAapRRFY02X3+cywMQvW2f5WLtZHOIhll1pUZzH6Uqx3OPuWgGWqTDywYaUVBEATex7XGvlzO+SYgZva0lK4Gr0KwpIbeRFekqqpJ2pdvQNq3OfTsDSA== X-Gm-Message-State: AOJu0YyCJx45OeI4DOomFXj8AEQXnxrpkRIcvtz8bTSAtrZEHfro8lBb AMghfvtM+bkTP7e4ZgX/SDG0JQoMgbMdIF2h0ZtEtOQgO0+Nym2i X-Received: by 2002:a17:903:2607:b0:1db:c6a0:d023 with SMTP id jd7-20020a170903260700b001dbc6a0d023mr1849674plb.8.1708771510260; Sat, 24 Feb 2024 02:45:10 -0800 (PST) Received: from linux-8mug (220-129-204-58.dynamic-ip.hinet.net. [220.129.204.58]) by smtp.gmail.com with ESMTPSA id ko8-20020a17090307c800b001db3361bc1dsm795726plb.102.2024.02.24.02.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:45:09 -0800 (PST) Date: Sat, 24 Feb 2024 18:44:55 +0800 From: Chester Lin To: Ghennadi Procopciuc Cc: Andreas Farber , Matthias Brugger , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , NXP S32 Linux Team , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Ghennadi Procopciuc , Ciprian Costea Subject: Re: [PATCH v2 2/2] arm64: dts: s32g: add uSDHC node Message-ID: References: <20240122140602.1006813-1-ghennadi.procopciuc@oss.nxp.com> <20240122140602.1006813-3-ghennadi.procopciuc@oss.nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@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 Ghennadi, On Sat, Feb 24, 2024 at 04:22:30PM +0800, Chester Lin wrote: > Hi Ghennadi, > > On Mon, Jan 22, 2024 at 04:06:01PM +0200, Ghennadi Procopciuc wrote: > > From: Ghennadi Procopciuc > > > > Add the uSDHC node for the boards that are based on S32G SoCs. > > > > Signed-off-by: Ciprian Costea > > Signed-off-by: Ghennadi Procopciuc > > --- > > arch/arm64/boot/dts/freescale/s32g2.dtsi | 10 ++++++++++ > > arch/arm64/boot/dts/freescale/s32g274a-evb.dts | 6 +++++- > > arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts | 6 +++++- > > 3 files changed, 20 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi > > index ef1a1d61f2ba..fc19ae2e8d3b 100644 > > --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi > > +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi > > @@ -138,6 +138,16 @@ uart2: serial@402bc000 { > > status = "disabled"; > > }; > > > > + usdhc0: mmc@402f0000 { > > + compatible = "nxp,s32g2-usdhc"; > > + reg = <0x402f0000 0x1000>; > > + interrupts = ; > > + clocks = <&clks 32>, <&clks 31>, <&clks 33>; > > Same as I have mentioned in [PATCH v2 1/2], could we have fixed dt-bindings to > replace with these raw clock id values (32, 31, 33)? > Just found the previous review discussion in v1: https://lore.kernel.org/all/f54d947c-58dc-498f-8871-b472f97be4a8@oss.nxp.com/ What I'm worried is that, could these raw clock IDs be rearranged in the downstream TF-A? If so it would cause ABI inconsistency and clock issues since the kernel is not aware of any raw ID changes in downstream TF-A. Chester > > + clock-names = "ipg", "ahb", "per"; > > + bus-width = <8>; > > + status = "disabled"; > > + }; > > + > > gic: interrupt-controller@50800000 { > > compatible = "arm,gic-v3"; > > reg = <0x50800000 0x10000>, > > diff --git a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts > > index 9118d8d2ee01..00070c949e2a 100644 > > --- a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts > > +++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts > > @@ -1,7 +1,7 @@ > > // SPDX-License-Identifier: GPL-2.0-or-later OR MIT > > /* > > * Copyright (c) 2021 SUSE LLC > > - * Copyright (c) 2019-2021 NXP > > + * Copyright 2019-2021, 2024 NXP > > */ > > > > /dts-v1/; > > @@ -32,3 +32,7 @@ memory@80000000 { > > &uart0 { > > status = "okay"; > > }; > > + > > +&usdhc0 { > > + status = "okay"; > > +}; > > diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts > > index e05ee854cdf5..b3fc12899cae 100644 > > --- a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts > > +++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts > > @@ -1,7 +1,7 @@ > > // SPDX-License-Identifier: GPL-2.0-or-later OR MIT > > /* > > * Copyright (c) 2021 SUSE LLC > > - * Copyright (c) 2019-2021 NXP > > + * Copyright 2019-2021, 2024 NXP > > */ > > > > /dts-v1/; > > @@ -38,3 +38,7 @@ &uart0 { > > &uart1 { > > status = "okay"; > > }; > > + > > +&usdhc0 { > > + status = "okay"; > > +}; > > -- > > 2.43.0 > >