Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4408983pxb; Mon, 21 Feb 2022 20:38:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdp5kD1q9CirEtTu3a16HFu51Y4PBI4KmJ0X6xu4L8ED3BUJdyfogY9vugypTxKvREcmNc X-Received: by 2002:a17:902:f295:b0:14f:a66b:977b with SMTP id k21-20020a170902f29500b0014fa66b977bmr10175278plc.84.1645504719126; Mon, 21 Feb 2022 20:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645504719; cv=none; d=google.com; s=arc-20160816; b=mlb6LOYGrmdI2FzkroYCnOOuGr2HgukRTgLF76NBWbQkyKWJBF8zNsqjPPOIdY0FQ4 ck/aY9+0R/fHFXHVPNhJ+2YagslhKVkvlZH4vCzWhMtZ8crQB7H0JF4Q3KuQILXSHeiE HtcQzqAYO4SEQxL/2XBo36PQ8bpqJinsf5EUwdyKOsU3c4pwqwF2QxBjIe1jGmAxQ1e4 H9U8OS4pKdV3ULS+p/+lOK0pTE9Hn4kepWrS9nKN2T/n0mUn3XX6EvV7z35T/dkLPKIo n99nvmMWrf5rBJ/DPQbAKD/HlldYV9a9nR1Ip12LqynVnJE62Dhr0D9zfw7ryjPdtWds puxw== 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=khb30gE+RkFEqmWXwauRdw21yNeM7x8VXwtb7dTjxrk=; b=J21Q4AJfrAn9RqmY4FsL2XFkYJLL3xvT1DeZYGxpJv7ypdTbks8Hrhybb2ftwhvMSj g+8OP4sXoDtm8sf68t1S92c70sGa1Blc6WIw5fgxYlyQDrbVrxqJruQYAMLC0RLUwqks t9tadvpzxP6Q+f1ly5dEt3wGZ6qzeP8naC21Ip7Rmph6YWs7olHQyC36/IbqE0pcxkbF 4y8sObNtq7kxn7hVNdLvPgXjhrGjdiyOWTNkFXHBuVgHWN+FopwRyyyegmeKAakz4/WD k8kyZwG/MJrEutR7aYkHUc0YD48bD6meDknu57MORPYkEEJaSA2CpRdbnpLs6b/ylCt8 5PmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=t7KNvlr5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s21si2551019pfu.268.2022.02.21.20.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:38:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=t7KNvlr5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CEA39F3B6; Mon, 21 Feb 2022 20:26:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358920AbiBUNVK (ORCPT + 99 others); Mon, 21 Feb 2022 08:21:10 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358867AbiBUNUi (ORCPT ); Mon, 21 Feb 2022 08:20:38 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C58791EEDA for ; Mon, 21 Feb 2022 05:20:15 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 9EDFC3F1B6 for ; Mon, 21 Feb 2022 13:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645449614; bh=khb30gE+RkFEqmWXwauRdw21yNeM7x8VXwtb7dTjxrk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t7KNvlr5/wlubIja/R1BCH3ZwjcG8zSQdxBU/37EH48lJvMdmiVNiGyOgf823LFJr b6SmvODIzTM0RoTRa9Ylb6zx8ZIYLqKohCHKg9gGr4uO3QGLLtjUis557bC7iAsmO3 N7qqjNA+LGT5i0WTfSCVYoJ1uMDFKbYaKenviqqd4h/T2+4YqwemEiW0shqoGCbqz+ 8enAkM1yhLvId1ZHMLIGpRhLqKp3dGSyx28/NEmcuu1gwsAP6bgHY0GC6Mng5ODpQq mcuQf+7c5G1/KSszmdshERWaTpcQFLvp0sCRlMy+1SVAwWU2v8Xzu+rsL8Kulc8dcB lgWQY3/SqI03g== Received: by mail-ed1-f72.google.com with SMTP id o5-20020a50c905000000b00410effbf65dso10116629edh.17 for ; Mon, 21 Feb 2022 05:20:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=khb30gE+RkFEqmWXwauRdw21yNeM7x8VXwtb7dTjxrk=; b=bkzaUcKOM9BgQyM9d+3dcHzkrod7uC09O9Uvd60oG6AwLdiiFLITzRateIIaLChhy5 kpBYJvShZM6NxDpDmYRyEBurQrnih5oH+w5+4vgSCJpm6ctWnJadv/+WqoCcocasgRPe RQAmGz9lCVlbG7jQb1QF1jH2/EbvNWGhmAGVzDVWG8w8fEWFKMndZgDPtxYbZLZuEPLU 7MBnXfBh1Rvsb2p+mzDOiLp1ME5Fcph+GlOCEcr+FGmvA4TM0uJG4cthJVkqJFQR3OGp /N4WSr2jGzVGPu5Cna5+ScY77Tkzf6gYq9FTiKUUfcNDaOdAYuoyAMmX4DCK6cKwhpAn JrCw== X-Gm-Message-State: AOAM530yzO2dR/0LFvGJgRxFzVIeRSoMKGq17H/cHHScTOovuEeOS4Vh IXbGOiFqKOPNb4t1re+k71u2wvREvtAPENJEZpMJA8AOQGcPO8lbJIcmALNSiv/rM4ynRFgKpmf azB6txsH9hVU3rWngsQvm6ouOixzWrT+VMW+ZmUZ+5Q== X-Received: by 2002:a50:aa87:0:b0:40f:28a0:d0d6 with SMTP id q7-20020a50aa87000000b0040f28a0d0d6mr21735607edc.368.1645449614307; Mon, 21 Feb 2022 05:20:14 -0800 (PST) X-Received: by 2002:a50:aa87:0:b0:40f:28a0:d0d6 with SMTP id q7-20020a50aa87000000b0040f28a0d0d6mr21735589edc.368.1645449614162; Mon, 21 Feb 2022 05:20:14 -0800 (PST) Received: from [192.168.0.122] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id 18sm5084626ejj.1.2022.02.21.05.20.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 05:20:13 -0800 (PST) Message-ID: <19705501-2391-14a4-0eac-4b2b647a9735@canonical.com> Date: Mon, 21 Feb 2022 14:20:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC PATCH 8/8] arm64: dts: ti: use 'freq-table' in UFS node Content-Language: en-US To: Nishanth Menon Cc: Alim Akhtar , Avri Altman , Rob Herring , Wei Xu , Andy Gross , Bjorn Andersson , Vignesh Raghavendra , Tero Kristo , "James E.J. Bottomley" , "Martin K. Petersen" , Chanho Park , Srinivas Kandagatla , Jan Kotas , linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20220219184224.44339-1-krzysztof.kozlowski@canonical.com> <20220219184554.44887-1-krzysztof.kozlowski@canonical.com> <20220221131340.q3hjpjevqrfvhggv@specimen> From: Krzysztof Kozlowski In-Reply-To: <20220221131340.q3hjpjevqrfvhggv@specimen> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 21/02/2022 14:13, Nishanth Menon wrote: > On 19:45-20220219, Krzysztof Kozlowski wrote: >> The 'freq-table-hz' property is deprecated by UFS bindings. >> The uint32-array requires also element to be passed within one <> block. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi >> index 599861259a30..c3afef0321ae 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi >> @@ -1257,7 +1257,9 @@ ufs@4e84000 { >> compatible = "cdns,ufshc-m31-16nm", "jedec,ufs-2.0"; >> reg = <0x0 0x4e84000 0x0 0x10000>; >> interrupts = ; >> - freq-table-hz = <250000000 250000000>, <19200000 19200000>, <19200000 19200000>; >> + freq-table = <250000000 250000000 > > is much more readable and less error prone in case of a large > set. Pairs are easily visible if split per line, so readability is similar. Not much is lost. > >> + 19200000 19200000 >> + 19200000 19200000>; > > are you sure the removal of the tuple adds value? DT schema requires it, or rather: I do not know how to express uint32 tuples in DT schema. All my tries failed. Best regards, Krzysztof