Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp125690pxh; Thu, 7 Apr 2022 16:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQU+DW/QX6Lef6KsThxcN8pEXMjaCSMKP7VtUNDCFOTtgK2w5dgt1D84sc/9atRhxr8n8t X-Received: by 2002:a17:90b:3881:b0:1c7:c02b:bcf8 with SMTP id mu1-20020a17090b388100b001c7c02bbcf8mr18640587pjb.131.1649372879488; Thu, 07 Apr 2022 16:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649372879; cv=none; d=google.com; s=arc-20160816; b=FJug+AwNETEvToVulbnRholNDg4IZ/1jG5HBur04iw3VInvFdOt2MqY3DFnEbRNr0V kYrohd0fvQ4LNAWq97ADgnxEaZFbmoUh8PnYm5miDyCdXkOPVppN2j4fktOZxsKKjH7I KyniiFSvzZpkXRlDyb3CLHT6Bu/rIfiatOXj88GTbL40SvUWrGrbO2Qua2rESZVgGdxH 9pt2HGF3Z3kwNwVU/Wcj4txa+oS7IagM+GPSf02hLbPXlgEzHBkLk/xf+7XLW3dZZOoA gmpXLzPXn/nPUwvr4ytDOxOtJeUCobgioANi5W1RkJPPs2eIbAIw7hO5UtMjPz6e9jYf X5Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uqhxauvR8mCQfoS6i8uwjBu35yp97nhbeSWZ8vnrwZY=; b=cDQumrlDgGkJUDObbyOnl0yaalDmR5w8vAC1EeD/MD3GIXArPZ06CFHj16BSSKbZJz +rq5mXp8svyrtv+o8AYCcZ/scUnOMO8r/D4lHGDNGEhx4FwRun5M0HE1BO1+ImaxBWHw U7WfUSLN18Y6dl7/MrNByt2KSJTV/sSyvXkIzRpONCoATEpM+0+1D8/YR1F9vt9EXClv 9sCsMIITl2v7kW68C61/dxIYIxyx9P79hzjl4UK4VVgPzuHvEuBL+mXyJjO2+ydgfqCX 6prJjaCffNy0AjtCQi1Llp6QOZeF5hgdVXmFSbk3AETfrI8xTHHDygmLteRnmBV+g0F/ Qwcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20210112.gappssmtp.com header.s=20210112 header.b=bV88Cr4N; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s2-20020a170902a50200b00153b2d1665esi836315plq.614.2022.04.07.16.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 16:07:59 -0700 (PDT) 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=@marek-ca.20210112.gappssmtp.com header.s=20210112 header.b=bV88Cr4N; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D28514966D; Thu, 7 Apr 2022 15:38:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232235AbiDGWkw (ORCPT + 99 others); Thu, 7 Apr 2022 18:40:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232301AbiDGWkq (ORCPT ); Thu, 7 Apr 2022 18:40:46 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14C5F14F129 for ; Thu, 7 Apr 2022 15:38:34 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id bk12so3455574qkb.7 for ; Thu, 07 Apr 2022 15:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uqhxauvR8mCQfoS6i8uwjBu35yp97nhbeSWZ8vnrwZY=; b=bV88Cr4N/znjGzgB7rGsAMSx7HMUtAsLuyAIexD78fMOdCSuQ4MWuJ6OWLMzjvmh27 B6cXdE4QcijqPh4lAqbIFQ/biCEolBwl/UxDmX9z5aUx0c0ovN49h0qKtiOm/SmUy5Z5 IEpDqqhlkjAtOwgomHhNLK4qkn5julTyvpYtfEIWo6dsgQ5ivqU4W4ufglNIlUTwYGpB LvVjmvxW1ov4qozfnpoxVU8VcObOqTF+yubspktLowPr5W+rm1f+o06nEbTryAi0JGoO KfsMn8WLSmCtqFxHdzrjnRtrQBJrclEILUxOTHtjeC5LTx8obNvyFuRJEbMhgG55vpe0 tmxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uqhxauvR8mCQfoS6i8uwjBu35yp97nhbeSWZ8vnrwZY=; b=pkktEUPntBEFiXkOMONDiEciYOlyVikepdCt1UZ/00KT5idFzhD6hOpH5vJSr0Knyn a8uJx+UWhCplkvtG4+gB1Yb5/1J6RbvewFCDN6ag4b4LGvgnRejBVIr9P8ty9cN7er1P 6Z+yrha+1EsgmFkk3eTah+m/rq6xvrAftZpfI7Xrs7Extffo8hZ0nmUEt+dXLPlKHXmh tBg79Vcv5lf9ua+ackcNdxm2e85KCAc7HcnKyXmHre2yJFN94mv6PYh0wnPBFZIy7DFz 0TnSCi8ufsIItK7pQALdFhFeAADPtGRxO96t1CEofw9UzWwFSM3RDimMZOd21DTjMMno RlDw== X-Gm-Message-State: AOAM532Y7dzJnGyCQroQV2RcFmYh3H8tIWcviXQshH433IJw5oyX4EM/ s3/V+6KdILBWV4lDr9TbuaLCkw== X-Received: by 2002:a05:620a:290d:b0:67d:b5f5:302a with SMTP id m13-20020a05620a290d00b0067db5f5302amr10625916qkp.399.1649371113127; Thu, 07 Apr 2022 15:38:33 -0700 (PDT) Received: from [192.168.0.189] (modemcable134.222-177-173.mc.videotron.ca. [173.177.222.134]) by smtp.gmail.com with ESMTPSA id h6-20020ac85e06000000b002e1e8a98abbsm17018685qtx.41.2022.04.07.15.38.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 15:38:32 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: qcom: sm8450: delete incorrect ufs interconnect fields To: Krzysztof Kozlowski , Vladimir Zapolskiy Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Vinod Koul , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , linux-arm-msm@vger.kernel.org References: <20220407172145.31903-1-jonathan@marek.ca> <865ff6bc-95a2-8b39-5cf2-bb2d3f592c5a@linaro.org> From: Jonathan Marek Message-ID: Date: Thu, 7 Apr 2022 18:38:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <865ff6bc-95a2-8b39-5cf2-bb2d3f592c5a@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,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 4/7/22 5:16 PM, Krzysztof Kozlowski wrote: > On 07/04/2022 21:40, Vladimir Zapolskiy wrote: >> On 4/7/22 20:21, Jonathan Marek wrote: >>> Upstream sm8450.dtsi has #interconnect-cells = <2>; so these are wrong. >>> Ignored and undocumented with upstream UFS driver so delete for now. > > This is the upstream and they are documented here, although as pointed > by Vladimir this was rather a reverse-documentation. The documentation > might be incorrect, but then the bindings should be corrected instead of > only modifying the DTS. > >> >> Basically the description was added by a commit 462c5c0aa798 ("dt-bindings: ufs: >> qcom,ufs: convert to dtschema"). >> >> It's questionable, if an example in the new yaml file is totally correct >> in connection to the discussed issue. > > To be honest - the example probably is not correct, because it was based > on existing DTS without your patch. :) > > Another question is whether the interconnect properties are here correct > at all. I assumed that DTS is correct because it should describe the > hardware, even if driver does not use it. However maybe that was a false > assumption... > writing-bindings.rst says it is OK to document even if it isn't used by the driver (seems wrong to me, at least for interconnects which are a firmware abstraction and not hardware). 462c5c0aa798 wasn't in my 5.17+ tree pulled after dts changes were merged (I guess doc changes come later), so my commit message is incorrect, but I think it makes more sense to have the documentation reflect the driver. Its also not an important issue, so I'll let others sort it out. > > Best regards, > Krzysztof >