Message ID | 20210331072450.565605-3-bmeng.cn@gmail.com |
---|---|
State | Accepted |
Commit | e7bb113cc4d03aeb573ff938a1d897d4b3ca99df |
Delegated to: | Andes |
Headers | show |
Series | [1/3] riscv: mpfs-icicle-kit: Increase SYS_MALLOC_F_LEN | expand |
On Wed, Mar 31, 2021 at 12:55 PM Bin Meng <bmeng.cn@gmail.com> wrote: > The uart nodes already provide <clocks> property for the driver to > dynamically calculate the correct clock frequency. There is no need > to keep the hard-coded <clock-frequency> property. > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > --- > > arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > index e2b9decc94..89c4cf5fb2 100644 > --- a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > +++ b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > @@ -232,7 +232,6 @@ > reg-shift = <2>; > interrupt-parent = <&plic>; > interrupts = <90>; > - clock-frequency = <150000000>; > clocks = <&clkcfg CLK_MMUART0>; > status = "okay"; > }; > @@ -294,7 +293,6 @@ > reg-shift = <2>; > interrupt-parent = <&plic>; > interrupts = <91>; > - clock-frequency = <150000000>; > clocks = <&clkcfg CLK_MMUART1>; > status = "okay"; > }; > @@ -305,7 +303,6 @@ > reg-shift = <2>; > interrupt-parent = <&plic>; > interrupts = <92>; > - clock-frequency = <150000000>; > clocks = <&clkcfg CLK_MMUART2>; > status = "okay"; > }; > @@ -316,7 +313,6 @@ > reg-shift = <2>; > interrupt-parent = <&plic>; > interrupts = <93>; > - clock-frequency = <150000000>; > clocks = <&clkcfg CLK_MMUART3>; > status = "okay"; > }; > -- > 2.25.1 > > Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com> Tested-by: Padmarao Begari <padmarao.begari@microchip.com>
diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts index e2b9decc94..89c4cf5fb2 100644 --- a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts @@ -232,7 +232,6 @@ reg-shift = <2>; interrupt-parent = <&plic>; interrupts = <90>; - clock-frequency = <150000000>; clocks = <&clkcfg CLK_MMUART0>; status = "okay"; }; @@ -294,7 +293,6 @@ reg-shift = <2>; interrupt-parent = <&plic>; interrupts = <91>; - clock-frequency = <150000000>; clocks = <&clkcfg CLK_MMUART1>; status = "okay"; }; @@ -305,7 +303,6 @@ reg-shift = <2>; interrupt-parent = <&plic>; interrupts = <92>; - clock-frequency = <150000000>; clocks = <&clkcfg CLK_MMUART2>; status = "okay"; }; @@ -316,7 +313,6 @@ reg-shift = <2>; interrupt-parent = <&plic>; interrupts = <93>; - clock-frequency = <150000000>; clocks = <&clkcfg CLK_MMUART3>; status = "okay"; };
The uart nodes already provide <clocks> property for the driver to dynamically calculate the correct clock frequency. There is no need to keep the hard-coded <clock-frequency> property. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 4 ---- 1 file changed, 4 deletions(-)