From patchwork Fri Apr 14 09:19:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13211148 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 2DE56C77B6E for ; Fri, 14 Apr 2023 09:21:31 +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=4yzwjQj0J6kWzswofdWWiHS/yjyg7C8ieVD/Cx1Ts/0=; b=R/3FntkFvSCwKl AWwxaN6rtCRpq4XTeel23BhbWdcGmC1eTOO2jtiUaDKCGMjSFMcIAcX/ZcWKdy+8lwWtZtjlYvWxQ YKZjX1IGoqQKQl/hjKXQTs+0OzZ13Lh7YD3imQMZubiVsLksPdkK6VWLE278uQD0qzHoeTHyHT1ta czmj0GCKtrX7m8x8GL0KCjO6RdobqFjaXX8OvgUlseOKw7ZKPThEPUT8MnpbYgEpGCcOp+wXqO+SZ eE5a2iXTdNRIt3UP3Q5zbHbtbfQoTzl971N12XFWC7U12uhsXENM7Ji+e5/bmsCLuWE6gHTkGVqPJ PgV5kwhaajkbnHrYY4ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbr-008qAR-0S; Fri, 14 Apr 2023 09:20:47 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbf-008q6T-2f for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:38 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N1PLB-1qTYMD42zz-012p0R; Fri, 14 Apr 2023 11:20:11 +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 , Krzysztof Kozlowski Subject: [PATCH V3 2/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Fri, 14 Apr 2023 11:19:43 +0200 Message-Id: <20230414091947.7831-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:lkYmIKrsu5se5qvzrGx1mB5+kd2LraF0H8djqvuSD8kkSZBSPf7 YCHAFHYGDyKCn99qTMv3XBxSCPWoRkA3Z1VGjyKbYIEf+6yu3X0uXWm1PXqdTij9nZoMEp9 zRERCHxErwAcFjl6ijNXdxjU0qtPH9w9Wf3X8157GdgRF+dx8cPHnHqW3r7fBTwopu4LoSL tTrWwrfrooL6r2/Ib5Uyg== UI-OutboundReport: notjunk:1;M01:P0:pEiDW3vTvy4=;HccE/kh9FnZuYSPGfPqb6p0COat fvkFl8CTKmE502V/rV1EzgjFGOMa9EYMFQuBynXvd+IVBovvJJJVzXtVfjPOMxAgF1hHdSGOe D6drzG4SnXKXWnpvpPxkJESB62c6ddZyqrctUuEkYvY/RcXOntCPe7XvvHLD+EiDKFqAMKVVl 4JwLUzZLFU70TAKZrTKJsRay2mAnQAi7ZqlJQATjl4cPCbYxlGVKNQryLuV7TG39APZF30CZp XFtDUcJZc6T6OTHvfECvJXWCg+LW7QD0HJMoj4M+MlANkUFvqqgMCXUPkeSg580gb7C2XVolO HqUSKpT2nZI+dtWj/Cva90+F3u/2QZUY/8nJmLLd0EjH7ZchXBBfjyhDEqpIoHj8dFHITGaRT nLnLoa/fd/C88HaUIDZM4D9S3YjB6jUFkVINsvuu+iYGQKALHI15VqQ3hcVtqNREu2R+Vi9ng 20Onq31mBnIdAlTSCHiAZsjwmMKX6K1Yy6+S0yzenKURf67jnGmvISXwUN7KaMTtbwcgF5DAm IV8mWLVDdyxZp3fBusIyJ6ptN9QlgU9SsE50Uqsr7EP1lkUpAmIMdrZlBoi8RSE0nrfJbABe6 vVRCJ2xIJ7z35tQ0vpkQ0Sm3OWbgj/XmQIaxWhibqNAq61TsJ/q47CD+HPZDHmnYLNGXnCx2W RW7iAwPX4dh4NIOKRduZBDIR2+OdaEl9SnTMfqn90g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022036_171290_050D71E1 X-CRM114-Status: GOOD ( 11.11 ) 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