Home
last modified time | relevance | path

Searched hist:"8 dca59b4d57afc236cf4778305583e2bedf6f0af" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/clk/
H A Dclk_dt.c8dca59b4d57afc236cf4778305583e2bedf6f0af Fri Nov 19 07:04:23 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> core: dt_driver: use driver type when finding a driver provider

Adds driver type argument to functions dt_driver_get_provider_by_node(),
and dt_driver_get_provider_by_phandle() to differentiate driver provider
references when a single DT node relates to several driver providers
that are of different type by DT binding definition. For example, a DT
node may describe a device that acts both as a clock provider and a reset
controller, for which two driver references are needed in the driver
provider list.

Updates dt_driver_device_from_node_idx_prop() accordingly.

Fixes: f498c4042931 ("core: dt_driver: factorize clk_get_provider_by_*()")
Acked-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
/optee_os/core/include/kernel/
H A Ddt_driver.h8dca59b4d57afc236cf4778305583e2bedf6f0af Fri Nov 19 07:04:23 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> core: dt_driver: use driver type when finding a driver provider

Adds driver type argument to functions dt_driver_get_provider_by_node(),
and dt_driver_get_provider_by_phandle() to differentiate driver provider
references when a single DT node relates to several driver providers
that are of different type by DT binding definition. For example, a DT
node may describe a device that acts both as a clock provider and a reset
controller, for which two driver references are needed in the driver
provider list.

Updates dt_driver_device_from_node_idx_prop() accordingly.

Fixes: f498c4042931 ("core: dt_driver: factorize clk_get_provider_by_*()")
Acked-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
/optee_os/core/kernel/
H A Ddt_driver.c8dca59b4d57afc236cf4778305583e2bedf6f0af Fri Nov 19 07:04:23 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> core: dt_driver: use driver type when finding a driver provider

Adds driver type argument to functions dt_driver_get_provider_by_node(),
and dt_driver_get_provider_by_phandle() to differentiate driver provider
references when a single DT node relates to several driver providers
that are of different type by DT binding definition. For example, a DT
node may describe a device that acts both as a clock provider and a reset
controller, for which two driver references are needed in the driver
provider list.

Updates dt_driver_device_from_node_idx_prop() accordingly.

Fixes: f498c4042931 ("core: dt_driver: factorize clk_get_provider_by_*()")
Acked-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>