[PATCH v3 0/9] serial: msm-geni: fix UART baudrate on modern platforms

Vladimir Zapolskiy vladimir.zapolskiy at linaro.org
Fri Apr 21 19:50:32 CEST 2023


The changeset touches Qualcomm platforms, it adds a new quite trivial
misc wrapper driver to be accessed by GENI UART to get information
about a proper clock divisor.

The change does not intend to break any currently supported Qualcomm
platforms, there should be no need to update board config or dts files.

Changes from v2 to v3:
* fixed return value of misc_read() from the new GENI SE QUP driver,
  thanks to Simon for the review comment.

Changes from v1 to v2:
* fixes according to the code review by Konrad,
* added two changes developed by Konrad to the series,
* removed .bind from the GENI SE wrapper driver,
* minor fix in MSM GENI serial driver Kconfig to match the new changes,
* changed dts files of SDM845 powered boards by adding GENI SE wrapper.

Konrad Dybcio (2):
  serial: msm-geni: Always bind before relocation
  serial: msm-geni: Use upstream Linux bindings

Vladimir Zapolskiy (7):
  misc: add Qualcomm GENI SE QUP device driver
  serial: msm-geni: remove redundant includes
  serial: msm-geni: remove invalid se-clk clock name
  serial: msm-geni: fix code indentation
  serial: msm-geni: fix a compile time warning from msm_serial_setbrg()
  serial: msm-geni: correct oversampling value based on QUP hardware revision
  arm: dts: msm: add GENI SE QUP device tree node

 arch/arm/dts/dragonboard845c.dts              |  2 +-
 arch/arm/dts/sdm845.dtsi                      | 25 ++++---
 arch/arm/dts/starqltechn.dts                  |  2 +-
 .../serial/msm-geni-serial.txt                |  2 +-
 drivers/misc/Kconfig                          |  7 ++
 drivers/misc/Makefile                         |  1 +
 drivers/misc/qcom-geni-se.c                   | 41 ++++++++++++
 drivers/serial/Kconfig                        |  2 +
 drivers/serial/serial_msm_geni.c              | 65 ++++++++++++++-----
 9 files changed, 116 insertions(+), 31 deletions(-)
 create mode 100644 drivers/misc/qcom-geni-se.c

-- 
2.33.0



More information about the U-Boot mailing list