Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp687609qtx; Mon, 31 Oct 2022 11:25:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74DbdMrpLwEi4L/JPbQo0hUPfyrB0bxED1f6mr8RkdnkhijUrncYlFHpRTckqbxtnIbtIw X-Received: by 2002:a17:906:ee8e:b0:730:3646:d178 with SMTP id wt14-20020a170906ee8e00b007303646d178mr14609309ejb.426.1667240705163; Mon, 31 Oct 2022 11:25:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667240705; cv=none; d=google.com; s=arc-20160816; b=GHc6/DPPS9demyqFNajvRZ5uY3QxDrhoH/OyXOYBbFWPEibQI5tlYLtGam0nK/cUgM rgirgB8imNXRuBwR69ILV+I55/aBMdqVsxb4D+LaF9jK4u7l5I6ybRXzHq2dyb24/zsT eH2jtKmMg1pc0e8dLGK0nbOOAgWUoJLZaOOK2t5LogTg9mqSUmO1Gwkg5ShCQu5UnwEd GSL2zj2QOt2jf1Hctr0dC7YGg0Fq00XSA2cGySQDHzmaNm59Rz9i8hDesW/P+SHsZcoJ SLZDuAyY/q9GhKrLDYLxYT3tOnRk8e+MV79MZOvGk3KfG6uoZp+Qeky3nePh2D6psQWM 6JBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i6bI2G8GIEEo0BDFgcfeWu7FnSciJmuXXXHS3QIkOfs=; b=b9/6A5eXWTz/BOZYU1fbNzGwcCcDsOy5+Z4vbU88nTKecdJ3gRYzvhB0K9FYTzNwU6 2Zv2rJ0jOV3dKiT+rIb2hiV7F3uZvfNyyaUIfju7+x39Ru5OvycZJsUzu/OSCvsxQrIz lSRMkWZQ0D9zSht6+xxvFxoOAZvqO5IFFt5DTC3dqIsYjFwVc/9q0/8G1uQK0tmh4jUZ o22BoB7xsPSpTQTfFmTlDeWvE5EqamNp148wHSotiW3qUgLd1JCghB2pjC8FuLQmZH8y T8DMgjyMlTiLpQGILlPGDDybBA2+9e6tebEhfo6hvyiY9VHVpXAUblbuKT9aSyiUcfpZ mjQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GYLJ5dP9; 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 sd40-20020a1709076e2800b007ac60b83407si8238024ejc.725.2022.10.31.11.24.40; Mon, 31 Oct 2022 11:25:05 -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=GYLJ5dP9; 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 S230129AbiJaSDz (ORCPT + 98 others); Mon, 31 Oct 2022 14:03:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbiJaSD3 (ORCPT ); Mon, 31 Oct 2022 14:03:29 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60B1965C6 for ; Mon, 31 Oct 2022 11:03:23 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id e129so11341211pgc.9 for ; Mon, 31 Oct 2022 11:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i6bI2G8GIEEo0BDFgcfeWu7FnSciJmuXXXHS3QIkOfs=; b=GYLJ5dP9svMb4OtR4ddpG8ce6S4fq7m1mFNIV2Ttl46seLZqlFPwVeur7n5+ITO7Zg KgqlWPxuwvQ5CGGszgRz4BEOR8YmmcO2+e7aYai4ULMxdjndxV/F7WDcAjmii+2u03ng Ksg3Yx0yRUBnaBsk08DyNOKRxkexeJV3QuIjNJsmvBK64fideKnrc2959ouxzz4mNSy0 E1dsNDvdjTCV8U/JJFK1NtBSppUIjz8Q/zrg3Zw258BkkO2t0IWP1x3tFuYnaQ+ZBDU9 TV0YDyYvi/rH8MslglzzF+0gNh3JSFCa/h2ffTxJUDH+GkAgV+4KJ7lcmpu7K1Q9jKCu yF+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i6bI2G8GIEEo0BDFgcfeWu7FnSciJmuXXXHS3QIkOfs=; b=oW6D5wDVBajb0rH7a5/PK44KBOgqrWeJKNP7cYtZAoAbFV33KkCvcobaJixvVPncy4 XTbdwU+LpxqWVvR/B1a4Odcsin+butKcEd/mWIIh6qc+yE8RKBvFly3SHdW7VuR0PalI TxYG9Uav4RkzqTPtH9eb86Hiov/kFZFBy4n+zsRlQHnEpJZEP3y2u4R06TLqeC5+9lZM uAznhqyg0YxvIO8IcomKAW2P4Ng786RCAOB+ljHnWHD7AvDftXji3Kpe1Y5+FSPSi1HO /BJmZxBfDIF963pdXvAmiqTWIeUdWqa4NkURihyUBxUynkIUk8VnHM3LjXNDcd4AfsUr rTZg== X-Gm-Message-State: ACrzQf2yUXR8IZBWTGqmmDqE80OhYvpHzr64PWrkcPF05gIVxldbLYom rf952rTKDT6ySb0ykVTyQxz5 X-Received: by 2002:a65:6148:0:b0:458:88cd:f46 with SMTP id o8-20020a656148000000b0045888cd0f46mr13451082pgv.303.1667239402882; Mon, 31 Oct 2022 11:03:22 -0700 (PDT) Received: from localhost.localdomain ([117.193.209.221]) by smtp.gmail.com with ESMTPSA id q14-20020a170902a3ce00b00186c6d2e7e3sm4742224plb.26.2022.10.31.11.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 11:03:19 -0700 (PDT) From: Manivannan Sadhasivam To: 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, Manivannan Sadhasivam Subject: [PATCH v2 06/15] dt-bindings: ufs: Add "max-device-gear" property for UFS device Date: Mon, 31 Oct 2022 23:32:08 +0530 Message-Id: <20221031180217.32512-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221031180217.32512-1-manivannan.sadhasivam@linaro.org> References: <20221031180217.32512-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/ufs/ufs-common.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/ufs-common.yaml b/Documentation/devicetree/bindings/ufs/ufs-common.yaml index 47a4e9e1a775..5dcd14909ad5 100644 --- a/Documentation/devicetree/bindings/ufs/ufs-common.yaml +++ b/Documentation/devicetree/bindings/ufs/ufs-common.yaml @@ -73,6 +73,11 @@ properties: description: Specifies max. load that can be drawn from VCCQ2 supply. + max-device-gear: + description: + Specifies max. gear the UFS device supports. + enum: [1, 2, 3, 4, 5] + dependencies: freq-table-hz: [ 'clocks' ] -- 2.25.1