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