Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4528546rdb; Tue, 12 Dec 2023 02:01:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFr7lN4Jy1FQLq2a4Gz4smOhW0S/sz4kNFTl6ViNJFQ04qV5Ml8k2NKO7aGgHnXQqKoKZuS X-Received: by 2002:a67:c10c:0:b0:464:52d0:bfd1 with SMTP id d12-20020a67c10c000000b0046452d0bfd1mr3585002vsj.32.1702375263115; Tue, 12 Dec 2023 02:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702375263; cv=none; d=google.com; s=arc-20160816; b=OQ6Qtv9JjBP8So0xGLwqwENjkhdMMNP0Px+tckf77Kvzc782Ilu4Pt2U1qIPztSh/G SPV5wTzD+0P4n9eoTYE/eRF/buCW6xUhKOblpqCo9EFFlwL4ELOOo6HNFA4zg1pWfuZp nIL7/8eB9ViVAMfERmkBdQYx/Fc/dcGBVG7ScjyFjpEIOCEHqpZtcSUZ8gcWW3NBCOoz 8ReKrkRwe5IWus4EV5uUYNiaNiVDXOUEA/EwsXNtmpWRDE6YK1XMsdEzyo6rggSGyfEO KK9PmeqQBMVhQh2QJSm3EkEQT8DeU9vjf7J+fIi1Flm4swhoS7pgD9F4xY42/z7wqlU1 K9+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=u7zcvh+PF2n1C9vF0Hv7uLwdF6wEGdUzAlGsplKZSSM=; fh=3ZnYyS/7nOmAc/YJAcCtPY4lR2U56F3oRwEJyYkTx2g=; b=T1aw9iZ3TGAMnVaPM6yu6Mbfg7/34rtUepg+PipRzLpqQWXiaKM6TwI1dhZh73b7M5 7wBVnNsKB86U8SPFaI9PK8WA9VUT7uxKXCr3e0X8PdQ8wGXnalxYm1mQBRdXod3uG1KK c47EItsJyMG5sHlbj0ihHY6Epo6j18sEnh5EoTqSPlLe308AUza+zp61vWZyZMgSKxcQ eHLZWz3LNMVxSOK0POESX5s8hO8AEcPpfOHjR0NQvO549/mKIO/8gssdVwhZoAAkDPsO mnOw05534649vu3POumDw28HhRR3gBzUbAkIiFEWUSt4DRRs2qqAPOvzHomidu/daiYg KJEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AWVSqEpO; spf=pass (google.com: domain of linux-crypto+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p11-20020a056102124b00b0046473f7306esi1494948vsg.527.2023.12.12.02.01.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 02:01:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AWVSqEpO; spf=pass (google.com: domain of linux-crypto+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D4E9B1C20A9A for ; Tue, 12 Dec 2023 10:01:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 617EF59174; Tue, 12 Dec 2023 10:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AWVSqEpO" X-Original-To: linux-crypto@vger.kernel.org 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-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 Content-Transfer-Encoding: 8bit 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 --- .../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 -- 2.34.1