Skip to content

Add support for custom names for AT24 EEPROMs

Jon Hunter linux-devicetree linux-i2c linux-tegra lkml 2 versions – Applied

Status from this message: Queued for v5.10, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 9 repliesApplied
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- By default initialise the nvmem_config.id as NVMEM_DEVID_AUTO and not NVMEM_DEVID_NONE
- Dropped the 'maxItems' from the dt-binding doc.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5misc: eeprom: at24: Initialise AT24 NVMEM ID fielddrivers/misc/eeprom/at24.c+1 -02 replies
2/5dt-bindings: eeprom: at24: Add label property for AT24Documentation/devicetree/bindings/eeprom/at24.yaml+3 -02 replies
3/5misc: eeprom: at24: Support custom device names for AT24 EEPROMsdrivers/misc/eeprom/at24.c+21 -21 reply
4/5arm64: tegra: Add label properties for EEPROMsarch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +4 more+8 -00 replies
5/5arm64: tegra: Populate EEPROMs for Jetson Xavier NXarch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi+30 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/5] Add support for custom names for AT24 EEPROMs

For platforms that have multiple boards and hence have multiple EEPROMs for identifying the different boards, it is useful to label the EEPROMs in device-tree so that they can be easily identified. For example, MAC address information is stored in the EEPROM on the processor module for some Jetson platforms which is not only required by the kernel but the bootloader as well. So having a simple way to identify the EEPROM is needed.

Changes since V1:
- By default initialise the nvmem_config.id as NVMEM_DEVID_AUTO and not NVMEM_DEVID_NONE
- Dropped the 'maxItems' from the dt-binding doc.

Jon Hunter (5):
misc: eeprom: at24: Initialise AT24 NVMEM ID field
dt-bindings: eeprom: at24: Add label property for AT24
misc: eeprom: at24: Support custom device names for AT24 EEPROMs
arm64: tegra: Add label properties for EEPROMs
arm64: tegra: Populate EEPROMs for Jetson Xavier NX

 .../devicetree/bindings/eeprom/at24.yaml      |  3 +++
 .../boot/dts/nvidia/tegra186-p2771-0000.dts   |  1 +
 .../arm64/boot/dts/nvidia/tegra186-p3310.dtsi |  1 +
 .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi |  1 +
 .../boot/dts/nvidia/tegra194-p2972-0000.dts   |  1 +
 .../nvidia/tegra194-p3509-0000+p3668-0000.dts | 14 ++++++++++++
 .../boot/dts/nvidia/tegra194-p3668-0000.dtsi  | 16 ++++++++++++++
 .../arm64/boot/dts/nvidia/tegra210-p2180.dtsi |  1 +
 .../boot/dts/nvidia/tegra210-p2371-2180.dts   |  1 +
 .../boot/dts/nvidia/tegra210-p3450-0000.dts   |  2 ++
 drivers/misc/eeprom/at24.c                    | 22 ++++++++++++++++++-
 11 files changed, 62 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1