Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3157491lqo; Wed, 15 May 2024 01:03:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXA7av6JAABLfr5w8Yqt1QuRe2CRlG0JaKhoMPFimSpFwxcnpvPas0OyP7YykkGSmo/+RIoZ31ahtWrN69stH84ndkFpF+lUc1L0Ye2kA== X-Google-Smtp-Source: AGHT+IER7SPN72qLUQErWhnNLFPmv4knIPOglBuyh/nH9+KhVGgYNxBXk/2eUXxP/cTenPE0ir/6 X-Received: by 2002:a05:6870:d28a:b0:23c:e21:ae78 with SMTP id 586e51a60fabf-24172e145cemr16801460fac.46.1715760232661; Wed, 15 May 2024 01:03:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715760232; cv=pass; d=google.com; s=arc-20160816; b=LpVfSbdRdZzbe+e3dYt+cqZ/Z7JwSf1KMNgzE/xEfDyK8MwwVOV7k2RZ+BothRhqFP o1Y/P2u2xy1iwHX/Rck4xCvtE5C4Nn1tWkLQ/oL2AwpeFob2bg20N44fYW2IVxs3ghf3 ovDWiPYV++rOxlod7iJatENtkARUpGlgTtGWEPHfMaScpIx94erNq6wt9pnr9UIUVuNW KCqGgJELaNEQ3S4GmohiMokgX/kc0+6+8aDUGIQQG8085KG97xVPGWjtvGN+Qi09WbIw NbtR6xQWEgJMMw/2lR5y3bX7oolPLdDlwPKcng0K+fSD48bSTSwBMNASi8Rhb5HO3sb2 poiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=R04O4/+uapb3Pagg8ZXSnZwmMA9rR8+o1ejwqMPkjdk=; fh=H05u12VcravnwLhMa1C3X2twgqjpkRoTL92QNB426dI=; b=YisRqxAGycRbYIP08faae+rOH2n1Ik0geioZzxrgOPb86MOcKrGhl+rLCu5SBPbXTr 4jJr67Zc6xgTH8gew7cJ8aV9m4Re3Kx6Fe5WAysZYHsPUoJS6Qj9Pj2aD1JXguOI1GOA T33Bxc81ReZy89/bnYmL0mWOZc/OQHtAA4/+Xs3bE7rMpH7BuvXITYhNnjVdVNOaPXcr hu0RGITUexwz+XtNkvKvMtycClTditOuoBl9TzVSTd/RJNU18ZeNW1Lmv+E4ehzwSmBu 2Gy4i822omOvRESFNRDjRnuII5Jmv7piY51K8aVXE+C5I2ohLsbW5ErAqnzi58HE3P04 +jIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rO6y9sDE; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-179622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f7243si12642851a12.296.2024.05.15.01.03.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 01:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rO6y9sDE; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-179622-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C470228541C for ; Wed, 15 May 2024 08:03:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C20BA4D58E; Wed, 15 May 2024 08:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rO6y9sDE" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 B32D84A9B0 for ; Wed, 15 May 2024 08:03:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715760222; cv=none; b=eseudQgbOptICVaDs/0xB6bTxqFtUvr7KYGL+raHH3P2lUhruKrZl0TGBrMgRvD55aV4+MhGN0XJYq+bCjsKlxtjzV8Sx4c5ZVKdGUoYb4HM7jIWLZ4eEUkpBF5/rKWj44NmnLhQqFQGJrrGIcEVf+04N1okmnhxQ/jQifjfYIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715760222; c=relaxed/simple; bh=VH9txt46L4P36L40P+7h3wObatnHZuVpGod7pcvsnpg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=krL4LBF2C7wsfN40ywrOxheEtduWCyTsxgOjHl0bK6oOA7ulSTvt98zcScJOIFOV9GwunXvvJXj9czyFCl/zzHL3RIvHxhY6LrKpIG4uVclFeRUglemRJEas8f5d7iH6IkpSJiSOjxWXAIhgxVIrsaZfNNicgaN0+/JbzLIvx2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=rO6y9sDE; arc=none smtp.client-ip=209.85.208.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2e6f2534e41so10348881fa.0 for ; Wed, 15 May 2024 01:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715760219; x=1716365019; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=R04O4/+uapb3Pagg8ZXSnZwmMA9rR8+o1ejwqMPkjdk=; b=rO6y9sDER7lQl7VEYZaDGtYgROFvUBW96HRWjFyGOlO/OTov6G1iQsWXrIWUrGGMCR XhiqI2DnSgWzD5Ws3/x/ac6OQTp25CtbbThmt472C/0WXhNSrPLZ3aDe6bWD9He1Yr2l 05qqXe7SU40uZxFJmOw92re9GYaIZqCNynErvLvKI8OEWYJfh5qGvlrDJBu1dtKtMTUA EC/Sk5EOEDbvWmMDKXR63Uqx/GjwQCFlID3bnEZpnfBpE6BBXObnMsmBaf5hC5RxXwR3 HLEc9HkGidxPGgu1oX+xAPPTkmtK0c97Kg6XdXzFqo+ZocXiWNdVF11Nz8oQqu20I316 ij5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715760219; x=1716365019; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R04O4/+uapb3Pagg8ZXSnZwmMA9rR8+o1ejwqMPkjdk=; b=PxUre+nzHWNWOvdeRgy0NNNqK9MWDKx02F+urm8G2mtw5CyZSoZ0+X9gDOGl6N2mLW tfLzVMzgat/xN3hTpdd2PMmpyZKl+tMpM2nu+PXVjaPlzGNBMOzNc8YBdrqXUHVu8k2z vWWoCcuD2SWtbcW5AZvExXdQpHqtlyfUCOIPEDK+uH8+9MwBTK/ydcSIVx5JPgHROHbf VCqYcVwbxHEPw8+YIqGvtekRxR+KSv2CLrdCQo5xzItiE8A0UeyRCNtofTE8XfkHH9nn KsGrBjMp+nOTO1hEVoN17gHSWc0HuDdT3Jxnqg39o1qIE+Kwm9njIauTX73y5BVvmO2L ftjA== X-Forwarded-Encrypted: i=1; AJvYcCUGMq/hxZ2oxtIb4WEcz34Q+neHvlEfnMj/boyj7157UgmLhiZLRDmKC6z+F/FJHS3RKwgYiTvQVJentdBtj70iSo4LOAJDr3vr1aM9 X-Gm-Message-State: AOJu0YxpTnIp+DsJLfeIdsrcQn4yISzmq3f7xZuuZ0ichU93WoN5rvkR 6pLWDlbSHHWl1DaFVAhqsW3D+UyLRIt5qYundfz166CnD4UNSa853yuk1ZiOp0o= X-Received: by 2002:a2e:a98a:0:b0:2e6:f769:5124 with SMTP id 38308e7fff4ca-2e6f769532emr8715491fa.39.1715760218543; Wed, 15 May 2024 01:03:38 -0700 (PDT) Received: from [10.91.0.75] ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502bbbbec5sm15620651f8f.95.2024.05.15.01.03.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 May 2024 01:03:38 -0700 (PDT) Message-ID: Date: Wed, 15 May 2024 10:03:36 +0200 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 1/2] dt-bindings: ufs: qcom: Use 'ufshc' as the node name for UFS controller nodes To: Manivannan Sadhasivam , Conor Dooley Cc: 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 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> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/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cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240515075005.GC2445@thinkpad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. When looking at storage nodes, ufsHC is an exception here. Best regards, Krzysztof