@@ -406,13 +406,14 @@ struct sdw_slave_prop {
406
406
407
407
/**
408
408
* struct sdw_master_prop - Master properties
409
+ * @clk_gears: Clock gears supported
410
+ * @clk_freq: Clock frequencies supported, in Hz
411
+ * @quirks: bitmask identifying optional behavior beyond the scope of the MIPI specification
409
412
* @revision: MIPI spec version of the implementation
410
413
* @clk_stop_modes: Bitmap, bit N set when clock-stop-modeN supported
411
414
* @max_clk_freq: Maximum Bus clock frequency, in Hz
412
415
* @num_clk_gears: Number of clock gears supported
413
- * @clk_gears: Clock gears supported
414
416
* @num_clk_freq: Number of clock frequencies supported, in Hz
415
- * @clk_freq: Clock frequencies supported, in Hz
416
417
* @default_frame_rate: Controller default Frame rate, in Hz
417
418
* @default_row: Number of rows
418
419
* @default_col: Number of columns
@@ -421,24 +422,23 @@ struct sdw_slave_prop {
421
422
* command
422
423
* @mclk_freq: clock reference passed to SoundWire Master, in Hz.
423
424
* @hw_disabled: if true, the Master is not functional, typically due to pin-mux
424
- * @quirks: bitmask identifying optional behavior beyond the scope of the MIPI specification
425
425
*/
426
426
struct sdw_master_prop {
427
+ u32 * clk_gears ;
428
+ u32 * clk_freq ;
429
+ u64 quirks ;
427
430
u32 revision ;
428
431
u32 clk_stop_modes ;
429
432
u32 max_clk_freq ;
430
433
u32 num_clk_gears ;
431
- u32 * clk_gears ;
432
434
u32 num_clk_freq ;
433
- u32 * clk_freq ;
434
435
u32 default_frame_rate ;
435
436
u32 default_row ;
436
437
u32 default_col ;
437
- bool dynamic_frame ;
438
438
u32 err_threshold ;
439
439
u32 mclk_freq ;
440
+ bool dynamic_frame ;
440
441
bool hw_disabled ;
441
- u64 quirks ;
442
442
};
443
443
444
444
/* Definitions for Master quirks */
0 commit comments