mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
arm64: dts: hisilicon: list all clocks required by spi-pl022.yaml
The arm,pl022 binding need to specify two clocks: "sspclk", "apb_pclk". But only "apb_pclk" is specified now. Because the driver preferentially matches the first clock. Otherwise, it matches the second clock instead of both clocks. So both of them use the same clock don't change the function. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
parent
bf69b8622b
commit
c85731abd6
@ -971,8 +971,8 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI2>;
|
||||
clock-names = "apb_pclk";
|
||||
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI2>, <&crg_ctrl HI3660_CLK_GATE_SPI2>;
|
||||
clock-names = "sspclk", "apb_pclk";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi2_pmx_func &spi2_cfg_func>;
|
||||
num-cs = <1>;
|
||||
@ -986,8 +986,8 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI3>;
|
||||
clock-names = "apb_pclk";
|
||||
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI3>, <&crg_ctrl HI3660_CLK_GATE_SPI3>;
|
||||
clock-names = "sspclk", "apb_pclk";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi3_pmx_func &spi3_cfg_func>;
|
||||
num-cs = <1>;
|
||||
|
@ -291,8 +291,8 @@
|
||||
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
|
||||
num-cs = <1>;
|
||||
cs-gpios = <&gpio7 1 0>;
|
||||
clocks = <&crg HISTB_SPI0_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
clocks = <&crg HISTB_SPI0_CLK>, <&crg HISTB_SPI0_CLK>;
|
||||
clock-names = "sspclk", "apb_pclk";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
|
@ -725,8 +725,8 @@
|
||||
interrupts = <0 50 4>;
|
||||
bus-id = <0>;
|
||||
enable-dma = <0>;
|
||||
clocks = <&sys_ctrl HI6220_SPI_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
clocks = <&sys_ctrl HI6220_SPI_CLK>, <&sys_ctrl HI6220_SPI_CLK>;
|
||||
clock-names = "sspclk", "apb_pclk";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi0_pmx_func &spi0_cfg_func>;
|
||||
num-cs = <1>;
|
||||
|
Loading…
Reference in New Issue
Block a user