From patchwork Tue Jun 20 08:26:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 13285317 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30F4CEB64D7 for ; Tue, 20 Jun 2023 08:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oqCds/k71dDtRo8+MdxvUCWvU4f3ZueQWOGAgyM+7GU=; b=TelRRxPiiMn6H6 0fchhvG6tUyYHu9B5Qq/61JBRKo6Q4hpKUSMVQq35CcQR+0NKo69IuTsHxqFet/W0wE2fzMFY5DiD LvBh2uDtO5zatyhffsvauToADxP9IEvoICjXpatGBb6X9XJeijLZP7P33sk7dPKWPS5mQqaZcJSGh tJpww9CwOzVT2C5QlaQAWa142EZN842HQM2tXrPwQk48/+WrOLn4ebMTITb4YfOgc4eY77rJhytWX ttiaKZvc+L2lQLjafajGR5bXFsGRyGwFoTzk462Xh2YuXBC7lQI6vrSkahdXCDsdF9z9/if9+uJAg P0C0iIbbrX4zVu6GqWbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBWiw-00AaIG-2n; Tue, 20 Jun 2023 08:28:26 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBWit-00AaGW-1A for linux-arm-kernel@lists.infradead.org; Tue, 20 Jun 2023 08:28:24 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35K8SIHg131019; Tue, 20 Jun 2023 03:28:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687249698; bh=suCPQPrzzGFfP4KenDy/T5byFv935u0r7FkdI3FxBb8=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=Ak0WeTnAy3ZxPjUz74Z60HqtjFXrMaLEDaQ8yMLB6QwaeO8JQhddUzqkVVudnbBuU AHg41gN8gHjdHJwyjGRbbvuz2bgA8FAkOxsfxj/MkvcUN5HxWYCB76dlZx29ZwiatA pXIm9xxtb7DDnxbgCA18vm43v8BnQs/IuXBEjXL4= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35K8SIjQ022384 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Jun 2023 03:28:18 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Jun 2023 03:28:18 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE114.ent.ti.com (157.170.170.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; Tue, 20 Jun 2023 03:28:18 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35K8SHdC065731; Tue, 20 Jun 2023 03:28:18 -0500 From: Kamlesh Gurudasani Date: Tue, 20 Jun 2023 13:56:59 +0530 Subject: [PATCH v4 1/2] dt-bindings: crypto: ti,sa2ul: make power-domains conditional MIME-Version: 1.0 Message-ID: <20230614-sa3ul-v4-1-7c969f626796@ti.com> References: <20230614-sa3ul-v4-0-7c969f626796@ti.com> In-Reply-To: <20230614-sa3ul-v4-0-7c969f626796@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jayesh Choudhary CC: , , , Kamlesh Gurudasani , Conor Dooley X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687249695; l=1420; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=9fFLiJzU0nj0ThkjDNPisO+/050gLX2S2toEaa+3810=; b=hZIGO2szRT25GerYQmO4Jq6Qssaj4zGAijghN1ci5tJLrgsDoC+CK2vJXXAhhaIwiyLeWR7JA UwgCauj2rEjCN9MIWQxyV3LWcvWYP0BkPaTnG3VTQbCoNRXS+hDc9SS X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_012823_477595_61181438 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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: