kernel_optimize_test/drivers/bus
Sven Van Asbroeck c7995bcb36 bus: imx-weim: guard against timing configuration conflicts
When specifying weim child devices, there is a risk that more than
one timing setting is specified for the same chip select.

The driver cannot support such a configuration.

In case of conflict, this patch will print a warning to the log,
and will ignore the child node in question.

In this example, node acme@1 will be ignored, as it tries to modify
timing settings for CS0:

&weim {
	acme@0 {
		compatible = "acme,whatever";
		reg = <0 0 0x100>;
		fsl,weim-cs-timing = <something>;
	};
	acme@1 {
		compatible = "acme,whatnot";
		reg = <0 0x500 0x100>;
		fsl,weim-cs-timing = <something else>;
	};
};

However in this example, the driver will be happy:

&weim {
        acme@0 {
                compatible = "acme,whatever";
                reg = <0 0 0x100>;
                fsl,weim-cs-timing = <something>;
        };
        acme@1 {
                compatible = "acme,whatnot";
                reg = <0 0x500 0x100>;
                fsl,weim-cs-timing = <something>;
        };
};

Signed-off-by: Sven Van Asbroeck <TheSven73@googlemail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-01-11 15:16:45 +08:00
..
fsl-mc bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
arm-cci.c
brcmstb_gisb.c bus: brcmstb_gisb: simplify getting .driver_data 2018-11-05 12:37:22 -08:00
da8xx-mstpri.c
hisi_lpc.c
imx-weim.c bus: imx-weim: guard against timing configuration conflicts 2019-01-11 15:16:45 +08:00
Kconfig
Makefile
mips_cdmm.c
mvebu-mbus.c bus: mvebu-mbus: Convert to using %pOFn instead of device_node.name 2018-09-28 16:41:57 -05:00
omap_l3_noc.c
omap_l3_noc.h
omap_l3_smx.c
omap_l3_smx.h
omap-ocp2scp.c
qcom-ebi2.c bus: qcom: remove duplicated include from qcom-ebi2.c 2018-12-19 10:40:17 +01:00
simple-pm-bus.c
sun50i-de2.c
sunxi-rsb.c
tegra-aconnect.c
tegra-gmi.c
ti-sysc.c bus: ti-sysc: Check for no-reset and no-idle flags at the child level 2018-12-10 14:11:26 -08:00
ts-nbus.c gpiolib: Pass array info to get/set array functions 2018-09-13 11:16:54 +02:00
uniphier-system-bus.c
vexpress-config.c