Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2206028rwp; Fri, 14 Jul 2023 02:29:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlEFadjYUfYl5BAoWZlqlz/hrGmVNnlPhl9emTse8WGHJJk8wFEE/eIn66nXm+L0NBMSZMxO X-Received: by 2002:aa7:d507:0:b0:51e:1a5d:bc8c with SMTP id y7-20020aa7d507000000b0051e1a5dbc8cmr3423530edq.42.1689326976272; Fri, 14 Jul 2023 02:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689326976; cv=none; d=google.com; s=arc-20160816; b=BtPrSN6IOlts/akN1XZlTmy1kyT1Bw/YmKdYyFHWQlEV6S6hzi7RDRI8440qjBiNKu KSgQWMpY5dyrQ+OFM6W9eNNyTAsWCmUXwYcDoOhbPhDne72SLf4RTU2/8YTHSrp7jUCx /4pd5ZdlAVuDeAVcdPkZRoPsyFjU8BehryyE60iKhafwVN48wf1nkMdSTgBga6DiqM78 sjgOQjJDsaQMsdw4QMQNVt5pIWleXg9pasw4obBw07GGcMrqm4x05I5TPYlc5UBwKSO6 ouvi/DAFqWYyOjYFs74SYaH8gZdVnZFQ5hkHLxZShHcDyHci7aN4sUb/cVowmN7UeZOj YIVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=suCPQPrzzGFfP4KenDy/T5byFv935u0r7FkdI3FxBb8=; fh=5cGUcKShEfnF6s4kkSGX7+fUibHN1g8sPGNFKw9ztrw=; b=e0ayqb5hBhnqx/AxQWxgF7GFh6jsPwOkdYxIVEqU58UpnUTrnNjlp+LdV0B/TcloIe BRX40UnljwBvQm5b6lGwdVP7xONIUxqFANbKXAaETKMLcMQZ0yxMW4VDVi1jx9G8xMw4 s+QhDmWPFIrF+wgnJOVUDcuVgPNlkDQlTiscTSlV3zXgTDi/AtZk4UCZB3MDvImpY7b8 wL+Er0wIsc75SQitya+l5xkW9+C3bSIebuRgDRio14OD5sugV25DFFuXRKzfDOE2Wld4 xqzDE7bhmrgtl1Oynh/E/GjwxxZxeV6327St/3vWeb2CJPMcU7UxC0PEH/INfYmG+11B D9pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yDsraB1R; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020aa7d398000000b0051dd3e8fc91si8325178edq.67.2023.07.14.02.29.08; Fri, 14 Jul 2023 02:29:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@ti.com header.s=ti-com-17Q1 header.b=yDsraB1R; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235778AbjGNJOB (ORCPT + 99 others); Fri, 14 Jul 2023 05:14:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235755AbjGNJOA (ORCPT ); Fri, 14 Jul 2023 05:14:00 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E514270B; Fri, 14 Jul 2023 02:13:59 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36E9DbiU084105; Fri, 14 Jul 2023 04:13:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689326017; bh=suCPQPrzzGFfP4KenDy/T5byFv935u0r7FkdI3FxBb8=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=yDsraB1R72M5YVE5a/ocP3xlY06PBTiKS4HLZ8jGe4AA6yZWQ4hiHoGJAtQTuwjgF qL6J2cMRa9zfWHMyO1cU/M4bkyAWNVwH7zyD8/3j13ezyenHjT4w8KeNzUULNufPo4 2BRjjrB0RGFNpr5nAh3wB0QhOddyRxdDMYrX6ODE= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36E9DbRC003874 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Jul 2023 04:13:37 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 14 Jul 2023 04:13:37 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 14 Jul 2023 04:13:37 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36E9Daxl098589; Fri, 14 Jul 2023 04:13:37 -0500 From: Kamlesh Gurudasani Date: Fri, 14 Jul 2023 14:42:41 +0530 Subject: [PATCH v5 1/2] dt-bindings: crypto: ti,sa2ul: make power-domains conditional MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230614-sa3ul-v5-1-29dd2366fba3@ti.com> References: <20230614-sa3ul-v5-0-29dd2366fba3@ti.com> In-Reply-To: <20230614-sa3ul-v5-0-29dd2366fba3@ti.com> To: Nishanth Menon , Vignesh Raghavendra , "Tero Kristo" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Jayesh Choudhary , Herbert Xu , "David S. Miller" , "Tero Kristo" , Keerthy CC: , , , Rob Herring , , Kamlesh Gurudasani , "Conor Dooley" X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689326014; l=1420; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=9fFLiJzU0nj0ThkjDNPisO+/050gLX2S2toEaa+3810=; b=3944vR9N2XayRctH8o/k6T8iHxdc9wOyUzVty1QefPpam/O4YvGyJuyj0AbKeiRtviCgLMhCs gfMmMeXBhe7A5DnlKVh960ZhcxSaBiP5EX68pveLBOC84hKudbTI26N X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-crypto@vger.kernel.org Devices specific to compatible ti,am62-sa3ul don't have control over power of SA3UL from main domain. "power-domains" property in crypto node tries to access the SA3UL power, for which it gets NACK and hence, driver doesn't probe properly for those particular devices. Make "power-domains" property as false for devices with compatible ti,am62-sa3ul. Fixes: 2ce9a7299bf6 ("dt-bindings: crypto: Add TI SA2UL crypto accelerator documentation") Reviewed-by: Conor Dooley Signed-off-by: Kamlesh Gurudasani --- Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml index 77ec8bc70bf7..f0ef7685550a 100644 --- a/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml +++ b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml @@ -66,10 +66,22 @@ patternProperties: required: - compatible - reg - - power-domains - dmas - dma-names +allOf: + - if: + properties: + compatible: + contains: + const: ti,am62-sa3ul + then: + properties: + power-domains: false + else: + required: + - power-domains + additionalProperties: false examples: -- 2.34.1