]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/fdt_support.h
arm: mx6: tqma6: use default CONFIG_SYS_PBSIZE
[people/ms/u-boot.git] / include / fdt_support.h
index ae5e8a3ef6366f2d5ad29b5a0a788170b5b668a9..5d4f28dc786e7b91e58b4b1b3190f4ad96e0d411 100644 (file)
@@ -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