UPSTREAM: 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
UPSTREAM: 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.
Change-Id: I04fa5cce5de5847184d6a951f36c640fd12b14a8 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com> (cherry picked from commit 6c3af1f24e4b8ccbef20bc00b9529f4a325583f2)
show more ...
|