Home
last modified time | relevance | path

Searched hist:c0cfb36c9054e09bdb4249aaea36d3a4c316c63f (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/kernel/
H A Ddt.cc0cfb36c9054e09bdb4249aaea36d3a4c316c63f Tue Jan 08 09:02:00 UTC 2019 Etienne Carriere <etienne.carriere@linaro.org> core: dt: introduce _fdt_fill_device_info()

_fdt_fill_device_info() gets some generic properties from a given
node in a single always successful sequence.

Retrieved device information from the DT:
- The status/secure-status state as per DT_STATUS_*,
- The first register base address found or DT_INFO_INVALID_REG (zero).
If there are several register base addresses others are ignored.
- The first clock identifier found or DT_INFO_INVALID_CLOCK (negative).
- This first reset identifier found or DT_INFO_INVALID_RESET (negative).

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
/optee_os/core/include/kernel/
H A Ddt.hc0cfb36c9054e09bdb4249aaea36d3a4c316c63f Tue Jan 08 09:02:00 UTC 2019 Etienne Carriere <etienne.carriere@linaro.org> core: dt: introduce _fdt_fill_device_info()

_fdt_fill_device_info() gets some generic properties from a given
node in a single always successful sequence.

Retrieved device information from the DT:
- The status/secure-status state as per DT_STATUS_*,
- The first register base address found or DT_INFO_INVALID_REG (zero).
If there are several register base addresses others are ignored.
- The first clock identifier found or DT_INFO_INVALID_CLOCK (negative).
- This first reset identifier found or DT_INFO_INVALID_RESET (negative).

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>