| #
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 ...
|
| #
1fdafb2e |
| 18-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
| #
745fb9c2 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Avoid calling dm_scan_fdt_dev() with of-platdata
We cannot call dm_scan_fdt_dev() with of-platdata since there is no device tree. Fix this with an #if check.
Fixes: 3be9a37 (dm: syscon: s
dm: core: Avoid calling dm_scan_fdt_dev() with of-platdata
We cannot call dm_scan_fdt_dev() with of-platdata since there is no device tree. Fix this with an #if check.
Fixes: 3be9a37 (dm: syscon: scan sub-nodes of the syscon node) Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
423620b9 |
| 21-Sep-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mips
|
| #
8291bc87 |
| 08-Sep-2016 |
Paul Burton <paul.burton@imgtec.com> |
dm: syscon: Provide a generic syscon driver
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver
dm: syscon: Provide a generic syscon driver
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
show more ...
|
| #
ebe621d5 |
| 15-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
04ecf36b |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
dm: syscon: Add support for of-platdata
Provide a new function which can cope with obtaining information from of-platdata instead of the device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
532f2435 |
| 12-Mar-2016 |
Simon Glass <sjg@chromium.org> |
syscon: Avoid returning a device on failure
If the device cannot be probed, syscon_get_by_driver_data() will still return a useful value in its devp parameter. Ensure that it returns NULL instead.
syscon: Avoid returning a device on failure
If the device cannot be probed, syscon_get_by_driver_data() will still return a useful value in its devp parameter. Ensure that it returns NULL instead.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
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 ...
|
| #
9f4629be |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: core: Add device checking to syscon_get_regmap()
This function can only handle a syscon device. It is possible that someone will make a mistake, so add a check for this.
Also we should return -
dm: core: Add device checking to syscon_get_regmap()
This function can only handle a syscon device. It is possible that someone will make a mistake, so add a check for this.
Also we should return -ENODEV when a device cannot be found, so update the syscon_get_regmap_by_driver_data() to follow this convention.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
57251285 |
| 23-Jun-2015 |
Simon Glass <sjg@chromium.org> |
dm: Add support for generic system controllers (syscon)
Many SoCs have a number of system controllers which are dealt with as a group by a single driver. It is a pain to have to add lots of compatib
dm: Add support for generic system controllers (syscon)
Many SoCs have a number of system controllers which are dealt with as a group by a single driver. It is a pain to have to add lots of compatible strings and/or separate drivers for each. Instead we can identify the controllers by a number and request the address of the one we want.
Add a simple implementation of this which can be used by SoC driver code.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|