mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00:00
serial: msm-geni: Use upstream Linux bindings
The name "se" is used in upstream Linux device trees and has been for ages, long before this U-Boot-ism was introduced. Same goes for the existing compatible. Get rid of that. [vzapolskiy: removed a ready change in the driver] Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
This commit is contained in:
parent
babdadc8a5
commit
aa539d89e1
3 changed files with 6 additions and 4 deletions
|
@ -52,10 +52,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
debug_uart: serial@a84000 {
|
debug_uart: serial@a84000 {
|
||||||
compatible = "qcom,msm-geni-uart";
|
compatible = "qcom,geni-debug-uart";
|
||||||
reg = <0xa84000 0x4000>;
|
reg = <0xa84000 0x4000>;
|
||||||
reg-names = "se_phys";
|
reg-names = "se_phys";
|
||||||
clock-names = "se-clk";
|
clock-names = "se";
|
||||||
clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
|
clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&qup_uart9>;
|
pinctrl-0 = <&qup_uart9>;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Qualcomm GENI UART
|
Qualcomm GENI UART
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
- compatible: must be "qcom,msm-geni-uart"
|
- compatible: must be "qcom,geni-debug-uart"
|
||||||
- reg: start address and size of the registers
|
- reg: start address and size of the registers
|
||||||
- clock: interface clock (must accept baudrate as a frequency)
|
- clock: interface clock (must accept baudrate as a frequency)
|
||||||
|
|
|
@ -547,7 +547,9 @@ static int msm_serial_ofdata_to_platdata(struct udevice *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct udevice_id msm_serial_ids[] = {
|
static const struct udevice_id msm_serial_ids[] = {
|
||||||
{.compatible = "qcom,msm-geni-uart"}, {}};
|
{ .compatible = "qcom,geni-debug-uart" },
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(serial_msm_geni) = {
|
U_BOOT_DRIVER(serial_msm_geni) = {
|
||||||
.name = "serial_msm_geni",
|
.name = "serial_msm_geni",
|
||||||
|
|
Loading…
Add table
Reference in a new issue