commit | dc44ea4c0ea881ce478b8eeed1722d6d2c0d223f | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Thu Nov 29 10:57:37 2018 +0100 |
committer | Marek Vasut <marex@denx.de> | Fri Dec 07 16:31:45 2018 +0100 |
tree | 534081dec42ca033d3e9737965804d6d1ebe02e4 | |
parent | 31da49d005b25509cc00ba99398432ce2b9ca9b3 [diff] |
syscon: dm: Add a new method to get a regmap from DTS syscon_regmap_lookup_by_phandle() can be used to get the regmap of a syscon device from a reference in the DTS. It operates similarly to the linux version of the namesake function. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>