Re: [PATCH v2 1/2] MIPS: Ingenic: Add system type for new Ingenic SoCs.

From: Thomas Bogendoerfer
Date: Mon Sep 21 2020 - 16:59:54 EST


On Tue, Sep 22, 2020 at 01:45:21AM +0800, 周琰杰 (Zhou Yanjie) wrote:
> @@ -56,9 +64,13 @@ static const struct of_device_id ingenic_of_match[] __initconst = {
> { .compatible = "ingenic,jz4740", .data = (void *)MACH_INGENIC_JZ4740 },
> { .compatible = "ingenic,jz4725b", .data = (void *)MACH_INGENIC_JZ4725B },
> { .compatible = "ingenic,jz4770", .data = (void *)MACH_INGENIC_JZ4770 },
> + { .compatible = "ingenic,jz4775", .data = (void *)MACH_INGENIC_JZ4775 },
> { .compatible = "ingenic,jz4780", .data = (void *)MACH_INGENIC_JZ4780 },
> { .compatible = "ingenic,x1000", .data = (void *)MACH_INGENIC_X1000 },
> + { .compatible = "ingenic,x1000e", .data = (void *)MACH_INGENIC_X1000E },
> { .compatible = "ingenic,x1830", .data = (void *)MACH_INGENIC_X1830 },
> + { .compatible = "ingenic,x2000", .data = (void *)MACH_INGENIC_X2000 },
> + { .compatible = "ingenic,x2000e", .data = (void *)MACH_INGENIC_X2000E },

I get a warning from checkpatch:

WARNING: DT compatible string "ingenic,x2000e" appears un-documented -- check ./Documentation/devicetree/bindings/

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]