Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3164890lqo; Wed, 15 May 2024 01:21:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZAjBuT32xg+DyTxBvR0pFh6d/WPDu6KGNww8ua+WvwqaGXv2CtPYCRbPvbo4qaGJLW3fr+3Bl9EU9YnLdaq2m/XIooML3xwBPAp7fWg== X-Google-Smtp-Source: AGHT+IGwYaahU5hXVZyesTKeIETSIXxZOixsqiolC9exXVOzTO/HqROhUW6xJCvpxOxMKFgXcfdk X-Received: by 2002:a05:6358:5203:b0:186:3c3:b415 with SMTP id e5c5f4694b2df-193bcfc627cmr1604148155d.20.1715761265752; Wed, 15 May 2024 01:21:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715761265; cv=pass; d=google.com; s=arc-20160816; b=lz817zwbmxSlLgvGPk0w50D/sGUYRn1iM1rpbfPMFUMdCLMYC1K0fWncKYZF5U+NNv aOZI6zdIgZRmIFxCK16v8cAqYmaGNv6NSFhOwBzgnI7VVOaiqDziHF+IJz04gCRZK1fn bANIXEei9ipvSk2TU1Imo8UCs/ZR4Cvq6hHoKIs3k5+d+9KftGF/AFRJW7bK6IceydVs SkTI5a1POopVAP9vifmLRd8nanqLVs1wbb6evFx9hqIggJXfcBe/Syub1BBpEJ7qRPUd QGjz303ye+N32AaL5YoVNpJ8CsYZCw3+68yghu4Q2m65vE62g9DDcbmHXbJETG6OskYt JPQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vjyl/O9ZR+UtTrOqEpo9tzUG3AMBBmBSn8ey8DKBo7w=; fh=GMzWy3n/uNGCJXy6xR2iiz6FQB9FWly3nzrFPMsjFDQ=; b=QYRuLVA/beYxM0xD0taVcf9890XRfpe+w6j8ZbrDBdUIHdGvJVK/M9u9t5b5XmqlRy qRlGyEwyO9UCkBZqZ3wv/danxfuxtapJucNEjCn3rDMk5BA8FN7u2noz249iCX/4J7Ic hMusquG63vt7EgIN6pl0XROQYjcaHA7qLUiNY4LGL1TzOKJxAJzYapvN1O/2eM+D8xYG CgolVDz2vBJesuRrZqUlNkXg1KHFZziZx4JETnMi+4DigN3y7zQVslJbQN1Q6VAJLWiP f4QVlt2T64QzHvlangdi7b7AYfeKCcb7sPJg/trWNjx6ACBIBP6Dztw+MtsdkIIbgdrh Bfng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nRjNQjI6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6340b2a0adcsi12680066a12.218.2024.05.15.01.21.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 01:21:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nRjNQjI6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1BE85B21B4D for ; Wed, 15 May 2024 08:21:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DA0F4EB20; Wed, 15 May 2024 08:20:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nRjNQjI6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F2594C61C; Wed, 15 May 2024 08:20:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715761251; cv=none; b=b78HRuFgdLeDSfS4EIPgYJqZ+cp70oGYme3vEaBmByqkhVwUytgzF5VSZ0bLlTW8f1zq2Cx59M5twVvxxMlr2Uc2FX3unYjQZshtjDG+jV89pjQatQkYGHZ+olkds2XEV+R5igNdcaO5HnZmOlWXnuSDTZrKDcTEvljQuJkxy4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715761251; c=relaxed/simple; bh=OZQgXOXpeBP3poSs6RIP48FgpRWHs87VcYne7ITZnUA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ulDrh0s2vKJkL8e9TaPcPEPvved5JKCMsg+cA/55jD+9LW8qlQHXxw3YEG9vNcHm5lUtnnZrRA9zmnhFY8nC1wzhUi5EmTZXDgB55JdJDb+jOK9c7VZePnOiwRqlfd/LyHIaOkduM1VNIkqBNhJtVE19wxmRRD8eqsn5Jc0RClY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nRjNQjI6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E7DAC116B1; Wed, 15 May 2024 08:20:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715761250; bh=OZQgXOXpeBP3poSs6RIP48FgpRWHs87VcYne7ITZnUA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nRjNQjI6oJlk61qr/+h1ggoRTN6526W0zvsD0rXSv/8M/dtNuiXBLfjwv74ANW/pd 1776DAaYY9tgBEWNP6npdSOueLf9plVu6SZgq5xsyXMe4SI9eVP/BN/KEfaIpewCv/ XyPPJC7oN5ekVE8PNhhZg1ghTlfiOHfCBSEjO3Y0DzUJ1G/oWJNjfdVF5/K+HoZ6p1 cccydCUxmfGiypQaqSV9rEo0vJJ3nqMf7lY7UtOVzTaEURjET6OuaMnAKsfPFXsCas v/20jzruS6UrqGUsqwwvTkjTfPo8S3CIxfSpcsWBRFAMHEmYvIYkX3BQKridhXWpSX EHBwVxzoKFnaQ== Date: Wed, 15 May 2024 10:20:44 +0200 From: Manivannan Sadhasivam To: Krzysztof Kozlowski Cc: Manivannan Sadhasivam , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: ufs: qcom: Use 'ufshc' as the node name for UFS controller nodes Message-ID: <20240515082044.GC4488@thinkpad> References: <20240514-ufs-nodename-fix-v1-0-4c55483ac401@linaro.org> <20240514-ufs-nodename-fix-v1-1-4c55483ac401@linaro.org> <20240514-buggy-sighing-1573000e3f52@spud> <20240515075005.GC2445@thinkpad> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, May 15, 2024 at 10:03:36AM +0200, Krzysztof Kozlowski wrote: > On 15/05/2024 09:50, Manivannan Sadhasivam wrote: > > On Tue, May 14, 2024 at 07:50:15PM +0100, Conor Dooley wrote: > >> On Tue, May 14, 2024 at 03:08:40PM +0200, Manivannan Sadhasivam wrote: > >>> Devicetree binding has documented the node name for UFS controllers as > >>> 'ufshc'. So let's use it instead of 'ufs' which is for the UFS devices. > >> > >> Can you point out where that's been documented? > > > > Typo here. s/Devicetree binding/Devicetree spec > > > > https://github.com/devicetree-org/devicetree-specification/blob/main/source/chapter2-devicetree-basics.rst#generic-names-recommendation > > I read your explanation in DT spec commit: > > "In a lot of places, 'ufs' is used as the node name to identify the host > controller, but it is wrong since 'ufs' denotes 'UFS device'." > > but isn't this the same as with MMC? We do not call the nodes "mmchc" or > "mmch", even though all of them are hosts, because "mmc" is the card. > The same for most of other storage devices. Or USB. The term > "controller" appears only for few cases like clocks, resets and power. > The compatible for UFS HC is '*-ufshc', so it makes sense to use 'ufshc' as the node name. But for other bus controllers like MMC, compatible just mentions 'mmc'. And there were already nodes using both 'ufshc' and 'ufs', so I wanted to avoid the confusion and just use 'ufshc'. - Mani -- மணிவண்ணன் சதாசிவம்