@@ -363,6 +363,11 @@ static const struct resource mlxplat_lpc_resources[] = {
363
363
IORESOURCE_IO ),
364
364
};
365
365
366
+ /* Platform systems default i2c data */
367
+ static struct mlxreg_core_hotplug_platform_data mlxplat_mlxcpld_i2c_default_data = {
368
+ .completion_notify = mlxplat_i2c_main_complition_notify ,
369
+ };
370
+
366
371
/* Platform i2c next generation systems data */
367
372
static struct mlxreg_core_data mlxplat_mlxcpld_i2c_ng_items_data [] = {
368
373
{
@@ -5479,6 +5484,7 @@ static int __init mlxplat_dmi_default_matched(const struct dmi_system_id *dmi)
5479
5484
mlxplat_led = & mlxplat_default_led_data ;
5480
5485
mlxplat_regs_io = & mlxplat_default_regs_io_data ;
5481
5486
mlxplat_wd_data [0 ] = & mlxplat_mlxcpld_wd_set_type1 [0 ];
5487
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5482
5488
5483
5489
return 1 ;
5484
5490
}
@@ -5501,6 +5507,7 @@ static int __init mlxplat_dmi_default_wc_matched(const struct dmi_system_id *dmi
5501
5507
mlxplat_led = & mlxplat_default_led_wc_data ;
5502
5508
mlxplat_regs_io = & mlxplat_default_regs_io_data ;
5503
5509
mlxplat_wd_data [0 ] = & mlxplat_mlxcpld_wd_set_type1 [0 ];
5510
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5504
5511
5505
5512
return 1 ;
5506
5513
}
@@ -5548,6 +5555,7 @@ static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi)
5548
5555
mlxplat_led = & mlxplat_msn21xx_led_data ;
5549
5556
mlxplat_regs_io = & mlxplat_msn21xx_regs_io_data ;
5550
5557
mlxplat_wd_data [0 ] = & mlxplat_mlxcpld_wd_set_type1 [0 ];
5558
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5551
5559
5552
5560
return 1 ;
5553
5561
}
@@ -5570,6 +5578,7 @@ static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi)
5570
5578
mlxplat_led = & mlxplat_default_led_data ;
5571
5579
mlxplat_regs_io = & mlxplat_msn21xx_regs_io_data ;
5572
5580
mlxplat_wd_data [0 ] = & mlxplat_mlxcpld_wd_set_type1 [0 ];
5581
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5573
5582
5574
5583
return 1 ;
5575
5584
}
@@ -5592,6 +5601,7 @@ static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi)
5592
5601
mlxplat_led = & mlxplat_msn21xx_led_data ;
5593
5602
mlxplat_regs_io = & mlxplat_msn21xx_regs_io_data ;
5594
5603
mlxplat_wd_data [0 ] = & mlxplat_mlxcpld_wd_set_type1 [0 ];
5604
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5595
5605
5596
5606
return 1 ;
5597
5607
}
@@ -5641,6 +5651,7 @@ static int __init mlxplat_dmi_comex_matched(const struct dmi_system_id *dmi)
5641
5651
mlxplat_fan = & mlxplat_default_fan_data ;
5642
5652
for (i = 0 ; i < ARRAY_SIZE (mlxplat_mlxcpld_wd_set_type2 ); i ++ )
5643
5653
mlxplat_wd_data [i ] = & mlxplat_mlxcpld_wd_set_type2 [i ];
5654
+ mlxplat_i2c = & mlxplat_mlxcpld_i2c_default_data ;
5644
5655
mlxplat_regmap_config = & mlxplat_mlxcpld_regmap_config_comex ;
5645
5656
5646
5657
return 1 ;
0 commit comments