drivers: add genericity & prog_range_detector, prog_edge_detector methods