From patchwork Mon Apr 10 20:57:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13206769 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 7AB93C76196 for ; Mon, 10 Apr 2023 21:05:08 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/p6uc3RaXhhXFg0wYn+Lpz5/jWfHbBQg9Nj95msqziI=; b=v1IuespeNh5Iuj WwobJPE/MpOc7Rhi4R8yOV9eLeq/KhqUrDrUhRxM9vlSnfupqEeGldREzQ8fJg6H22vwjX0W5Cxr1 KLM9UMwpvBdQtvPfJiLmJyTEky8cq2P2xh/G74CiJBXojZYEuXkjr6aIacMOhnsgWB84Euv0D5ZEP PrU7d6ReX13UWWpjZ6/PM6gbDPTYoQnZrJH2ba0PfpojzGOr0DmZp4lVjhRb550U725XSCLGArSU5 cEPTNUrXRpPU7BdEFiA13DnlJLQC+cNeNXzn2M6XmR3JwVQ69P9t3hFjWESFy4cFAcr+/RuxSAXCG 51Lx/arwgOBwq/htiifw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plygW-00FvvS-1t; Mon, 10 Apr 2023 21:04:20 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plygR-00Fvu1-38 for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 21:04:17 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MlwJv-1qDJ3K0TsR-00j5dn; Mon, 10 Apr 2023 22:58:25 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren Subject: [PATCH V2 2/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Mon, 10 Apr 2023 22:57:59 +0200 Message-Id: <20230410205803.45853-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:u4UCiJkTnoSzdaA3kq33v+s/Pi1vopzInEGk01LNGa+mKCiScvd y165hMXMv0tjOC6jUzkbAG3kGIj24s7q8e3etyYqgt7COomH2Q/CZCWDD12B4MEnTskbY5G D8faRUTtU2l3pO8II9uZJjLIkz/RbZUqkn5gF9V+fSaIlWupGzn88cUBcuTI+poCo4gaoKH RKR5Dj/Wf57UwjIeklo4g== UI-OutboundReport: notjunk:1;M01:P0:uPe4LuIhzNw=;I9mBFXOt1tQurNJRrK7lQtPDsti 0PkJbZEZofsxm+QAk6z5fLw/B7HK3VSQ0CnCd1IqelqnV7x5HRHD+t1aPFfWHzpvuvULrYBEM MXJoyoc4eKKFoY9w0ylDFw6UgEEPlxp9yrJcC9PAgKwv+/NZXSKinSEPUxlliIf/qlgXNUC2f 9MOKfzX/U92/IJO16eiHQA2WE1VWXizwndemS1Z+HkC2CB+lHGi+SILuf6uuoI6CzVg1/ae+G 9NVDUsXhrfYCeaKmqVttjHNBRxU6Adujqu+dzoZGcR1nKXdrZC4ohYEuWpF/7LKgJHZ2wjlU/ JUeY4hFz3EFW91JaAU0SwLBd36m0dnXKITr2fzkJkVP19NbB3ZovtXzKk95FMWltZRk9J/YTx 6uhkWyjNMIGlKxTsv1krFeVv1DGITMBLal6DMILe5Bvd+TvsY2lL/rKRGX6wqXP1BzgnIswqp 7Sx/3+dmtgFoZY5bN7Ie0lRAhf2m5wvW+H7mRJoCqUvlvMfg7mjeuiagM66Ilxee7Obn/mYfD WLQUSW/0vEsnBJ18Lw6haFMR0z1NbXee/Kx6pxBHHNAhWJmq/f7ykl69J9xo/LmR9zoh6xbkk cThD3eKbgjJZHGbjypkUkDMOcvF3yIs0guydPy/aeqrF7bwiv0BBanfkzXUbWQsbp9EfjxhPZ Jx2okCxU9DxHHFxcgC/DD5HjlP/mZFgLvy3CQkHB5w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_140416_292663_4218F7F9 X-CRM114-Status: GOOD ( 11.35 ) 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 Currently the dtbs_check for imx6 generates warnings like this: 'fsl,imx6sl-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp'] ['fsl,imx6sl-dcp', 'fsl,imx28-dcp'] is too long or 'fsl,imx6ull-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp'] ['fsl,imx6ull-dcp', 'fsl,imx28-dcp'] is too long So add them to the devicetree binding. Signed-off-by: Stefan Wahren Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/crypto/fsl-dcp.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml index 99be01539fcd..8dd36c2f76fd 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml @@ -11,9 +11,15 @@ maintainers: properties: compatible: - enum: - - fsl,imx23-dcp - - fsl,imx28-dcp + oneOf: + - enum: + - fsl,imx23-dcp + - fsl,imx28-dcp + - items: + - enum: + - fsl,imx6sl-dcp + - fsl,imx6ull-dcp + - const: fsl,imx28-dcp reg: maxItems: 1