From 7d2251381ecde6684c43ee6fac683da2bdbb309f Mon Sep 17 00:00:00 2001 From: Andreas Rudolf Date: Tue, 26 Nov 2024 15:12:35 +0100 Subject: [PATCH] doc: devicetree: clarify child node disabling Add a note to status property that disabled parent nodes do not implicitly disable child nodes. Issue #82040 Signed-off-by: Andreas Rudolf --- doc/build/dts/intro-syntax-structure.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/build/dts/intro-syntax-structure.rst b/doc/build/dts/intro-syntax-structure.rst index 1fd7eead9f8..40bf134daa9 100644 --- a/doc/build/dts/intro-syntax-structure.rst +++ b/doc/build/dts/intro-syntax-structure.rst @@ -288,6 +288,9 @@ status devices must be enabled for the corresponding ``struct device`` in the Zephyr driver model to be allocated and initialized. + Note that a child node is not implicitly disabled when its parent node is + disabled, i.e. child nodes should be disabled explicitly if desired. + interrupts Information about interrupts generated by the device, encoded as an array of one or more *interrupt specifiers*. Each interrupt specifier has some