Skip to contentSkip to conversation

Please pull u-boot-tegra staging

DISCUSSION Svyatoslav Ryhel 2 participants 5 messages Mar 12, 2025

lore
Share & tools
lore
#0 lore raw

Dear Tom,

The following changes since commit dc0ee458f1afae4cb5c8a7b2c875bb24ffdf71ca:

Prepare v2025.04-rc3 (2025-02-24 16:53:59 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging

for you to fetch changes up to b156a1171e356f16aac88322b3bdcec071543c6c:

configs: qc750: add 3 second delay before power off (2025-03-11 19:47:07 +0200)

----------------------------------------------------------------
Jonas Schwöbel (2):
common: edid: update timing selection logic
ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

Svyatoslav Ryhel (26):
video: tegra20: dc: switch to newer clk API
video: tegra20: dc: remove hardcoded Tegra 2 specific parts
video: tegra20: dc: remove excessive headers
video: tegra20: dc: improve code quality
video: tegra20: dsi: check for panels among child nodes
video: tegra20: dsi: switch to newer clk API
video: tegra20: dsi: align ganged mode implementation
video: tegra20: dsi: make SOL delay calculation mode independent
video: tegra20: dsi: calculate packet parameters for video mode
video: tegra20: dsi: calculate lanes for ganged mode
video: tegra20: dsi: pass source on DSI configuration
ARM: tegra: endeavoru: adjust panel node
pinctrl: tegra: add Tegra K1 support
video: tegra20: dc: dsi: add Tegra K1 compatible
video: tegra20: mipi: add Tegra K1 support
video: add TI LP855x backlight driver
video: panel: add Sharp LQ079L1SX01 MIPI DSI panel driver
ARM: tegra124: implement BCT patching
board: xiaomi: mocha: add Xiaomi Mi Pad A0101 support
ARM: tegra20: mark second DC with bootph-all
configs: transformer: add 3 second delay before power off
configs: endeavoru: add 3 second delay before power off
configs: grouper: add 3 second delay before power off
configs: picasso: add 3 second delay before power off
configs: x3_t30: add 3 second delay before power off
configs: qc750: add 3 second delay before power off

 arch/arm/dts/Makefile                            |   1 +
 arch/arm/dts/tegra124-xiaomi-mocha.dts           | 592 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/tegra20-u-boot.dtsi                 |   4 +
 arch/arm/dts/tegra30-htc-endeavoru.dts           |  23 ++-
 arch/arm/include/asm/arch-tegra124/pinmux.h      |   4 +
 arch/arm/include/asm/arch-tegra20/clock-tables.h |   2 +
 arch/arm/mach-tegra/Kconfig                      |   2 +-
 arch/arm/mach-tegra/clock.c                      |  30 +++-
 arch/arm/mach-tegra/tegra124/Kconfig             |   5 +
 arch/arm/mach-tegra/tegra124/Makefile            |   1 +
 arch/arm/mach-tegra/tegra124/bct.c               |  91 ++++++++++
 arch/arm/mach-tegra/tegra124/bct.h               |  55 ++++++
 board/xiaomi/mocha/Kconfig                       |  12 ++
 board/xiaomi/mocha/MAINTAINERS                   |   8 +
 board/xiaomi/mocha/Makefile                      |   9 +
 board/xiaomi/mocha/mocha-spl.c                   |  49 +++++
 board/xiaomi/mocha/mocha.c                       |  41 +++++
 board/xiaomi/mocha/mocha.env                     |  23 +++
 common/edid.c                                    | 308 ++++++++++++++++++++++++++++----
 configs/endeavoru_defconfig                      |   2 +-
 configs/grouper_defconfig                        |   2 +-
 configs/mocha_defconfig                          |  91 ++++++++++
 configs/picasso_defconfig                        |   2 +-
 configs/qc750_defconfig                          |   2 +-
 configs/transformer_t20_defconfig                |   2 +-
 configs/transformer_t30_defconfig                |   2 +-
 configs/x3_t30_defconfig                         |   2 +-
 doc/board/index.rst                              |   1 +
 doc/board/xiaomi/index.rst                       |   9 +
 doc/board/xiaomi/mocha.rst                       | 112 ++++++++++++
 drivers/pinctrl/tegra/pinctrl-tegra.c            |  56 ++++++
 drivers/video/Kconfig                            |  19 ++
 drivers/video/Makefile                           |   2 +
 drivers/video/lp855x_backlight.c                 | 302 +++++++++++++++++++++++++++++++
 drivers/video/sharp-lq079l1sx01.c                | 288 ++++++++++++++++++++++++++++++
 drivers/video/tegra20/tegra-dc.c                 | 107 ++++++-----
 drivers/video/tegra20/tegra-dsi.c                | 231 +++++++++++++++++-------
 drivers/video/tegra20/tegra-mipi.c               | 134 ++++++++++++--
 include/configs/mocha.h                          |  25 +++
 39 files changed, 2459 insertions(+), 192 deletions(-)
 create mode 100644 arch/arm/dts/tegra124-xiaomi-mocha.dts
 create mode 100644 arch/arm/mach-tegra/tegra124/bct.c
 create mode 100644 arch/arm/mach-tegra/tegra124/bct.h
 create mode 100644 board/xiaomi/mocha/Kconfig
 create mode 100644 board/xiaomi/mocha/MAINTAINERS
 create mode 100644 board/xiaomi/mocha/Makefile
 create mode 100644 board/xiaomi/mocha/mocha-spl.c
 create mode 100644 board/xiaomi/mocha/mocha.c
 create mode 100644 board/xiaomi/mocha/mocha.env
 create mode 100644 configs/mocha_defconfig
 create mode 100644 doc/board/xiaomi/index.rst
 create mode 100644 doc/board/xiaomi/mocha.rst
 create mode 100644 drivers/video/lp855x_backlight.c
 create mode 100644 drivers/video/sharp-lq079l1sx01.c
 create mode 100644 include/configs/mocha.h

Branch contains various upgrades and alignments for Tegra DC and DSI, including full support of DSI dual mode for command and video mode panels, adjustments for tegra video drivers to work with Tegra K1, adding support for Xiaomi Mi Pad TK1 based tablet (with adding required panel and backlight drivers), PLLD/D2 clock calculation improvements, EDID selection adjustments and minor user experience improvements of existing Tegra devices.

Thanks,
Svyatoslav Ryhel.

#2 lore raw
In reply to Svyatoslav Ryhel
Quoted 10 lines · Svyatoslav Ryhel

Dear Tom,

The following changes since commit dc0ee458f1afae4cb5c8a7b2c875bb24ffdf71ca:

Prepare v2025.04-rc3 (2025-02-24 16:53:59 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging

Quoted 7 lines

for you to fetch changes up to b156a1171e356f16aac88322b3bdcec071543c6c:

configs: qc750: add 3 second delay before power off (2025-03-11 19:47:07 +0200)

----------------------------------------------------------------
Jonas Schwöbel (2):
common: edid: update timing selection logic

One thing I would like to see as a future clean-up is if we can go back to the old method as a compile time option, if that's reasonable? It's adding about 10KiB worth of table the way it is today. Thanks.

Signature · 1 line
Tom
#3 lore raw

ср, 12 бер. 2025 р. о 20:16 Tom Rini <[email protected]> пише:

Quoted 16 lines · Svyatoslav Ryhel
Quoted 14 lines

Dear Tom,

The following changes since commit dc0ee458f1afae4cb5c8a7b2c875bb24ffdf71ca:

Prepare v2025.04-rc3 (2025-02-24 16:53:59 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging

for you to fetch changes up to b156a1171e356f16aac88322b3bdcec071543c6c:

configs: qc750: add 3 second delay before power off (2025-03-11 19:47:07 +0200)

Quoted 8 lines
Quoted 3 lines

----------------------------------------------------------------
Jonas Schwöbel (2):
common: edid: update timing selection logic

One thing I would like to see as a future clean-up is if we can go back to the old method as a compile time option, if that's reasonable? It's adding about 10KiB worth of table the way it is today. Thanks.

It should be possible to add a config option to guard standard timings and enable them only for devices which need them. Will this be an acceptable solution?

Quoted 2 lines

--
Tom

#4 lore raw
Quoted 21 lines · Svyatoslav Ryhel

ср, 12 бер. 2025 р. о 20:16 Tom Rini <[email protected]> пише:

Quoted 20 lines · Svyatoslav Ryhel
Quoted 17 lines

Dear Tom,

The following changes since commit dc0ee458f1afae4cb5c8a7b2c875bb24ffdf71ca:

Prepare v2025.04-rc3 (2025-02-24 16:53:59 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging

for you to fetch changes up to b156a1171e356f16aac88322b3bdcec071543c6c:

configs: qc750: add 3 second delay before power off (2025-03-11 19:47:07 +0200)

----------------------------------------------------------------
Jonas Schwöbel (2):
common: edid: update timing selection logic

Quoted 8 lines
Quoted 4 lines

One thing I would like to see as a future clean-up is if we can go back to the old method as a compile time option, if that's reasonable? It's adding about 10KiB worth of table the way it is today. Thanks.

It should be possible to add a config option to guard standard timings and enable them only for devices which need them. Will this be an acceptable solution?

Yes, thanks.

Signature · 1 line
Tom