dm: core: Add functions to read 64-bit dt properties
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Mon, 2 Sep 2019 14:34:30 +0000 (16:34 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 6 Sep 2019 02:39:15 +0000 (10:39 +0800)
commit3f3d77158b8452a16dca4a6966217b344f77f9b7
tree288f1972b58bbce69e34ccc2fe5c9e328b7f3a17
parentd3302395e7b3deef1d7bb3eeb0c904e97ad7937d
dm: core: Add functions to read 64-bit dt properties

This patch adds functions dev_read_u64_default & dev_read_u64
to read unsigned 64-bit values from devicetree.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/core/ofnode.c
drivers/core/read.c
include/dm/ofnode.h
include/dm/read.h