Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp144706pxm; Tue, 22 Feb 2022 07:53:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzM4UVkaK95im2pIm77WgHgVSquSx0mnx+WbMOYHk4A2m+Ss2hEpcvvtBijsW/KZYLRgPDi X-Received: by 2002:a17:906:1e4c:b0:6cf:7429:cfea with SMTP id i12-20020a1709061e4c00b006cf7429cfeamr20272823ejj.158.1645545195349; Tue, 22 Feb 2022 07:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645545195; cv=none; d=google.com; s=arc-20160816; b=BWLX+JQH4FZBZy7Rl6y1/OsR27lBX54axHXNpmWq9gqzMHGx557PxAbvbE79IWRcZW 4lC4FFGt+OC6Kg5b5CuIJz1T+TQ4bX6Npkyhiv+lwrD1SnR5Pww/yO7QxrK31++/xuIj ePxkbUgRe4mMVGzr2w8AqAO7wuTe0JQBsSvbiVMYfIDjluXPqiN1GQI6ySxeQHP0TwKo lrzE5xCu/S0GiSzbym3KHkQpDSEUijujx3I/CNn+wXXb4f+gnmzMyf0NHeGzDEo7xdkd b08n7HIu+KA1OExLA4U5f+0jD347feImIOAtKVrX0R5uS2+pgiblH9bwleMFwgVceiAE SnAA== 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=oLmgNElh3QDEmFp83m0Fp5tLvQ90LkYaGsTK1HcNipU=; b=HKnhbeN6j+Uh6JKllfrIz+n+BzdjZLt0SmtJOdFKziZddjlmPbhub9avUrg/cHiJDC cT+LM1hPSBPGLQr4U1hsXROaWNJMCv9NRGiQFRQmJdKBTO2ggYV+j0u6iFObMmCE1llm GOGh3F/4cx4v1KjMtRt8Mm3O55SQuAqpoV6lci78DyELxIMrCj6VC551eAYl76D6nl4Z Nl7INdhr6tny5InWFW4Z79tOHclT0hAGd40s09nThw8Fbg73JOnUSIo5s1ydHPsOHmLd iFZWJWq/9Wm1kZw+xF+TR/2uLvvZWQW+ozO7XFO5Y6WNd85wgdbFa0r30WJd+XVbra1i WYTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=UL8lWb72; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lo1si6280249ejb.702.2022.02.22.07.52.52; Tue, 22 Feb 2022 07:53:15 -0800 (PST) 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=@canonical.com header.s=20210705 header.b=UL8lWb72; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbiBVOZb (ORCPT + 99 others); Tue, 22 Feb 2022 09:25:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbiBVOZ2 (ORCPT ); Tue, 22 Feb 2022 09:25:28 -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 29F0F160FEC for ; Tue, 22 Feb 2022 06:25:02 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 BA18B40257 for ; Tue, 22 Feb 2022 14:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645539900; bh=oLmgNElh3QDEmFp83m0Fp5tLvQ90LkYaGsTK1HcNipU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UL8lWb72vSrKHJxl0Rrd36NGjFuCicV3aAe5JhepiQVXti/gALqjd8MyfIRRKSt/4 ArsEgC2whhRO8GkejfNKV3L7XhNHKIj9igCd6DoctVs0cbCVKq5CGBedqLv/5utLwW LJPs2FWe6/qgGPc8+GSzmDwCYFPpGp30r1P+4pPGimEO/j55PHetFHwkfInLHXZpEX PSF3yQdSkTpNrYBZ35pnNz8ZHpIUV6PJShD/9lxvUA2q1xvfGdG/ccVcmSmMWwluSY MfAVOUBeZyZxqWjtbwWrWWnzDX8c/5AQIKkGj4H3ZmVjOLAF/PFw9kPaKsHhIeLkP+ pBHOFaWsTkmLg== Received: by mail-ed1-f70.google.com with SMTP id eq13-20020a056402298d00b00412cfa4bb0eso7222232edb.7 for ; Tue, 22 Feb 2022 06:25:00 -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=oLmgNElh3QDEmFp83m0Fp5tLvQ90LkYaGsTK1HcNipU=; b=E/zfP4DMvtStwt7z0fHzAWGOnBVNqb3uL/bhQOGFTy+0JlhMiCqXXcRfLXhfG6/RA8 w3VuKxO8HNRMe+xUBlrdzHKtmSG9d4Wv7AdDYUuzEfMuwh5shfstc0bGYseGp/vjh1SS 91RjppZ8U1uxkxjqntBxV8qYS52/Z4Sz0JR7rleF2nQBkhWiTsF5DyWrD5kOOvW1WG+x gIwB7PKbvVR4tH3XHOlUQjDjm3N3N7/vM59483RjShvmw41zOgMx/Q8hSVIhYxxSSFqT PZ25IiluMO6J5IAYamrhVJp2XvEcXey3D5DoMsCmESzwMWkINgpAJrvV2t0J++Uxv8Jj Me3A== X-Gm-Message-State: AOAM532h/rtxA3oSeuPizgRrwjjgUeJ4F08xZQbXJtB2hciDC2JS2mgq fMnDhDmKd5vwILs0XVWAqTDoohq1ABlePQPB+32U0jOA5tO8O3XHQMXxHISRVF8sUBxl92xxhL2 bk2pQaQW30iW068qaLERqARoy78ePgU4zCFLjcpBoKw== X-Received: by 2002:a17:906:585b:b0:6b7:73bc:5395 with SMTP id h27-20020a170906585b00b006b773bc5395mr19613932ejs.519.1645539900138; Tue, 22 Feb 2022 06:25:00 -0800 (PST) X-Received: by 2002:a17:906:585b:b0:6b7:73bc:5395 with SMTP id h27-20020a170906585b00b006b773bc5395mr19613910ejs.519.1645539899914; Tue, 22 Feb 2022 06:24:59 -0800 (PST) Received: from [192.168.0.124] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id v24sm6274735ejf.7.2022.02.22.06.24.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Feb 2022 06:24:59 -0800 (PST) Message-ID: <4401de4a-caab-c5a1-f415-d30e99260404@canonical.com> Date: Tue, 22 Feb 2022 15:24:58 +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> <19705501-2391-14a4-0eac-4b2b647a9735@canonical.com> <20220222140721.bzbspfcethml2psm@running> From: Krzysztof Kozlowski In-Reply-To: <20220222140721.bzbspfcethml2psm@running> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 22/02/2022 15:07, Nishanth Menon wrote: > On 14:20-20220221, Krzysztof Kozlowski wrote: >> 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. > > https://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp-v1.yaml > comes to mind.. This works nice, thanks! Best regards, Krzysztof