From patchwork Tue May 30 10:08:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 687007 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAA7CC7EE2F for ; Tue, 30 May 2023 10:09:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbjE3KJk (ORCPT ); Tue, 30 May 2023 06:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230023AbjE3KJi (ORCPT ); Tue, 30 May 2023 06:09:38 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC29D9; Tue, 30 May 2023 03:09:36 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MGQzj-1prbxp339R-00GmI8; Tue, 30 May 2023 12:09:08 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Shawn Guo Cc: Marek Vasut , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , Krzysztof Kozlowski Subject: [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Tue, 30 May 2023 12:08:42 +0200 Message-Id: <20230530100843.15072-2-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230530100843.15072-1-stefan.wahren@i2se.com> References: <20230530100843.15072-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:xP34w7NW6X/95qKpiWd0ZWy/Dn+u7KdAa0iZBQVKN+aFTOuChgC OM80/Z5XrsCTVzcJp4Yjej44d8O9oUPcXF2EBBPL0alPlGEGw7hgPBZJ5veTHex1uv0GBWy Cx7XAEHR13aEmI9EUP+iWshZczMRdwEEJHIKbOqUOEqpVScvwT6DeYgF2KfH/Kl7mhJees6 OAgJhvgHXInYjpp9t1dLg== UI-OutboundReport: notjunk:1;M01:P0:UbvcRpKmoHo=;NN+lnzyAibCRvpnaUBfrLgr2cWQ 8xu808gZuXld/yiw8LzuN5aFDJELr0QDgBzE7+hVE8s5+e+bmwqlIGll91L7zJTqakNZYXuus sMIrOUkWFoSgW+zV9+btTvC9kq7T5UxbTQiB3tttj0C3oQhay6HzL9F7O8PmObVesrlRQW07v ZnHOu3we4S/PUyiSylUPeC2wa3ui6voXfmyqQdOY21B68Vti6jYyeVbEA0mMedv36wC9s8eAz OOIH+gRiljf8UpHirhsOe5zKUVbpEZzUmo05lDaJ211aZldDZl+twzrREYkADNcKdRraJx8Jc 4v7C6dz2I+68m++PfHEaJmw7N1u4BIKpM3X+C1hYH/QpMnvzChK8hYLAXkeg6PrzX8DAJQmxD IRfiPRXclHIlO1DlQZYTtOUwH+XC3GcTVYlW9Lv0JhjJkZbb5rdkMJeSccRgoeGl41RISCbSq YEowY260QOQ+wM9T3JwyudBihDIHiBgK4ek38jJ+h1bT3rjVchrcouMR/2UGkz+1sCxId0P2V 7VCCXf63Mvdh5Wvph68jDuvIIc/iJjn806fwNAhuZ5+A+P6OLUBFMxNZP1BbczmCOi7DmWahq RcwqvjNoPOto0ZNQjMTO2ABn914P9mO2p39keXoFbwdTYuYMBWLiAnfTaTMbMgzTtyd+WV5Fg TFXyVU8XRbhGRdO6qEOZ6TbSexRMwZ18Dcv9BiYyCg== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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