Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6424294rwp; Mon, 17 Jul 2023 23:18:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlETpjhTJbKfhAeN8SykLIzsTx7ddcNrK0S6kCyBT3eaUpMAT486lIObtUnxFHS7Tw/hGKK3 X-Received: by 2002:a05:6a20:100c:b0:12d:208c:acaa with SMTP id gs12-20020a056a20100c00b0012d208cacaamr11057750pzc.26.1689661104886; Mon, 17 Jul 2023 23:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689661104; cv=none; d=google.com; s=arc-20160816; b=ba88RFoBCTZx62rvF5wVZyPMBJMiJUYUIvhTFsP/R4pnjE/wVoAypC7RRH5CfRrncH 6OlqNIrw5dU6zOvLMrdOB6Gp0QzLFpy1dPwL7tpeW95b2CWX1IxNKbkrZo3SpKZt1/mn m5WuU0FJyKUmRN5mzrksWXHdJ1modbXqgvOo/twoveEyqke/ezZ0y3HuaI9UW4xObywI uBzmuKFxWuKOghWyZjlu3+bgzf8xedD7Y/z8tCBFfDKd/n5TW91jaXv8vnJ9lR6nu+o/ N7jG3MjYhYOdX/rRxqkdLQH5j1Puztlb2np4zbKM8Eq8CFPQlrN7opnD+BvBpZ/ud+Xd jl3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R3U8YGGir0L/mdYZ0L+59VSzteiUJkc0KitjLit6CXs=; fh=m/g2beIBC/gUlgiFZ33vN+mjSQx49mQUAjZ4Ony+ssI=; b=UTZBiHZUfK+mibqs0dJf+FfEqcLhx4vGSQU9PmFDwmCttH6H0upKT+PjekwGWD7BHo WhMMwabZpeVFvKPfg55SmtdxpfCO+FmdsoTYij8N3t/Ou0tzXeqm3H0D168ij/bgVRCy diXZ4H0jjClO1D6c68qOyOfLNjtDckCM0mRBqr6jJ4LnKp28JfEIMvrvKiQaz1BlNpi7 un5bR3ZgVhvWwBz2e+lXF02IMmMchdurwwKsHUIO0hl5M6zu4lZvZQK5n6FXZM65dt71 k9/AaM0S8F0Xw6/DElWNBma2wS7juJhfmuCj3FSiA6QCY8rQkMoiRjp5ZgLEzZb17QDi N77g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=asFylN+n; 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 fj5-20020a056a003a0500b0067d204bf281si1086356pfb.3.2023.07.17.23.18.12; Mon, 17 Jul 2023 23:18:24 -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=asFylN+n; 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 S231265AbjGRGL3 (ORCPT + 99 others); Tue, 18 Jul 2023 02:11:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbjGRGLS (ORCPT ); Tue, 18 Jul 2023 02:11:18 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DB710E3 for ; Mon, 17 Jul 2023 23:11:16 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6687096c6ddso3338267b3a.0 for ; Mon, 17 Jul 2023 23:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689660676; x=1692252676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R3U8YGGir0L/mdYZ0L+59VSzteiUJkc0KitjLit6CXs=; b=asFylN+n0kUr9plq5cxM4Pwogu2AbP35sKK923oj7CnWW/DgT7MjZAsGYRthUkBd4d b8Hi3b4raiSvXdLqaqVpkHASKj0XLIIetKlI7q+BvECvA1B+ANvmy6x3WLIlMKxJwiLR IxeDloi3MvSFsCTk/6O4bHX6mqTJuhrN02OLk9442NPyIlMAs5SErx0oetDzzz3a4AwN O6CdOWctwj3IIYCoaNLxVQE13xu0UOfPc/w1I9dSKbhSujiAP4XuDxWvj/eCxshmbUzd qFddJJ/n4iZuwksLcThBDYi9hpPMxtvZOffw2AhgTx8AZm8KIwLdnAjy35lm85+QNyXH TxmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689660676; x=1692252676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R3U8YGGir0L/mdYZ0L+59VSzteiUJkc0KitjLit6CXs=; b=IoYJFzd5YinSNcPqVg0qhbTxgTCbB47DgkMtF/IGigGix9Ukjxk+sWcOEzVufCkw/n mT7qbt/QbfhgWWLV8MmANocTulSYi1pGUHIhwC83ERAyYwH7NLBBdZP6hYnlDHwoEv5c Iha+E8RQWw1QApghCyENvJNbrmIXF+zcdmOyEcyH8xeyHv3cqjUCCv2eiEtMBHadOv/L FkZvyMT3D5YO4oVF2KjV2gHxRv/K003aZYqLYoN94BslmtV2xOCGdpmyNBzFqYzLO2of hNpk+5xNDMXWDOQZBHpRXi9CP9aH26X1S2bK89lagC4iSD5E9hW2E4bXB9UapO8EuRCF vFag== X-Gm-Message-State: ABy/qLbsOWgotle6On2EcgJVCRWtLe3qEyRSYpS3kTWT9xwUthpYOV12 OG03bG+icSfKa+6esjUiGFsxCg== X-Received: by 2002:a05:6a20:12ce:b0:135:4df7:f165 with SMTP id v14-20020a056a2012ce00b001354df7f165mr2429388pzg.21.1689660675802; Mon, 17 Jul 2023 23:11:15 -0700 (PDT) Received: from localhost.localdomain ([223.233.68.54]) by smtp.gmail.com with ESMTPSA id h21-20020a62b415000000b0067db7c32419sm778106pfn.15.2023.07.17.23.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 23:11:15 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, quic_schowdhu@quicinc.com, gregkh@linuxfoundation.org, stephan@gerhold.net Subject: [PATCH v9 2/7] dt-bindings: soc: qcom: eud: Document vendor-specific 'secure mode' property Date: Tue, 18 Jul 2023 11:40:47 +0530 Message-Id: <20230718061052.1332993-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230718061052.1332993-1-bhupesh.sharma@linaro.org> References: <20230718061052.1332993-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 some SoCs (like the SM6115 / SM4250 SoC), the enable bit inside 'tcsr_check_reg' needs to be set first to 'enable' EUD mode. So introduce a vendor-specific dt-property 'qcom,secure-eud-reg' which specifies the base address of the TCSR reg space and the offset of the 'tcsr_check_reg'. Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml index f2c5ec7e6437b..ca38d219e57d5 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml @@ -45,6 +45,14 @@ properties: $ref: /schemas/graph.yaml#/properties/port description: This port is to be attached to the type C connector. + qcom,secure-eud-reg: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to TCSR hardware block + - description: offset of the secure mode manager register + description: TCSR hardware block + required: - compatible - reg -- 2.38.1