All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Behún" <kabel@kernel.org>
To: Stefan Roese <sr@denx.de>
Cc: u-boot@lists.denx.de, "Marek Behún" <kabel@kernel.org>
Subject: [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10)
Date: Thu, 29 Aug 2024 10:08:46 +0200	[thread overview]
Message-ID: <20240829080849.20276-1-kabel@kernel.org> (raw)

Hello Stefan,

this series adds the ability to select 1333H DDR speed mode for DDR
training (instead of the default 1600K) with the factory reset button.

If possible, I would like if this series went for U-Boot 2024.10
release. The heavy stuff to support DDR speed change is already in,
this just adds the ability to do it with reset button instead of
console command (which is inconvenient for most users).

On Omnia, the user can select factory reset type by pressing the reset
button on the rear panel and holding it. The front LEDs light on in
sequence, representing a counter. Every ~2.5 second another LED lights
on. When only the first LED is on, the board will do a standard reboot.
Then different kinds of factory reboot will happen for reset types 1 to
7 (when 1, 2, ... or 7 LEDs are on) [1].

This series adds another reset type, number 10, which will make the
board boot in 1333H DDR speed mode, and also write this setting to
EEPROM, so that subsequent boots will also train in 1333H mode.

The user can set back the default mode with the `eeprom` U-Boot command,
or with the `omnia-eeprom` Linux command.

Marek

[1] https://docs.turris.cz/hw/omnia/rescue-modes/

Marek Behún (3):
  arm: mvebu: turris_omnia: Rename variable holding EEPROM udevice
  arm: mvebu: turris_omnia: Use the i2c_eeprom misc driver for EEPROM
    reading in U-Boot proper
  arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is
    selected

 arch/arm/mach-mvebu/Kconfig              |   1 +
 board/CZ.NIC/turris_omnia/turris_omnia.c | 101 +++++++++++++++++++----
 configs/turris_omnia_defconfig           |   1 -
 3 files changed, 86 insertions(+), 17 deletions(-)

-- 
2.44.2


             reply	other threads:[~2024-08-29  8:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29  8:08 Marek Behún [this message]
2024-08-29  8:08 ` [PATCH u-boot-marvell 1/3] arm: mvebu: turris_omnia: Rename variable holding EEPROM udevice Marek Behún
2024-09-03  6:54   ` Stefan Roese
2024-08-29  8:08 ` [PATCH u-boot-marvell 2/3] arm: mvebu: turris_omnia: Use the i2c_eeprom misc driver for EEPROM reading in U-Boot proper Marek Behún
2024-09-03  6:57   ` Stefan Roese
2024-09-03  8:04     ` Marek Behún
2024-09-03  9:30       ` Stefan Roese
2024-08-29  8:08 ` [PATCH u-boot-marvell 3/3] arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is selected Marek Behún
2024-09-03  7:06   ` Stefan Roese
2024-09-04  8:13 ` [PATCH u-boot-marvell 0/3] Turris Omnia DDR speed change with reset button (for 2024.10) Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240829080849.20276-1-kabel@kernel.org \
    --to=kabel@kernel.org \
    --cc=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.