From b8ea245e12dcd9c39f3a9ad6e93a476fd80aabb3 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 7 Apr 2025 23:14:11 +0200 Subject: [PATCH] doc/internals/devicetree_language: describe I2C identifier Even when the identifier of an I2C device doesn't have a '0x' prefix, it's still interpreted as a hexadecimal number. Change-Id: I0e5a7e39ac56e25499493a16eefa49e4f8d79337 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/87205 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune --- Documentation/internals/devicetree_language.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/internals/devicetree_language.md b/Documentation/internals/devicetree_language.md index d189844b4f..ab1b646c29 100644 --- a/Documentation/internals/devicetree_language.md +++ b/Documentation/internals/devicetree_language.md @@ -690,6 +690,8 @@ static.c: * Introduced in: Initial sconfig implementation, pre coreboot 4.0 * Usage: `device I2c [alias ] ... end` +The identifier is the device's address encoded as hexadecimal number. + Example: ```text