|
@@ -48,8 +48,8 @@ int dm_scan_platdata(bool pre_reloc_only);
|
|
|
* the top-level subnodes are examined.
|
|
|
*
|
|
|
* @blob: Pointer to device tree blob
|
|
|
- * @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC
|
|
|
- * flag. If false bind all drivers.
|
|
|
+ * @pre_reloc_only: If true, bind only nodes with special devicetree properties,
|
|
|
+ * or drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers.
|
|
|
* @return 0 if OK, -ve on error
|
|
|
*/
|
|
|
int dm_scan_fdt(const void *blob, bool pre_reloc_only);
|
|
@@ -62,8 +62,8 @@ int dm_scan_fdt(const void *blob, bool pre_reloc_only);
|
|
|
* of "clocks" node.
|
|
|
*
|
|
|
* @blob: Pointer to device tree blob
|
|
|
- * @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC
|
|
|
- * flag. If false bind all drivers.
|
|
|
+ * @pre_reloc_only: If true, bind only nodes with special devicetree properties,
|
|
|
+ * or drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers.
|
|
|
* @return 0 if OK, -ve on error
|
|
|
*/
|
|
|
int dm_extended_scan_fdt(const void *blob, bool pre_reloc_only);
|
|
@@ -76,8 +76,9 @@ int dm_extended_scan_fdt(const void *blob, bool pre_reloc_only);
|
|
|
* programmaticaly. They should do this by calling device_bind() on each
|
|
|
* device.
|
|
|
*
|
|
|
- * @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC
|
|
|
- * flag. If false bind all drivers.
|
|
|
+ * @pre_reloc_only: If true, bind only nodes with special devicetree properties,
|
|
|
+ * or drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers.
|
|
|
+ * @return 0 if OK, -ve on error
|
|
|
*/
|
|
|
int dm_scan_other(bool pre_reloc_only);
|
|
|
|
|
@@ -88,8 +89,8 @@ int dm_scan_other(bool pre_reloc_only);
|
|
|
* then scans and binds available devices from platform data and the FDT.
|
|
|
* This calls dm_init() to set up Driver Model structures.
|
|
|
*
|
|
|
- * @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC
|
|
|
- * flag. If false bind all drivers.
|
|
|
+ * @pre_reloc_only: If true, bind only nodes with special devicetree properties,
|
|
|
+ * or drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers.
|
|
|
* @return 0 if OK, -ve on error
|
|
|
*/
|
|
|
int dm_init_and_scan(bool pre_reloc_only);
|