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: 1787382 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QVp6G4QmLz20Py for ; Tue, 30 May 2023 20:09:42 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229626AbjE3KJj (ORCPT ); Tue, 30 May 2023 06:09:39 -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== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@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 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: 1787383 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QVp6s26wfz20Q4 for ; Tue, 30 May 2023 20:10:13 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231176AbjE3KKK (ORCPT ); Tue, 30 May 2023 06:10:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjE3KJn (ORCPT ); Tue, 30 May 2023 06:09:43 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F5593; Tue, 30 May 2023 03:09:37 -0700 (PDT) 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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