Searched hist:"5 e5887713cbac1009fad29e0e01246ea5bae5639" (Results 1 – 6 of 6) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | imx_lpuart.c | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|
| H A D | imx_uart.c | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|
| H A D | serial8250_uart.c | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|
| H A D | pl011.c | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|
| /optee_os/core/kernel/ |
| H A D | console.c | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|
| /optee_os/core/include/kernel/ |
| H A D | dt.h | 5e5887713cbac1009fad29e0e01246ea5bae5639 Thu Jun 10 14:51:54 UTC 2021 Clément Léger <clement.leger@bootlin.com> drivers: add type field to dt_driver struct
In order to keep the current mechanism simple but allow parsing the device tree by iterating on driver (clocks for instance), add a type field to dt driver struct which will allow differentiating drivers when iterating on entries and thus avoid casting struct dt_driver::driver to the wrong type in case a bad DT is provided. This will also allow adding a more generic driver model by probing generic driver based on their compatible.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
|