bus: imx-weim: optionally enable burst clock mode
authorSven Van Asbroeck <thesven73@gmail.com>
Fri, 12 Jul 2019 20:43:15 +0000 (16:43 -0400)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 08:18:56 +0000 (10:18 +0200)
commit77266e722feabb6eefc8a7e84ac2415837d91c5f
treef4ee9e8cad0f5ddbc2e40db5f0981f606773f8af
parentd43dc52274d40a1543ca962008feb9ff784e3a49
bus: imx-weim: optionally enable burst clock mode

To enable burst clock mode, add the fsl,burst-clk-enable
property to the weim bus's devicetree node.

Example:
weim: weim@21b8000 {
compatible = "fsl,imx6q-weim";
reg = <0x021b8000 0x4000>;
clocks = <&clks 196>;
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0x08000000 0x08000000>;
fsl,weim-cs-gpr = <&gpr>;
fsl,burst-clk-enable;

client-device@0,0 {
compatible = "something";
reg = <0 0 0x02000000>;
#address-cells = <1>;
#size-cells = <1>;
bank-width = <2>;
fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
0x0000c000 0x1404a38e 0x00000000>;
};
};

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