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: 13259647 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 3A0D1C7EE23 for ; Tue, 30 May 2023 10:09:56 +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=hZq3SCHrMe7ksZ YZ3T7og+BPneyxuVbwq01PpVl0pfxLL0OKkbtpEsxZAxVCGO72LsHxJXCaR7xVem5XFw8weZimTzC 7hfLkGKuzf1I+Z+LqgWHbwW02fjvDimhI+ScNjNBg0RLu7svrHa9epfhODTQ62J25jf2K2Fq1uERp L2qFqgePBECvPdgAlcLggGK8qQETOpIOTxjR6hc+zihggLvobN1kvARP+Z1y7hUGJqPJ6dJeq5/bN /nAyWGZFNbQRh0CVBCZnf9BaPwVo/EE0hybA5edVifw1Vq89PzR4qIL/kW7/OZov5FAyCoq9O8yTl GTFL/NJRi/kFn24Wj60A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3wIL-00DJab-22; Tue, 30 May 2023 10:09:37 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3wID-00DJYZ-0Q for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2023 10:09:30 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_030929_455335_8FEC56E3 X-CRM114-Status: GOOD ( 11.27 ) 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