u-boot/include/dm
Masahiro Yamada 3ab48f6223 dm: add dev_read_u32()
dev_read_u32_default() always returns something even when the property
is missing.  So, it is impossible to do nothing in the case.  One
solution is to use ofnode_read_u32() instead, but adding dev_read_u32()
will be helpful.

BTW, Linux has an equvalent function, device_property_read_u32();
it is clearer that it reads a property.  I cannot understand the
behavior of dev_read_u32() from its name.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-01-22 14:11:58 +09:00
..
platform_data serial: stm32x7: migrate serial struct to driver 2017-07-26 11:26:54 -04:00
device-internal.h dm: core: Add a comment about the device_remove() flags 2017-08-17 16:44:16 +09:00
device.h dm: define dev_*() log functions in DM header 2017-10-04 12:00:20 -04:00
fdtaddr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
lists.h dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
of.h dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
of_access.h dm: core: add ofnode_count_phandle_with_args() 2017-07-28 23:34:08 +02:00
of_addr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
of_extra.h dm: core: Add a place to put extra device-tree reading functions 2017-06-01 07:03:07 -06:00
ofnode.h dm: core: fix member name in ofnode_union documentation 2017-11-17 07:15:52 -07:00
pinctrl.h dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00
platdata.h dm: core: remove orphaned parameter description in platdata.h 2018-01-01 09:04:19 -05:00
read.h dm: add dev_read_u32() 2018-01-22 14:11:58 +09:00
root.h dm: core: add clocks node scan 2017-09-11 21:43:58 -06:00
test.h dm: core: Run tests with both livetree and flat tree 2017-06-01 07:03:10 -06:00
uclass-id.h block: ide: Fix block read/write with driver model 2017-09-10 12:27:37 -04:00
uclass-internal.h dm: core: Add a way to find a device by ofnode 2017-06-01 07:03:08 -06:00
uclass.h dm: core: Add uclass_first/next_device_check() 2017-07-11 10:08:19 -06:00
util.h dm: replace dm_dbg() with pr_debug() 2017-10-04 12:00:21 -04:00