[d-kernel] Ядро 5.19 с поддержкой СнК Байкал-М

Alexey Sheplyakov asheplyakov на basealt.ru
Пн Авг 1 17:05:30 MSK 2022


Здравствуйте!

Собственно $subj. Протестировал на 
* платах TF307 (ревизия 1.4 aka 'D') с прошивками из SDK-M 5.3, SDK-M 5.5,
  SDK-M 5.6-rc2
* плате Rhodeola (ревизию определить не удалось) с прошивкой на основе
  SDK-M 5.5

Грузится и делает вид, что работает.

The following changes since commit 3d7cb6b04c3f3115719235cc6866b10326de34cd:

  Linux 5.19 (2022-07-31 14:03:01 -0700)

are available in the Git repository at:

  https://github.com/asheplyakov/linux.git baikalm-5.19.y

for you to fetch changes up to 846d152c3eb638a0a10ca968adf6ed4e2e2c3850:

  arm64: defconfig for Baikal-M testing (2022-08-01 16:53:03 +0400)

----------------------------------------------------------------
Alexey Sheplyakov (29):
      clk: added Baikal-M clock management unit driver
      cpufreq-dt: don't load on Baikal-M SoC
      serial: 8250_dw: verify clock rate in dw8250_set_termios
      usb: dwc3: of-simple: added compatible string for Baikal-M SoC
      usb: xhci_plat_remove: avoid NULL dereference
      dw-pcie: refuse to load on Baikal-M with recent firmware
      arm64: Enable armv8 based Baikal-M SoC support
      efi-rtc: avoid calling efi.get_time on Baikal-M SoC
      arm64-stub: fixed secondary cores boot on Baikal-M SoC
      pm: disable all sleep states on Baikal-M based boards
      net: fwnode_get_phy_id: consider all compatible strings
      net: stmmac: inital support of Baikal-T1/M SoCs GMAC
      dt-bindings: dwmac: Add bindings for Baikal-T1/M SoCs
      net: dwmac-baikal: added compatible strings...
      Added TF307/TF306 board management controller driver
      hwmon: bt1-pvt: access registers via pvt_{readl,writel} helpers
      hwmon: bt1-pvt: define pvt_readl/pvt_writel for Baikal-M SoC
      hwmon: bt1-pvt: adjusted probing for Baikal-M SoC
      hwmon: bt1-pvt: added compatible baikal,pvt
      drm: added Baikal-M SoC video display unit driver
      drm/bridge: dw-hdmi: support ahb audio hw revision 0x2a
      dt-bindings: dw-hdmi: added ahb-audio-regshift
      drm/bridge: dw-hdmi: force ahb audio register offset for Baikal-M
      drm/panfrost: forcibly set dma-coherent on Baikal-M
      drm/panfrost: disable devfreq on Baikal-M
      ALSA: hda: Baikal-M support
      PCI: pcie-baikal: driver for Baikal-M with new firmware
      (BROKEN) dwc-i2s: support Baikal-M SoC
      arm64: defconfig for Baikal-M testing

