Lines Matching refs:driver
1 How to port a serial driver to driver model
13 Here is a suggested approach for converting your serial driver over to driver
16 - #ifdef out all your own serial driver code (#ifndef CONFIG_DM_SERIAL)
18 - If the board does not already use driver model, you need CONFIG_DM also
20 driver
22 - Add a private struct for the driver data - avoid using static variables
23 - Implement each of the driver methods, perhaps by calling your old methods
26 - If you convert all existing users of the driver, remove the pre-driver-model
30 - clean up / prepare the driver for conversion
31 - add driver model code
32 - convert at least one existing board to use driver model serial
33 - (if no boards remain that don't use driver model) remove the old code