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