Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15901987rwd; Mon, 26 Jun 2023 03:01:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gebERBRHIcNxLkkbINsim/fYeIAXWAQvdmP9sNpp0c/JfSCHaIM94ZVCmrHU8JAB+TZ0E X-Received: by 2002:a05:6808:10c2:b0:3a1:c1f6:8f9c with SMTP id s2-20020a05680810c200b003a1c1f68f9cmr8541706ois.12.1687773702163; Mon, 26 Jun 2023 03:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687773702; cv=none; d=google.com; s=arc-20160816; b=IMFZfg+J7Di7MpFNfctN07VFkt2TR+knQpP/vb1Al2PAfGGbFlt2roBuiElo/thaQg qgz94om9u4nqP2PqeVPBKATAwjSHQx74euEBQL5sACam7ZT2t5dg8pXqaOcqa2//zt8/ g/Pb+AU+YLLe5l8a68VWwK5dhTJ/A5vC+g5GCw/btxLsak7fNYMvlnXTaWktBZ8brT7j V/QkZhIgVZ3Fam9JwOIvXRXVETbumsPJuCjY+UEtWcmPJZXtI00qqV3AnlOuHnp6I4Qi R1QFoVfRqwWO5R9A/UHMYEyQF14GTNvDik5YhTb23tqwDclOi5Cza71mO4YsNcAZBFB4 P1rA== 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=SMnLmOpmrSE5F08UJ/SfvrDV4QtqST5F7dDlxqw9wv4=; fh=4Wjc86K+kDGlyZBRzNtx84y6G1Ew6HuIQ7HNznSwNTM=; b=vg0314NR0rTObfqcMl9NHHefVFCaOdp7DREGPqFNJ+CBXUQKZDF29pJOwSW08CfEBH m4AnEKO+2P4vwsmIPS0bquR7Pb7pJdzzwOZXpovOGWx5U6FH2vTqmsXETr3P9TYnpnOS 6D0SE2McuAP9ZyFsccnvATtX2j53am82N+t6dI/5NCFAh9p6Lf4cpkAiz6Fs+qauPzbv rPp8AjQ+Vd3fjjDznN1Npy0N5TxvrGVzb3B0fzlCyQcQR6yBpcZxG+mowP/NbF8btFBA iTB1hY/GFsxH6fQ9PQz3KVB2XKX+hPOXkJoyK36tTsOabM3D4YU9bddr6CKeWwn9AUbq G5ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sJACjTqG; 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 u71-20020a63854a000000b0055786245b37si4903338pgd.377.2023.06.26.03.01.29; Mon, 26 Jun 2023 03:01:42 -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=sJACjTqG; 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 S229487AbjFZJq1 (ORCPT + 99 others); Mon, 26 Jun 2023 05:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjFZJqW (ORCPT ); Mon, 26 Jun 2023 05:46:22 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338A0BE for ; Mon, 26 Jun 2023 02:46:21 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-988a076a7d3so469253466b.3 for ; Mon, 26 Jun 2023 02:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687772779; x=1690364779; 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=SMnLmOpmrSE5F08UJ/SfvrDV4QtqST5F7dDlxqw9wv4=; b=sJACjTqG7lutGMp1004sWrKu1268gr46IVocwXn13ue5x+zdoM9Y1cTgkifY3qNcM3 rivbDtSWbrHyZ+4Eg5qTb813q61Tn3cC0wpH5hXHZ5B1HKCOMo4+mySnNaVIF+Iqnhub pZvdTot0iFbu04cGi92j38T2hCcGbWDz42wTIhTQirmf6pmC4ezcD2/ABKitlcBeBr4U OMfig29lcU1Z5SaiaHXwjPja+oRS5H6nqBAeHGQPBchU+TZr19ZRt0sVwuXC6MWap+KL kIpSobFEI4qkqqm9ZMENSoU/VewZxWxwl4MEdQ4/cuneRLBXxZ+lliWaRtTx2siGKA+a iBmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687772779; x=1690364779; 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=SMnLmOpmrSE5F08UJ/SfvrDV4QtqST5F7dDlxqw9wv4=; b=l5ttvypxeestXesdF0xzwbeY/iiVnwJKQ6mDySCt4+mW5smfz+IlDM4fuW/Jhj4GpI Yln2hfQu00FppUCYfn0FoMQgpUVb/1vTA/xFqx8WeQa7hl/UzywdWynDgWuWCBE+ksIc JumSh6kLl7Y3PQyj3F9Oh8AT2Rc5oiXWs6AZMLZw3D8iNxo8MFoVXpdgW7BQdLKer1tF GleVntTwgCSYW88aom0xqFa4mIoKNAwg8Ww7OABdLRXvJnAPTBabh5JlJfPF1MNS5MCm HJWHmDZMoKnEmxIDcSno1QOEVo5onUksAjca3DPkLP5tzsGHVWsgVMg0NCC2dwIytW3w VNIA== X-Gm-Message-State: AC+VfDx3TrkWc2uPGE549KmMHolX87vNfC+PNA3YcAdSe8Bi/O12M7vn JtrfE0VFHjfDyiERmsJJbjHSkfGy4tlye49/z30= X-Received: by 2002:a17:907:1c8b:b0:988:a876:53ca with SMTP id nb11-20020a1709071c8b00b00988a87653camr23447006ejc.65.1687772779660; Mon, 26 Jun 2023 02:46:19 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id lr9-20020a170906fb8900b00969f44bbef3sm3122536ejb.11.2023.06.26.02.46.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jun 2023 02:46:19 -0700 (PDT) Message-ID: <9f9afa24-ecfc-2fb2-3d47-80c250fcb8fe@linaro.org> Date: Mon, 26 Jun 2023 11:46:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v4 1/6] dt-bindings: nvmem: sec-qfprom: Add bindings for secure qfprom Content-Language: en-US To: Komal Bajaj , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230623141806.13388-1-quic_kbajaj@quicinc.com> <20230623141806.13388-2-quic_kbajaj@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,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 26/06/2023 11:02, Komal Bajaj wrote: > > > On 6/26/2023 2:00 PM, Krzysztof Kozlowski wrote: >> On 26/06/2023 10:22, Komal Bajaj wrote: >>>>> + >>>>> +allOf: >>>>> + - $ref: nvmem.yaml# >>>>> + >>>>> +properties: >>>>> + compatible: >>>>> + items: >>>>> + - enum: >>>>> + - qcom,qdu1000-sec-qfprom >>>>> + - const: qcom,sec-qfprom >>>>> + >>>>> + reg: >>>>> + items: >>>>> + - description: The secure qfprom corrected region. >>>>> + >>>>> + # Needed if any child nodes are present. >>>>> + "#address-cells": >>>>> + const: 1 >>>>> + "#size-cells": >>>>> + const: 1 >>>> Drop both, they are not needed. >>> I didn't get it. Can you please explain why these are not needed as this >>> node will have child nodes which will use single value for address and size. >> I suspect they are already defined. Do other bindings (for cases with >> children) have them? If not, why here it would be different? > > Yes, I see there are bindings that has these properties, listed a few of > them below - > > [1] > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml Please work on current development. It's a bit of waste of time to review old code... https://lore.kernel.org/all/20230611140330.154222-16-srinivas.kandagatla@linaro.org/ > [2] > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/firmware/arm,scmi.yaml That's not a nvmem provider. > [3] > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml That's not a nvmem provider. Best regards, Krzysztof