Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3367848rwo; Mon, 24 Jul 2023 09:58:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEAiHwSgnRJaZ6I1AHzYctFLUOXOLU5v2HeeX4+XcYN6QtMhfOehqKy0ucu/Sc801j7b5TQ X-Received: by 2002:a05:6358:5295:b0:132:d3ea:f225 with SMTP id g21-20020a056358529500b00132d3eaf225mr10013402rwa.24.1690217924218; Mon, 24 Jul 2023 09:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690217924; cv=none; d=google.com; s=arc-20160816; b=xj9GZM6q2z0xWW1Wb1ZILL9DsLFKdEaP2ryJ24WPQ3OfNSmdKKCsT4wU2Ue8cgmATy Y9NNAfMeV4mzuJ9LPtlEDk8yir9LtromVnB1E8UsQcNUDBKohogicNf6jtmhntATLcVj ouwT0KAf0rh2spAnjhcwWocBplWJ/PwkfZ0RFjwVqJjT+Geep4qezZBwWkkXc2Qp4FKX rXm31TJ6R3JQIBuaZ61Wx+BtOskOCS28wGOYwRajEJ/BFX0d+u146iuJQ6dyqgV7j/Wu qbMO0eG0yPynIAHMfCv3A/Hyz+TE5boLk64KETdZKpwMR5n9tDRjCqz4UmOXm9JCvVil iaGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J/1A54UrbnLwjoFDugLDlJ2Tk5ZoBNw19JPk+14nDnc=; fh=iTa5zGVWebPsqjxJIH97xTRe1aLzmnJ0MebivEes9LU=; b=Re3vKD0db0nI+zd0PP7lHxJsSmJm7Z/VtRZ+M1Dcop49/UgWggfDA6aaDvniJy55Nn 336iQfJS7jo6XO7nh3pcV6TSLJz8gxQqyBfKXoJcliw3ED7AJLBUfC6tQD4p90e1ItgH t8xW4O991n6VPy1Zt/CdBgBn+rrEejt7v6V9IanXZW4jWd0ZBmCBOGlj9V/Q3fVqprix xZHO0QUiqNea9O+7JxlfYuPTFklqe88ReSjgrUNOorB8LdD/nhFZBeoRQ3LhQRhggBnB 9Qj60OsVV2I9iYmeKcyd87ePJZJxnDm0HMpI5lIcCk9Bd98IjVXlqQ4mo3aZWd7dxPMk vc4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p4Ynrqcx; 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 h69-20020a638348000000b00563adca5169si2934121pge.741.2023.07.24.09.58.22; Mon, 24 Jul 2023 09:58:44 -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=p4Ynrqcx; 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 S231712AbjGXQpr (ORCPT + 99 others); Mon, 24 Jul 2023 12:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbjGXQpk (ORCPT ); Mon, 24 Jul 2023 12:45:40 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD04210FD; Mon, 24 Jul 2023 09:45:36 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36OGjMDL014257; Mon, 24 Jul 2023 11:45:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690217122; bh=J/1A54UrbnLwjoFDugLDlJ2Tk5ZoBNw19JPk+14nDnc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=p4YnrqcxOJIObrcxUaMUcbN+rp4yajyI1LSykNv8TAI2LYHBp/Z1H4xoIYTiMupa+ 1/XIH3P8d4a+edwwXU1OuPpmwjb1j2UMpV1/zgK6QhEZZl4SaXKIV8bxJYZkTdVrm4 zRC5V6coW1VE4xrK0ET24wcAdhNDNAxO8WZdFZ+Y= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36OGjMSq119754 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Jul 2023 11:45:22 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 24 Jul 2023 11:45:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) 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; Mon, 24 Jul 2023 11:45:21 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36OGjMwE102315; Mon, 24 Jul 2023 11:45:22 -0500 Date: Mon, 24 Jul 2023 11:45:21 -0500 From: Nishanth Menon To: Kamlesh Gurudasani CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jayesh Choudhary , Herbert Xu , "David S. Miller" , "Tero Kristo" , Keerthy , , , , Rob Herring , , Conor Dooley Subject: Re: [PATCH v5 1/2] dt-bindings: crypto: ti,sa2ul: make power-domains conditional Message-ID: <20230724164521.tkyxpivqtsf222hb@litigator> References: <20230614-sa3ul-v5-0-29dd2366fba3@ti.com> <20230614-sa3ul-v5-1-29dd2366fba3@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230614-sa3ul-v5-1-29dd2366fba3@ti.com> 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 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 On 14:42-20230714, Kamlesh Gurudasani wrote: > 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(-) Herbert, Do you see a problem if I pick this patch via TI SoC Tree? if you are OK, I'd like to take the series to keep it clean. > > 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 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D