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 From patchwork Tue May 30 10:08: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: 13259648 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 B8DC1C7EE29 for ; Tue, 30 May 2023 10:09:58 +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=ww5+HAI95RmvnBNSq9Hgw0ZzD6avT5/KPU8VZxxo314=; b=vDnbzs77chq06U hg+hIhYmvOFhm70N9qgUxJY/Zsfvgy4Y6Yph/8FLVk2R9MqLlQU0Wu//ocV9RjejLsApNIa8vuxdo 6zpCnoafdPkSf5xOaffLqLtMYvv5EwurosGSAJCCmp8HHcUEApN6xcyIVqdtOee5RmIGfJuHGXL4d U+yl7q18W5IZUgkSRNTPg4PgLV2iWbaZ05WaiKFb89HR+6/PhmBkVo7jVb5Kr8OI4GQTLIiaNoJbZ PLhy5q+5Wfz9EGQY3uYYlWem5j8vBgrr6OQX3xpe3tH0UfRdiT9whWKLmv8q7lqRFXvyHV9QkWA19 W1SrkeSGPphFkoTt2OnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3wIM-00DJau-0O; Tue, 30 May 2023 10:09:38 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3wIE-00DJYn-2H for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2023 10:09:32 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N1gac-1qEl5B15OC-0121IH; Tue, 30 May 2023 12:09:09 +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 2/2] dt-bindings: imxgpt: add imx6ul compatible Date: Tue, 30 May 2023 12:08:43 +0200 Message-Id: <20230530100843.15072-3-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:q+6glmaBLTUjizXeKRScM+ThD4mzq5bQPImbRnYuNw8FauQ0lb+ jXdEnpleoDdFRUXr73DrVn4cbennLfQOBxp8n8uljUgB0rn3s1QEU7qC6yfJD0y2uMinpaq EjAo/a+3MrrCGf13y7uwHIGdkuYzV8tyzbtCGLWJz48PQmgEhmXyxvn0pWlhMOQUHhVDsjS aQyASebSuJcP0uJnimhew== UI-OutboundReport: notjunk:1;M01:P0:6JsSqUpKsQg=;LuYs2rRX5rdwDRMVXWTFSE4j3Vm Cg9nHmh1jE7c8FEvQJl7dbq5iAGCQSBk9ldl0JOiXykrpkOc1T8+HW+kDUjgGt888s5Xuaa+F q8F86TVVbf9Ac31OpdxBBNdyRhfoQmoSMgFd+xeQKvVGf6eDcrbE9FSY/cmLTIh43oeEF4yCg VD63RfaSYVNbN5vusaGJv6uMmS/JEc4hByCZMGMul//BksgYpq3gyAa5UMCq539lhDuCQLVP9 ulGOsqt94023ctjxyny+AtvAco5df6kS4PmDQZL/hllp/AzFSD0qLNcfzyK+HG0fDWuuNts/v 9QkszW96oGzF0Hqs2FTmWflKGeh5Y54XDTkciwt+9bC6zUoiBj9jy+r986o2GWC5GNMgt/wJd r3qQUCccUL9lr4w3aWOKaM++/O1X6KXi5RwO7j8+kArlTnJHcqzzt09KAN3OoZky8JOHewlT3 Fi97Kc5BpwHu9S7MR+bGDLDDRmnkZGI/GDYt3LE6tlQQdv4/pniS0O4qS7KxTaV5zTu4uII1p mPWhMjJFC6gVrp2tju06Y4P4efRJBYpj9a2OGBGTjp4ty25RVLUHMN+jjuDi7v8s3InF9R6q/ yLiVU9YWeCIZUhyzLCTztQOSq40FoRFEFQU6+nDqH6ue+aZv40D4hiCpPE+f58qjJpzQ8BstI NgPlOb8Y5uzXduHoQSNfHXLTdFNrJ5AAPU1L/jYvzA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_030931_028719_369138E7 X-CRM114-Status: GOOD ( 12.44 ) 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 imx6ul generates warnings like this: ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long According to the timer-imx-gpt driver all imx6 use the same imx6dl data, but according to the existing DTS files the imx6ul GPT IP is derived from imx6sx. So better follow the DTS files here and make the imx6ul GPT compatible to the imx6sl one to fix the warning. Signed-off-by: Stefan Wahren Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index 716c6afcca1f..685137338ac9 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -34,6 +34,9 @@ properties: - fsl,imxrt1050-gpt - fsl,imxrt1170-gpt - const: fsl,imx6dl-gpt + - items: + - const: fsl,imx6ul-gpt + - const: fsl,imx6sx-gpt reg: maxItems: 1