Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp355797rwi; Wed, 2 Nov 2022 12:45:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6+AeQ/SPH4EEQTblXTfGaP5pvN1CEl7JA85djposr9kzrC+9SaYVXa+2VzmedpAP/HA3M3 X-Received: by 2002:a63:2d81:0:b0:446:8d24:c90f with SMTP id t123-20020a632d81000000b004468d24c90fmr22844517pgt.160.1667418320519; Wed, 02 Nov 2022 12:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667418320; cv=none; d=google.com; s=arc-20160816; b=XIVBV0LPaPrSmNhz09KOatPXmn2ou293pcyRXssan0IFy3QzO8UwyKRQ+cAAs6I/4i +I1WQ4ahP7Qggw89OkwymViRjSNGjDDXska1HbM1nTH/QH/E0xNDIHX+yRmtaElcxrpF X+4M2IMuN0fBbYqlgKSKXR6GPLhJcxTxU0hM4tVH0gIsZmNbsm6BrqyTZ1oQesLnJbBQ tgYg9BCC47M4E0OE537n+Tnt0nVEH+k7EgHCdtaC54TSaQt+wmCOmTCHw04SeAOAH58D YGkk4zV9U6Y1k7bH5suXaQWL66OXbWeMnZyxyxFGzj+Ffo5bTgLr0c0VJkF0c/YHyaeo 6k9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AIkEh7BXAQ8EfVcaCpQmqvlq6Pnzwaj79KpKIFXtqKk=; b=wlGJz3CHQV9g7YHE3zjiIlm8sxW/g8zuq8bkd0FbJcjhXB39U0BcoaoAeXY9G2Iz0g aTACv4j/kUg1h/04pHSmASP5LeQ6Lry99i5dBh0sLBBbohsxrreUBf0wLHFsfJ5sboyh b2fl/G4HMkvlX/exbhv8uI1muMklS9akApHpXjuK2DmKY+qwlXQh588o7v2/BB8A7hn4 V1FfqpkfprR/YnJukKt67jgIn5KgTq/piWQO/h6qM8Q0ISvXjP7M6UHswSfD7rFcItJ7 bBXqdwPyLxCmdMVrHKmq2wdtW50AkM9HuPiQHiBGGMxxYi4d7W6W4uniua+yz+zaxqQ9 cksg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D5NqaoeF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170902f68900b00186c41eced7si17392996plg.36.2022.11.02.12.45.07; Wed, 02 Nov 2022 12:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D5NqaoeF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230522AbiKBTKT (ORCPT + 98 others); Wed, 2 Nov 2022 15:10:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231845AbiKBTJ7 (ORCPT ); Wed, 2 Nov 2022 15:09:59 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93C611006E for ; Wed, 2 Nov 2022 12:09:53 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id z6so11973152qtv.5 for ; Wed, 02 Nov 2022 12:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AIkEh7BXAQ8EfVcaCpQmqvlq6Pnzwaj79KpKIFXtqKk=; b=D5NqaoeFxXGLhUM1iiPWsSusfvacuFdAOm6V8ErMS9WTejX9G+7XNSYvAnzL10LFFp qE4b9Fd5IJns9Y169x8pYIfvEM0CEQ7UlfQ5ml7I2wQplpGk93Og//KQ6l66s2LeF7Ng 0QIQG2YvDP8l4BXttaBxEtpb+R11qglLFfU3r0tAVplqVAE9m+N5E+WLMYpPROr6YABD dDv1ZnUkW2HQDoRNxvZRD8RCgvwZFB7bKffmiB6fpEfwy093n055DP70XMYf0MNtGMTY cM6o2zeIscCb5OKxFh15wUhs+A2kcnIS8JdGXqbvwB/gsnlxMWnSn/3rzYMoDI8YAYem JlNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AIkEh7BXAQ8EfVcaCpQmqvlq6Pnzwaj79KpKIFXtqKk=; b=LOaZB+UbtYbUc4CjUhGSKFzXiLm6XIAehggrYexeR9r0DzVmsFv1NlP+NCqACgN8g8 bbntRuv0TY+JbE53rhe0rDbt7hsEtWC9xZ6+BzEZqCkTjCb75ATNy4DdECi4xJu2FmZX x7wTd9Sn3/yKMN6vhSpYa5jGcgHN1RTd3jGAFcWdG0LksKEW28gsu6UpfkgvbLcOF5P5 LT+frEMy5ucpofUwuAKl6rlvUDGzTHgT6Pfj0nbs5CHdlKltHJFMktRhIwWz6mmh8HxS H+OmhytUj44v5mMIcTdZtnC3Dk7K0p5NtY3nBHG+RDCxnVr9NQbZMWQFjhzRHIAAcote vB/w== X-Gm-Message-State: ACrzQf1GdS6OTzvrJnk0MLmpTvpFnowduHYWqeBjH5CgqPLcucIET9SM ZHeLCtA6r/qQBKKSEX0QxGnhEw== X-Received: by 2002:a05:622a:407:b0:39a:836:acfe with SMTP id n7-20020a05622a040700b0039a0836acfemr20925776qtx.133.1667416192736; Wed, 02 Nov 2022 12:09:52 -0700 (PDT) Received: from ?IPV6:2601:586:5000:570:28d9:4790:bc16:cc93? ([2601:586:5000:570:28d9:4790:bc16:cc93]) by smtp.gmail.com with ESMTPSA id bk20-20020a05620a1a1400b006f3e6933bacsm9098388qkb.113.2022.11.02.12.09.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Nov 2022 12:09:52 -0700 (PDT) Message-ID: <1fe8fd96-7770-0bda-c970-aa38d030ff3b@linaro.org> Date: Wed, 2 Nov 2022 15:09:50 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v2 06/15] dt-bindings: ufs: Add "max-device-gear" property for UFS device Content-Language: en-US To: Manivannan Sadhasivam , martin.petersen@oracle.com, jejb@linux.ibm.com, andersson@kernel.org, vkoul@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@somainline.org, robh+dt@kernel.org, quic_cang@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, dmitry.baryshkov@linaro.org, ahalaney@redhat.com References: <20221031180217.32512-1-manivannan.sadhasivam@linaro.org> <20221031180217.32512-7-manivannan.sadhasivam@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20221031180217.32512-7-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/10/2022 14:02, Manivannan Sadhasivam wrote: > The maximum gear supported by the UFS device can be specified using the > "max-device-gear" property. This allows the UFS controller to configure the > TX/RX gear before starting communication with the UFS device. This is confusing. The UFS PHY provides gear capability, so what is the "device" here? The attached memory? How could it report something else than phy? The last sentence also suggests that you statically encode gear to avoid runtime negotiation. Best regards, Krzysztof