• Sudeep Holla's avatar
    ARM: dts: vexpress: use standard gpio bindings for sys_{led,mci,flash} · 83be0e60
    Sudeep Holla authored
    Commit 2cff6dba ("ARM: dts: vexpress: fix node name unit-address presence warnings")
    removed the unit address as there was no associated reg property in
    these sysreg nodes.
    
    Also the latest DTC throws warnings for character '_' in the node names.
    
    Warning (node_name_chars_strict): /sysreg@10000/sys_led: Character '_' not recommended in node name
    Warning (node_name_chars_strict): /sysreg@10000/sys_mci: Character '_' not recommended in node name
    Warning (node_name_chars_strict): /sysreg@10000/sys_flash: Character '_' not recommended in node name
    
    The correct way to fix this as well as the original unit-address presence
    warnings is to use the standard gpio controller binding and specify the
    reg properties as per the hardware as it was before.
    
    However note that Vexpress sysreg MFD driver will still continue to use
    the hardcoded values for compatibility reasons.
    Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
    Suggested-by: default avatarRob Herring <robh@kernel.org>
    Reviewed-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    83be0e60
vexpress-v2m.dtsi 10.8 KB