All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx28: Fix dcp compatible
@ 2023-10-02  2:00 Fabio Estevam
  2023-10-02  8:56 ` Stefan Wahren
  2023-10-10  1:50 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-10-02  2:00 UTC (permalink / raw)
  To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Per fsl-dcp.yaml, passing "fsl,imx28-dcp", "fsl,imx23-dcp" is not
valid.

Change it to pass only "fsl,imx28-dcp" to fix the following
schema warning:

crypto@80028000: compatible: 'oneOf' conditional failed, one must be fixed:
	['fsl,imx28-dcp', 'fsl,imx23-dcp'] is too long
	'fsl,imx28-dcp' is not one of ['fsl,imx6sl-dcp', 'fsl,imx6ull-dcp']
	'fsl,imx28-dcp' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
index 1cd87dc46bd1..37b9d409a5cd 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
@@ -1003,7 +1003,7 @@ dma_apbx: dma-controller@80024000 {
 			};
 
 			dcp: crypto@80028000 {
-				compatible = "fsl,imx28-dcp", "fsl,imx23-dcp";
+				compatible = "fsl,imx28-dcp";
 				reg = <0x80028000 0x2000>;
 				interrupts = <52>, <53>, <54>;
 				status = "okay";
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: imx28: Fix dcp compatible
  2023-10-02  2:00 [PATCH] ARM: dts: imx28: Fix dcp compatible Fabio Estevam
@ 2023-10-02  8:56 ` Stefan Wahren
  2023-10-10  1:50 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Wahren @ 2023-10-02  8:56 UTC (permalink / raw)
  To: Fabio Estevam, shawnguo; +Cc: linux-arm-kernel, Fabio Estevam


Am 02.10.23 um 04:00 schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@denx.de>
>
> Per fsl-dcp.yaml, passing "fsl,imx28-dcp", "fsl,imx23-dcp" is not
> valid.
>
> Change it to pass only "fsl,imx28-dcp" to fix the following
> schema warning:
>
> crypto@80028000: compatible: 'oneOf' conditional failed, one must be fixed:
> 	['fsl,imx28-dcp', 'fsl,imx23-dcp'] is too long
> 	'fsl,imx28-dcp' is not one of ['fsl,imx6sl-dcp', 'fsl,imx6ull-dcp']
> 	'fsl,imx28-dcp' was expected
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: imx28: Fix dcp compatible
  2023-10-02  2:00 [PATCH] ARM: dts: imx28: Fix dcp compatible Fabio Estevam
  2023-10-02  8:56 ` Stefan Wahren
@ 2023-10-10  1:50 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2023-10-10  1:50 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-arm-kernel, Fabio Estevam

On Sun, Oct 01, 2023 at 11:00:23PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per fsl-dcp.yaml, passing "fsl,imx28-dcp", "fsl,imx23-dcp" is not
> valid.
> 
> Change it to pass only "fsl,imx28-dcp" to fix the following
> schema warning:
> 
> crypto@80028000: compatible: 'oneOf' conditional failed, one must be fixed:
> 	['fsl,imx28-dcp', 'fsl,imx23-dcp'] is too long
> 	'fsl,imx28-dcp' is not one of ['fsl,imx6sl-dcp', 'fsl,imx6ull-dcp']
> 	'fsl,imx28-dcp' was expected
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-10  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-02  2:00 [PATCH] ARM: dts: imx28: Fix dcp compatible Fabio Estevam
2023-10-02  8:56 ` Stefan Wahren
2023-10-10  1:50 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.