diff mbox series

ARM: dts: imx28: Fix dcp compatible

Message ID 20231002020023.1356246-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx28: Fix dcp compatible | expand

Commit Message

Fabio Estevam Oct. 2, 2023, 2 a.m. UTC
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(-)

Comments

Stefan Wahren Oct. 2, 2023, 8:56 a.m. UTC | #1
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>
Shawn Guo Oct. 10, 2023, 1:50 a.m. UTC | #2
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!
diff mbox series

Patch

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";