Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2907715rwo; Mon, 24 Jul 2023 03:19:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlHpMwEvlMCL3RAbijRieQP2hihsBPkId7UwGz38KOpNCWhdNyhdDN0wXvs7nlm528nwqwtv X-Received: by 2002:a05:6830:3a16:b0:6ba:a812:9e0e with SMTP id di22-20020a0568303a1600b006baa8129e0emr6628351otb.20.1690193963825; Mon, 24 Jul 2023 03:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690193963; cv=none; d=google.com; s=arc-20160816; b=lBh6aJMpDtvjL2TCatHT/RzsRj5HB6e4KNWnnNBgReSt5CrpAPzksUDomlGA/Yr2H3 s1hiwwbDFWeMa45ujNnKRfHSi1osAukJ5GOsr86KskV10GFtQvbXLXsh7X9wu/K5yrV3 L7BNUN3bZQF6jN5nOi7B9e7obYyJ4vsJAJtGYSUKk0mFMQtIPpRq2x807ap1koroNGdF fS4UTdftTlUSVL7fxq3LXYVbdesfVMpcNjuKdiuVrhej7uJLT22e1rHf4m8G0WRmuq9V imY3UoAgFIw9Caw6wyuKGpgkg8/aY3i2QIOp6BFU49NDCI7dLNCC+bXQvY6ExyzRg9Wq C6cQ== 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=BEO6K3MUGMeWz06k3JG+LekMxAqNYPl7y4IghbUxOUs=; fh=99KRlevYrwAah9fvJuFiOBpjLCi9FH3e2QQ4SQ3/bIU=; b=am9gmCNLEGtJfJP9m0d/ZvPZd7j+VRM7k+aFsmiAuzQ7UU5k8Zs/wzhjs32M/Ii7wI T79sXEFevfkUORk6RV9NHMHk4zbs9SErsA1lf77e4IUrl5a7yd2UroKE8qNq4eq4zx1N bkT3rkhY+5jVgLn2fjHA3OwAS0ulsfSWNnGKPRSVf9+5ZMCovaEi7VBBATB3ZtuKRf+8 +NemOEwbkRLOvCpthhpm0G7Pb2c0sWnqRicWh0OqYXJ7mHFmftdMuKDxOwZcECHSargU bBzqiXeSFZgBJj/G2GYZBthFisdWj44bglkh1F/Df7Ppe9xBIJiwrc3sy/+xLWV0WWx4 lezA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ThRQSvMF; 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 s8-20020a63d048000000b005633498bbf3si8376024pgi.290.2023.07.24.03.19.11; Mon, 24 Jul 2023 03:19:23 -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=ThRQSvMF; 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 S232323AbjGXJwN (ORCPT + 99 others); Mon, 24 Jul 2023 05:52:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232312AbjGXJvm (ORCPT ); Mon, 24 Jul 2023 05:51:42 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36627270F for ; Mon, 24 Jul 2023 02:48:34 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fba86f069bso6028972e87.3 for ; Mon, 24 Jul 2023 02:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690192084; x=1690796884; 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=BEO6K3MUGMeWz06k3JG+LekMxAqNYPl7y4IghbUxOUs=; b=ThRQSvMF4hkuGbp12uIBlSjLghc6Cg8fEXjzF0dIjh2iGOEmCWpnOel5y5RaoQqIrq Zf667huUVYFn1QIpt+F4KN84zqD1d0V4rdfBQzvFiRMEnji3JUyLhfi6dIZMA8CV9N07 oaHV0kz8cqhWjW3+rXUHwx9gqNnRdl8q0aXadZE2kVsqhy0K2R2rchRsuri4RLLEDAn7 iIMejuMsIjqhmg9zDVL4M7ujYKK2OolrJC2YI9a2Mi0PBBTMNMrxEIq2EUL9SToWClvY G/pJPimyhYiwZDhDrw6J9eXOvHHDT4MS43mFydtIu7kqv9kEVGILIDr19fgaFyF8b020 AdEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690192084; x=1690796884; 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=BEO6K3MUGMeWz06k3JG+LekMxAqNYPl7y4IghbUxOUs=; b=LXlQN7//rvPqxq+X78dOagkZdpLAvZNz+O6OjZBLPcTNMl7UKvZXTluGtqolh/0q56 xAiOoqGJZByRFWS2kOcxloMu0uiUv/q6S+SdJNPfc2azAzJrkpuDTuVDLNO272eP8/D2 WHNSi+Np8pG/axokzCLTuQDzJ3BGDUGkzp/2p+8GyCSvweyU7Y9FNZpy/qfXmQTPbe8O EptCuyAkmeLV4WKcyBfXSAGBiv7/TdylHGQ/btQFLn4snD8sZgEZRhx1teqUuCwwmA2r oILtx7ONS2Jn5xatVUN50QDNlN051I6WcDIrDxYe9U3NNTjAlnqZ1xHmh3GQ6sb8W6q/ 6Exg== X-Gm-Message-State: ABy/qLaYPGdogkR0YRwN6q6UWroJsNzN4QLp6rJfxF+1Eq69l1MvE+G3 f/L3aeKJgL7Ll02crJ9TZ9O6/g== X-Received: by 2002:a05:6512:ac2:b0:4f7:6a40:9fd7 with SMTP id n2-20020a0565120ac200b004f76a409fd7mr5377613lfu.47.1690192084595; Mon, 24 Jul 2023 02:48:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id p6-20020a05640210c600b0052217b3a10dsm3252027edu.63.2023.07.24.02.48.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 02:48:04 -0700 (PDT) Message-ID: <63433b17-df36-78e0-30da-cd1f4bb9dedc@linaro.org> Date: Mon, 24 Jul 2023 11:48:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v5 1/2] dt-bindings: nvmem: sec-qfprom: Add bindings for secure qfprom Content-Language: en-US To: Komal Bajaj , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230724082946.7441-1-quic_kbajaj@quicinc.com> <20230724082946.7441-2-quic_kbajaj@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20230724082946.7441-2-quic_kbajaj@quicinc.com> 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 24/07/2023 10:29, Komal Bajaj wrote: > This patch adds bindings for secure qfprom found in QCOM SOCs. > Secure QFPROM driver is based on simple nvmem framework. > > Signed-off-by: Komal Bajaj > --- > .../bindings/nvmem/qcom,sec-qfprom.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/qcom,sec-qfprom.yaml > > diff --git a/Documentation/devicetree/bindings/nvmem/qcom,sec-qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,sec-qfprom.yaml > new file mode 100644 > index 000000000000..1425ced36fdf > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/qcom,sec-qfprom.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/nvmem/qcom,sec-qfprom.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Technologies Inc, Secure QFPROM Efuse > + > +maintainers: > + - Komal Bajaj > + > +description: | > + For some of the Qualcomm SoC's, it is possible that > + the qfprom region is protected from non-secure access. > + In such situations, linux will have to use secure calls Bindings are not for Linux, so: s/linux/software/ > + to read the region. > + > +allOf: > + - $ref: nvmem.yaml# > + With above: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof