bus: imx-weim: optionally enable continuous burst clock
authorIvan Bornyakov <i.bornyakov@metrotek.ru>
Thu, 2 Dec 2021 05:57:23 +0000 (08:57 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Dec 2021 02:33:38 +0000 (10:33 +0800)
commit7b983da38417fa8c36514d6a98997b3cad11b6a9
treee098bd5b01f231a7f00f38f4e4a52e53f6160409
parent8361b8b29f9389084b679db854cf733375c64763
bus: imx-weim: optionally enable continuous burst clock

To enable continuous burst clock, add "fsl,continuous-burst-clk" along
with "fsl,burst-clk-enable" property to the weim bus's devicetree node.

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

client-device@0 {
...
};
};

Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/bus/imx-weim.c