]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
karo: fdt: fix panel-dpi support master KARO_TX6-2020-09-18
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 18 Sep 2020 09:18:53 +0000 (11:18 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 18 Sep 2020 09:18:53 +0000 (11:18 +0200)
commitc0b7b18e33d4fc17af2544de50816d539412d6e0
treef7ca25d7b5bea1801c0f1492087676c9107899a5
parent6549d5c30e3bd88244ac5c0ca187cead62ff4f8a
karo: fdt: fix panel-dpi support

commit fefe948bd273 ("karo: fdt: support 'panel-dpi' in DT")
inadvertedly copies the 'phandle' property from the 'display-timing'
node. This creates a new property in the 'panel-timing' node which
invalidates all FDT offsets being used by the
karo_fixup_panel_timing() routine.
Add a whitelist of properties to copy and recalculate all FDT offsets
after possible creation of a new property in the panel-timing node.
Also delete properties in the panel-timing node that don't exist in
the display-timings node.

Fixes: fefe948bd273 ("karo: fdt: support 'panel-dpi' in DT")
board/karo/common/fdt.c