All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Edgar Bonet <bonet@grenoble.cnrs.fr>
Cc: buildroot@buildroot.org, Biagio Montaruli <biagio.hkr@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/1] board/acmesystems/acqua-a5: update device tree for newer kernels
Date: Tue, 29 Oct 2024 22:32:55 +0100	[thread overview]
Message-ID: <20241029223255.40274d67@windsurf> (raw)
In-Reply-To: <b5c97a2a-49da-40a8-b546-059ee0bee52e@grenoble.cnrs.fr>

On Mon, 23 Sep 2024 12:28:51 +0200
Edgar Bonet <bonet@grenoble.cnrs.fr> wrote:

> The Ethernet MAC address of the Acqua board is stored in an onboard
> EEPROM. Its location is described in the device tree as:
> 
>         eeprom@58 {  // NVMEM node
>                 // EEPROM parameters...
> 
>                 eth0_addr: eth-mac-addr@9A {  // NVMEM cells
>                         reg = <0x0 0x06>;
>                 };
>         };
> 
> Since Linux 6.5, defining NVMEM cells this way, as direct children of
> the NVMEM node, is deprecated. It is instead recommended to wrap the
> cells inside a "fixed-layout" node.
> 
> The older, deprecated syntax is still supported on Linux 6.6. Since
> Linux 6.7 (commit 2cc3b37f5b6d: "nvmem: add explicit config option to
> read old syntax fixed OF cells") however, it is only supported by
> selected NVMEM drivers. It is not supported by the at24 driver used to
> access the Acqua's onboard EEPROM.
> 
> Update the device tree to the new, recommended, syntax. This makes it
> work with newer kernels, while preserving compatibility with the
> currently used 6.6.30.
> 
> Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
> ---
>  board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-10-29 21:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-23 10:28 [Buildroot] [PATCH 1/1] board/acmesystems/acqua-a5: update device tree for newer kernels Edgar Bonet
2024-10-29 21:32 ` Thomas Petazzoni via buildroot [this message]

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=20241029223255.40274d67@windsurf \
    --to=buildroot@buildroot.org \
    --cc=biagio.hkr@gmail.com \
    --cc=bonet@grenoble.cnrs.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /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.