]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bus: imx-weim: support multiple address ranges per child node
authorSven Van Asbroeck <thesven73@gmail.com>
Mon, 17 Dec 2018 15:47:59 +0000 (10:47 -0500)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jan 2019 07:16:42 +0000 (15:16 +0800)
commit8b8cb52af34da2faa293614b2554c8eac30faeaa
treef070b2b1c2617865fc4aa0363f13302a4869c1f3
parent4c783b010467db8eadd65da40b26f566d0d4d5cb
bus: imx-weim: support multiple address ranges per child node

Ensure that timing values for the child node are applied to
all chip selects in the child's address ranges.

Note that this does not support multiple timing settings per
child; this can be added in the future if required.

Example:
&weim {
acme@0 {
compatible = "acme,whatever";
reg = <0 0 0x100>, <0 0x400000 0x800>,
<1 0x400000 0x800>;
fsl,weim-cs-timing = <0x024400b1 0x00001010 0x20081100
0x00000000 0xa0000240 0x00000000>;
};
};

Signed-off-by: Sven Van Asbroeck <TheSven73@googlemail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/bus/imx-weim.c