Home
last modified time | relevance | path

Searched hist:"771 aadbaa2a4a3ac9ca95cf16b66aaea9f94dc7b" (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/include/dm/
H A Dtest.h771aadbaa2a4a3ac9ca95cf16b66aaea9f94dc7b Thu Feb 06 16:54:50 UTC 2020 Simon Glass <sjg@chromium.org> UPSTREAM: dm: core: Add a function to find a device by drvdata

It is sometimes useful to find a device in a uclass using only its driver
data. The driver data often indicates the 'subtype' of the device, e,g,
via its compatible string.

Add a function to handle this.

Change-Id: I6668a2a29c29346f57d3d975838459c0ac90fdea
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 50162348f0d3b915004733131acd81805e202c76)
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
H A Duclass.h771aadbaa2a4a3ac9ca95cf16b66aaea9f94dc7b Thu Feb 06 16:54:50 UTC 2020 Simon Glass <sjg@chromium.org> UPSTREAM: dm: core: Add a function to find a device by drvdata

It is sometimes useful to find a device in a uclass using only its driver
data. The driver data often indicates the 'subtype' of the device, e,g,
via its compatible string.

Add a function to handle this.

Change-Id: I6668a2a29c29346f57d3d975838459c0ac90fdea
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 50162348f0d3b915004733131acd81805e202c76)
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
/rk3399_rockchip-uboot/test/dm/
H A Dtest-fdt.c771aadbaa2a4a3ac9ca95cf16b66aaea9f94dc7b Thu Feb 06 16:54:50 UTC 2020 Simon Glass <sjg@chromium.org> UPSTREAM: dm: core: Add a function to find a device by drvdata

It is sometimes useful to find a device in a uclass using only its driver
data. The driver data often indicates the 'subtype' of the device, e,g,
via its compatible string.

Add a function to handle this.

Change-Id: I6668a2a29c29346f57d3d975838459c0ac90fdea
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 50162348f0d3b915004733131acd81805e202c76)
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
/rk3399_rockchip-uboot/drivers/core/
H A Duclass.c771aadbaa2a4a3ac9ca95cf16b66aaea9f94dc7b Thu Feb 06 16:54:50 UTC 2020 Simon Glass <sjg@chromium.org> UPSTREAM: dm: core: Add a function to find a device by drvdata

It is sometimes useful to find a device in a uclass using only its driver
data. The driver data often indicates the 'subtype' of the device, e,g,
via its compatible string.

Add a function to handle this.

Change-Id: I6668a2a29c29346f57d3d975838459c0ac90fdea
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 50162348f0d3b915004733131acd81805e202c76)
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>