Vadim V. Vlasov (2):
      drm: new bridge driver - stdp4028
      input: added TF307 serio PS/2 emulator driver

 .../bindings/display/bridge/synopsys,dw-hdmi.yaml  |    7 +
 .../devicetree/bindings/net/snps,dwmac.yaml        |    1 +
 arch/arm64/Kconfig.platforms                       |   13 +
 arch/arm64/configs/baikal_minimal_defconfig        | 5219 ++++++++++++++++++++
 drivers/clk/Makefile                               |    1 +
 drivers/clk/baikal-m/Makefile                      |    1 +
 drivers/clk/baikal-m/clk-baikal.c                  |  355 ++
 drivers/cpufreq/cpufreq-dt-platdev.c               |    2 +
 drivers/firmware/efi/libstub/arm64-stub.c          |   61 +-
 drivers/gpu/drm/Kconfig                            |    1 +
 drivers/gpu/drm/Makefile                           |    1 +
 drivers/gpu/drm/baikal/Kconfig                     |   15 +
 drivers/gpu/drm/baikal/Makefile                    |   10 +
 drivers/gpu/drm/baikal/baikal-hdmi.c               |  119 +
 drivers/gpu/drm/baikal/baikal_vdu_connector.c      |  118 +
 drivers/gpu/drm/baikal/baikal_vdu_crtc.c           |  345 ++
 drivers/gpu/drm/baikal/baikal_vdu_debugfs.c        |   87 +
 drivers/gpu/drm/baikal/baikal_vdu_drm.h            |   65 +
 drivers/gpu/drm/baikal/baikal_vdu_drv.c            |  364 ++
 drivers/gpu/drm/baikal/baikal_vdu_plane.c          |  209 +
 drivers/gpu/drm/baikal/baikal_vdu_regs.h           |  139 +
 drivers/gpu/drm/bridge/Kconfig                     |   15 +
 drivers/gpu/drm/bridge/Makefile                    |    1 +
 drivers/gpu/drm/bridge/stdp4028.c                  |  486 ++
 .../gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c    |  106 +-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h    |    1 +
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |   10 +
 drivers/gpu/drm/panfrost/panfrost_devfreq.c        |    4 +
 drivers/gpu/drm/panfrost/panfrost_drv.c            |    4 +
 drivers/hwmon/Kconfig                              |    5 +-
 drivers/hwmon/bt1-pvt.c                            |  140 +-
 drivers/hwmon/bt1-pvt.h                            |    8 +
 drivers/input/serio/Kconfig                        |   10 +
 drivers/input/serio/Makefile                       |    1 +
 drivers/input/serio/tp_serio.c                     |  748 +++
 drivers/misc/Kconfig                               |   18 +
 drivers/misc/Makefile                              |    1 +
 drivers/misc/tp_bmc.c                              |  747 +++
 drivers/net/ethernet/stmicro/stmmac/Kconfig        |   11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile       |    1 +
 drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c |  216 +
 .../net/ethernet/stmicro/stmmac/dwmac1000_core.c   |    1 +
 .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c    |   46 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_dma.h    |   26 +
 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c    |    8 +
 drivers/net/phy/phy_device.c                       |   41 +-
 drivers/pci/controller/dwc/Kconfig                 |   12 +
 drivers/pci/controller/dwc/Makefile                |    1 +
 drivers/pci/controller/dwc/pcie-baikal.c           |  740 +++
 drivers/pci/controller/dwc/pcie-designware-plat.c  |    5 +
 drivers/rtc/rtc-efi.c                              |    9 +
 drivers/tty/serial/8250/8250_dw.c                  |    5 +-
 drivers/usb/core/hcd.c                             |    8 +-
 drivers/usb/dwc3/dwc3-of-simple.c                  |    2 +
 kernel/power/suspend.c                             |   12 +
 sound/hda/hdac_controller.c                        |   19 +-
 sound/pci/hda/Kconfig                              |   14 +
 sound/pci/hda/Makefile                             |    2 +
 sound/pci/hda/hda_baikal.c                         |  525 ++
 sound/pci/hda/hda_controller.c                     |   19 +-
 sound/soc/dwc/dwc-i2s.c                            |   36 +-
 sound/soc/dwc/local.h                              |    1 +
 62 files changed, 11071 insertions(+), 127 deletions(-)
 create mode 100644 arch/arm64/configs/baikal_minimal_defconfig
 create mode 100644 drivers/clk/baikal-m/Makefile
 create mode 100644 drivers/clk/baikal-m/clk-baikal.c
 create mode 100644 drivers/gpu/drm/baikal/Kconfig
 create mode 100644 drivers/gpu/drm/baikal/Makefile
 create mode 100644 drivers/gpu/drm/baikal/baikal-hdmi.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_connector.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_crtc.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_debugfs.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_drm.h
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_drv.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_plane.c
 create mode 100644 drivers/gpu/drm/baikal/baikal_vdu_regs.h
 create mode 100644 drivers/gpu/drm/bridge/stdp4028.c
 create mode 100644 drivers/input/serio/tp_serio.c
 create mode 100644 drivers/misc/tp_bmc.c
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.h
 create mode 100644 drivers/pci/controller/dwc/pcie-baikal.c
 create mode 100644 sound/pci/hda/hda_baikal.c


Подробная информация о списке рассылки devel-kernel