diff options
| author | Tom Rini <[email protected]> | 2015-04-28 12:15:13 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-04-28 12:15:13 -0400 |
| commit | e536ab8849b2b4f6d68bbc8e1d1f9bc033db06bd (patch) | |
| tree | e5e3a3d5a0bee8a1d9a74deb3990455c40ded6b1 /include/fdt_support.h | |
| parent | cc555bd4f40a652471df4a3621d45ee57df0ca11 (diff) | |
| parent | 205d58699b157df75f1aa0b363ea9c21add21a0c (diff) | |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'include/fdt_support.h')
| -rw-r--r-- | include/fdt_support.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index ae5e8a3ef63..5d4f28dc786 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -47,6 +47,19 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop, const void *val, int len, int create); void fdt_fixup_qe_firmware(void *fdt); +/** + * Update native-mode property of display-timings node to the phandle + * of the timings matching a display by name (case insensitive). + * + * see kernel Documentation/devicetree/bindings/video/display-timing.txt + * + * @param blob FDT blob to update + * @param path path within dt + * @param display name of display timing to match + * @return 0 if ok, or -FDT_ERR_... on error + */ +int fdt_fixup_display(void *blob, const char *path, const char *display); + #if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_MPH_USB) void fdt_fixup_dr_usb(void *blob, bd_t *bd); #else |
