[PATCH 1/6] kernel: import dt-overlay configfs patches for 5.10

Oskari Lemmelä osku at kuutio.org
Sat Nov 27 01:28:05 PST 2021


Hi,

On 25.11.2021 3.06, Daniel Golle wrote:
> Import patchset allowing loading and applying device tree overlays at
> run-time via configfs.
> 
> This will allow for packaging DTOs for hardware add-ons such as the
> various HATs (Hardware Attached on Top) common for SBCs.
> A new kernel config option CONFIG_OF_CONFIGFS is introduced and some
> additional sysfs attributes are added in case CONFIG_OF_OVERLAY is
> enabled.

Is this something that did not get accepted by upstream linux?
Those patches seem to be almost 8 years old.

> 
> To make use of this feature, both CONFIG_OF_CONFIGFS and
> CONFIG_OF_OVERLAY need to be enabled in a targets kernel config.
> This is currently already the case for mediatek/mt7622 and
> mediatek/mt7623 as it has already been enabled by commit 401d7ebf2c
> ("mediatek: enable configfs for DT overlay on mt7622 and mt7623").
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>

Oskari



More information about the openwrt-devel mailing list