From patchwork Tue Dec 12 10:00:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 753188 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AWVSqEpO" Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD8D095 for ; Tue, 12 Dec 2023 02:00:50 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40c2bb872e2so51072985e9.3 for ; Tue, 12 Dec 2023 02:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702375249; x=1702980049; darn=vger.kernel.org; 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=u7zcvh+PF2n1C9vF0Hv7uLwdF6wEGdUzAlGsplKZSSM=; b=AWVSqEpOPI02wP3m3EvpOhx3qEz5W9lHxdaoleMcX/8eCkPERlhh2q8OZNPbTKn/V6 d8llbCGuSnucdCv1bRcu/bWLTbUzPwYaFSiBh5E2UL2KU7vLSexi3cCGRsxDQS/d6R0/ CfJuKGeR+IW+01td6NA7ed+aYjmc2IfgMQmk+EwZSS9tLFgozNaQnWcsIDaJf9uvoLLW T/VY82yjuyIFJCL7FZn9piP6rklk8FtoRtM8IhEDwWCRWTzH+ZhF7aJdzJzire5VW3wX x20UVQqPUkDU96z6XuE+QSGZazV0IbgIvtYD8N3X0LOiqJK5M3uTzIsyHGlsEWMc2Ypc NtKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702375249; x=1702980049; 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=u7zcvh+PF2n1C9vF0Hv7uLwdF6wEGdUzAlGsplKZSSM=; b=S56GE2/l0TIfthE1ERANAXLnNl4Xn2iDmDzKJKNVJ0GoV30DOPwAYTeMVbNc6rPS/I JJjTyoS81VuCDhhKHcJkagru7N9WHmIiAGeUhPXLvjUY4G3AdReB6syi1W7RVsPkiSHf d1Mk+UnNd0vuIAQq9fqhY+x48m7tNRndV805FCSy8nWlfNQhz50c4WJ6rO+lMTDXKiqH meZebWVAoTvMJkpkSOQkseZNqFVRYwdWxY/ocSfg8u5T0DxQCAdB/GJWCwwKlkH4wuup WjBhxtreHOZU8cM1bCrL4C13NBBDdVL9Mnc7e7WnMjHZh3C0lUcJv645qQCnl5JolFE3 tQkA== X-Gm-Message-State: AOJu0Yw+UmBQxrvYih7YNs65FMtFGKoaNhQabcdKhSSIyJ8NuNfC6ChJ QGgREnVzaxAOc9voHjzApDFf3g== X-Google-Smtp-Source: AGHT+IHVuObqgQ1uGajej2zjnMbMY37a8r1XgrMEtKQoMhIOr9JFO1epQhGC1iWD/hDguq78tHv1uw== X-Received: by 2002:a05:600c:44c7:b0:40b:5f03:b3cc with SMTP id f7-20020a05600c44c700b0040b5f03b3ccmr1492585wmo.238.1702375249323; Tue, 12 Dec 2023 02:00:49 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id az27-20020a05600c601b00b0040c34e763ecsm14918912wmb.44.2023.12.12.02.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 02:00:48 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Thara Gopinath , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bhupesh Sharma , Anusha Rao , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] dt-bindings: crypto: qcom-qce: constrain clocks for SM8150-compatible QCE Date: Tue, 12 Dec 2023 11:00:44 +0100 Message-Id: <20231212100044.26466-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212100044.26466-1-krzysztof.kozlowski@linaro.org> References: <20231212100044.26466-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 All devices compatible with SM8150 QCE (so SM8250 and newer) do not have clock inputs (clocks are handled by secure firmware), so explicitly disallow the clocks in the bindings. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/crypto/qcom-qce.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 6435708da202..e8c418b614dc 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -131,6 +131,17 @@ allOf: - clocks - clock-names + - if: + properties: + compatible: + contains: + enum: + - qcom,sm8150-qce + then: + properties: + clocks: false + clock-names: false + required: - compatible - reg