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: 674449 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 A11D3C77B70 for ; Fri, 14 Apr 2023 09:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229927AbjDNJU7 (ORCPT ); Fri, 14 Apr 2023 05:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjDNJUt (ORCPT ); Fri, 14 Apr 2023 05:20:49 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5AE176B3; Fri, 14 Apr 2023 02:20:47 -0700 (PDT) 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== Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 Fri Apr 14 09:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 674448 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 EA304C77B77 for ; Fri, 14 Apr 2023 09:26:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbjDNJ0N (ORCPT ); Fri, 14 Apr 2023 05:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjDNJ0M (ORCPT ); Fri, 14 Apr 2023 05:26:12 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 769122100; Fri, 14 Apr 2023 02:26:11 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHndY-1pbil01MKE-00ExRq; Fri, 14 Apr 2023 11:20:12 +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 4/6] dt-bindings: imxgpt: add imx6ul compatible Date: Fri, 14 Apr 2023 11:19:45 +0200 Message-Id: <20230414091947.7831-5-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:egH7C3VWWiwX5h70heHyF3Hbrr2woAXkBy8iCnJcYjcN37pLXtw 8N4bFakSW1kRpwArx6vnh5b9DBGDCC/Ks36ZGsVvBe1e01TvR0EX0JbGf8QKVzPITSPX6pv xnLz1LzTTDWlG8jjPY8Xw6ZnlTcJvGxw4DEkJQ6hG4b9Pq5Q0fFbANatjsq2Fb7j8UMcsvw hVsexP3i2sFjBaVtFXibA== UI-OutboundReport: notjunk:1;M01:P0:HkTdbiXyVe4=;tQfg1yApb1BMGE1b4c4DobBApSF ZSsjtTCuf602XInLNIxl7DZHJG1x2d+XrNKZmZ1w3n35NtrDO6/gdE0ydOFx/IVy7j6xB+wGK 0t/aSI4GiiojPh6MWWeSIBoXaCep4+QRfC1s1lLfdChabebe8Pv4KmgyF7FLBy01tNN+n4/xh jCYxDvquvAqWgXAiYG3X9LIZqotWbCVWW0u7OiTUUttEbZ/Ub/hOmZFsV8oXwC/u/FcNjkgpC EjVuWcLF0Yq1zhzQOLsAB7j9xvqY6rETKbkMIkGnyR/Dn0LKSxTjGm4zf7p+LTzrn82F2CU4H /vdA6VNG9e6HoUbAIi2cII6eX7wC7+NXVQBxAWVEQKUsRoITxHiGwJDsLDRMfGUgRwCkf6p5S SAVg//rHhz+V4iEGt15yT1vUInMBYHiTOGTtHCsemMN2LNOZAKLIOMg130qvC1gvicEiHiXiZ 0LwqSJyg/ZekLHhgBZU8nUDynMi1c8Z9Hhcq1T6zQPgRuFvCZj01SktLXCEcoyYw/+N4GBCRY bSmpBOrYOp3GBY15RAFakD8iSNaqlcyWYiPvymfiYMk+Ikp8xCccy76FVmxIAKlxH5/tbKhCd zB4jio0f/zoOAym0GRsfFvJptuJiaF4XT9O+4dEfISpQGt6SCIVgJD5O5Y7pbOwVUOO5jCzoU n0miRL7VlmEFdvTyVC4QqnPjZbK9YiJRQdm9bbYXSbo5lnNFGIAreOIyRQS8aZI0uYXlIBSBX lyA4l6bIiQuUmY+UioT4TO4OoeH8Q2sHA== Precedence: bulk List-ID: X-Mailing-List: linux-pm@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