From patchwork Mon Jun 19 13:28:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 13284519 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 55487EB64DB for ; Mon, 19 Jun 2023 13:29:44 +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=y/r4WivxkwPugTmdhZbPwwLnokgTcWC30QrL3uSUcVM=; b=EniahGb7dHlIsZ XdWyR59ltOCW0J8KuhqxKB4V0sapVl+R1rmUcIa9kR6FdeatzVQrD2w7yfA5BFrVTHlHZk3HpRXYb scg2S39IOCKBMCrOPZoOCnHD/uLyJ9SmTH5L11JIvUKkSypiJ+o9BcjSKBR5B5O013YdMgZ2YG413 Vdk2O43jf21881HhSAG0lUmNxV95ZtVvGh1dh0Rci432HeOwOIMjbbC6ctguoqaLBx0KVxiNPZ7m2 eJFpg5d+CTZgGiyG6W8+ozUqRcbS396GEmgVM5FTfn1xW8ruYp/FMdYjiaF8FAez/PE4mS4dLwUDM Wvnf8nw+dhTrDJlGJKlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBEwb-008Yw3-0s; Mon, 19 Jun 2023 13:29:21 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBEwY-008Yuy-17 for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 13:29:19 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35JDTE0E071572; Mon, 19 Jun 2023 08:29:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687181354; bh=rJduMobeRC/tMg1rZKpZ/oOwoM1dMAtCWKvjPlh0XDs=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=ZthdKPMF4jYqaI2JeOB827Hq4VcAmSArfCpE+GTwB8X41b2UC6/zseeQhpEq8obQf ekT1ySOaoWZwxGSBOfKlVDxsIWVnp5e2Czxv6h56QbAVOITiKSHF41Ayp192B1AlKt C0quJKi1WkdFpSAoI51rOntZFMph5gKJpeUSMgb0= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35JDTEPP082914 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jun 2023 08:29:14 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 19 Jun 2023 08:29:14 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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; Mon, 19 Jun 2023 08:29:14 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35JDTDOV008680; Mon, 19 Jun 2023 08:29:14 -0500 From: Kamlesh Gurudasani Date: Mon, 19 Jun 2023 18:58:47 +0530 Subject: [PATCH v3 1/2] dt-bindings: crypto: ti,sa2ul: make power-domains conditional MIME-Version: 1.0 Message-ID: <20230614-sa3ul-v3-1-2eeb810327a1@ti.com> References: <20230614-sa3ul-v3-0-2eeb810327a1@ti.com> In-Reply-To: <20230614-sa3ul-v3-0-2eeb810327a1@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jayesh Choudhary CC: , , , Kamlesh Gurudasani X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687181351; l=1267; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=M3s6KmpyVsIj0WkuttZ1UlVMKN1GIG2n/jJbvX2d0qY=; b=/lo7nroG7Wz+d4nNjPuVF7Dnhwp5ArMxd4f5+IjIcq1VsvXr0AQCe+ameXJuk3FSEuRF1djRs ljYirhyeQaRAYiaC0D4e+MYx24TnU9o81nTlH0Zy8k/F0I0bqlqPHcK 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-20230619_062918_467419_274CD29D X-CRM114-Status: UNSURE ( 9.43 ) 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. Signed-off-by: Kamlesh Gurudasani Reviewed-by: Conor Dooley --- 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..88c8ee8821d4 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: + items: + const: ti,am62-sa3ul + then: + properties: + power-domains: false + else: + required: + - power-domains + additionalProperties: false examples: