History log of /rk3399_rockchip-uboot/test/dm/syscon.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 10427e2d 29-Nov-2018 Jean-Jacques Hiblot <jjhiblot@ti.com>

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 ...


# ac94b7bc 17-Jan-2016 Simon Glass <sjg@chromium.org>

dm: syscon: Allow finding devices by driver data

We have a way to find a regmap by its syscon driver data value. Add the same
for syscon itself.

Signed-off-by: Simon Glass <sjg@chromium.org>
Review

dm: syscon: Allow finding devices by driver data

We have a way to find a regmap by its syscon driver data value. Add the same
for syscon itself.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

show more ...


# 04035fd3 06-Jul-2015 Simon Glass <sjg@chromium.org>

dm: test: Add a test for the system controller uclass

Add a test to confirm that we can access system controllers and find their
driver data.

Signed-off-by: Simon Glass <sjg@chromium.org>