@@ -599,62 +599,62 @@ const struct x86_dev_info whitelabel_tm800a550l_info __initconst = {
599
599
};
600
600
601
601
/*
602
- * Vexia EDU ATLA 10 tablet, Android 4.2 / 4.4 + Guadalinex Ubuntu tablet
602
+ * Vexia EDU ATLA 10 tablet 9V , Android 4.2 + Guadalinex Ubuntu tablet
603
603
* distributed to schools in the Spanish Andalucía region.
604
604
*/
605
605
static const char * const crystal_cove_pwrsrc_psy [] = { "crystal_cove_pwrsrc" };
606
606
607
- static const struct property_entry vexia_edu_atla10_ulpmc_props [] = {
607
+ static const struct property_entry vexia_edu_atla10_9v_ulpmc_props [] = {
608
608
PROPERTY_ENTRY_STRING_ARRAY ("supplied-from" , crystal_cove_pwrsrc_psy ),
609
609
{ }
610
610
};
611
611
612
- static const struct software_node vexia_edu_atla10_ulpmc_node = {
613
- .properties = vexia_edu_atla10_ulpmc_props ,
612
+ static const struct software_node vexia_edu_atla10_9v_ulpmc_node = {
613
+ .properties = vexia_edu_atla10_9v_ulpmc_props ,
614
614
};
615
615
616
- static const char * const vexia_edu_atla10_accel_mount_matrix [] = {
616
+ static const char * const vexia_edu_atla10_9v_accel_mount_matrix [] = {
617
617
"0" , "-1" , "0" ,
618
618
"1" , "0" , "0" ,
619
619
"0" , "0" , "1"
620
620
};
621
621
622
- static const struct property_entry vexia_edu_atla10_accel_props [] = {
623
- PROPERTY_ENTRY_STRING_ARRAY ("mount-matrix" , vexia_edu_atla10_accel_mount_matrix ),
622
+ static const struct property_entry vexia_edu_atla10_9v_accel_props [] = {
623
+ PROPERTY_ENTRY_STRING_ARRAY ("mount-matrix" , vexia_edu_atla10_9v_accel_mount_matrix ),
624
624
{ }
625
625
};
626
626
627
- static const struct software_node vexia_edu_atla10_accel_node = {
628
- .properties = vexia_edu_atla10_accel_props ,
627
+ static const struct software_node vexia_edu_atla10_9v_accel_node = {
628
+ .properties = vexia_edu_atla10_9v_accel_props ,
629
629
};
630
630
631
- static const struct property_entry vexia_edu_atla10_touchscreen_props [] = {
631
+ static const struct property_entry vexia_edu_atla10_9v_touchscreen_props [] = {
632
632
PROPERTY_ENTRY_U32 ("hid-descr-addr" , 0x0000 ),
633
633
PROPERTY_ENTRY_U32 ("post-reset-deassert-delay-ms" , 120 ),
634
634
{ }
635
635
};
636
636
637
- static const struct software_node vexia_edu_atla10_touchscreen_node = {
638
- .properties = vexia_edu_atla10_touchscreen_props ,
637
+ static const struct software_node vexia_edu_atla10_9v_touchscreen_node = {
638
+ .properties = vexia_edu_atla10_9v_touchscreen_props ,
639
639
};
640
640
641
- static const struct property_entry vexia_edu_atla10_pmic_props [] = {
641
+ static const struct property_entry vexia_edu_atla10_9v_pmic_props [] = {
642
642
PROPERTY_ENTRY_BOOL ("linux,register-pwrsrc-power_supply" ),
643
643
{ }
644
644
};
645
645
646
- static const struct software_node vexia_edu_atla10_pmic_node = {
647
- .properties = vexia_edu_atla10_pmic_props ,
646
+ static const struct software_node vexia_edu_atla10_9v_pmic_node = {
647
+ .properties = vexia_edu_atla10_9v_pmic_props ,
648
648
};
649
649
650
- static const struct x86_i2c_client_info vexia_edu_atla10_i2c_clients [] __initconst = {
650
+ static const struct x86_i2c_client_info vexia_edu_atla10_9v_i2c_clients [] __initconst = {
651
651
{
652
652
/* I2C attached embedded controller, used to access fuel-gauge */
653
653
.board_info = {
654
654
.type = "vexia_atla10_ec" ,
655
655
.addr = 0x76 ,
656
656
.dev_name = "ulpmc" ,
657
- .swnode = & vexia_edu_atla10_ulpmc_node ,
657
+ .swnode = & vexia_edu_atla10_9v_ulpmc_node ,
658
658
},
659
659
.adapter_path = "0000:00:18.1" ,
660
660
}, {
@@ -679,7 +679,7 @@ static const struct x86_i2c_client_info vexia_edu_atla10_i2c_clients[] __initcon
679
679
.type = "kxtj21009" ,
680
680
.addr = 0x0f ,
681
681
.dev_name = "kxtj21009" ,
682
- .swnode = & vexia_edu_atla10_accel_node ,
682
+ .swnode = & vexia_edu_atla10_9v_accel_node ,
683
683
},
684
684
.adapter_path = "0000:00:18.5" ,
685
685
}, {
@@ -688,7 +688,7 @@ static const struct x86_i2c_client_info vexia_edu_atla10_i2c_clients[] __initcon
688
688
.type = "hid-over-i2c" ,
689
689
.addr = 0x38 ,
690
690
.dev_name = "FTSC1000" ,
691
- .swnode = & vexia_edu_atla10_touchscreen_node ,
691
+ .swnode = & vexia_edu_atla10_9v_touchscreen_node ,
692
692
},
693
693
.adapter_path = "0000:00:18.6" ,
694
694
.irq_data = {
@@ -703,7 +703,7 @@ static const struct x86_i2c_client_info vexia_edu_atla10_i2c_clients[] __initcon
703
703
.type = "intel_soc_pmic_crc" ,
704
704
.addr = 0x6e ,
705
705
.dev_name = "intel_soc_pmic_crc" ,
706
- .swnode = & vexia_edu_atla10_pmic_node ,
706
+ .swnode = & vexia_edu_atla10_9v_pmic_node ,
707
707
},
708
708
.adapter_path = "0000:00:18.7" ,
709
709
.irq_data = {
@@ -715,28 +715,28 @@ static const struct x86_i2c_client_info vexia_edu_atla10_i2c_clients[] __initcon
715
715
}
716
716
};
717
717
718
- static const struct x86_serdev_info vexia_edu_atla10_serdevs [] __initconst = {
718
+ static const struct x86_serdev_info vexia_edu_atla10_9v_serdevs [] __initconst = {
719
719
{
720
720
.ctrl .pci .devfn = PCI_DEVFN (0x1e , 3 ),
721
721
.ctrl_devname = "serial0" ,
722
722
.serdev_hid = "OBDA8723" ,
723
723
},
724
724
};
725
725
726
- static struct gpiod_lookup_table vexia_edu_atla10_ft5416_gpios = {
726
+ static struct gpiod_lookup_table vexia_edu_atla10_9v_ft5416_gpios = {
727
727
.dev_id = "i2c-FTSC1000" ,
728
728
.table = {
729
729
GPIO_LOOKUP ("INT33FC:00" , 60 , "reset" , GPIO_ACTIVE_LOW ),
730
730
{ }
731
731
},
732
732
};
733
733
734
- static struct gpiod_lookup_table * const vexia_edu_atla10_gpios [] = {
735
- & vexia_edu_atla10_ft5416_gpios ,
734
+ static struct gpiod_lookup_table * const vexia_edu_atla10_9v_gpios [] = {
735
+ & vexia_edu_atla10_9v_ft5416_gpios ,
736
736
NULL
737
737
};
738
738
739
- static int __init vexia_edu_atla10_init (struct device * dev )
739
+ static int __init vexia_edu_atla10_9v_init (struct device * dev )
740
740
{
741
741
struct pci_dev * pdev ;
742
742
int ret ;
@@ -760,13 +760,13 @@ static int __init vexia_edu_atla10_init(struct device *dev)
760
760
return 0 ;
761
761
}
762
762
763
- const struct x86_dev_info vexia_edu_atla10_info __initconst = {
764
- .i2c_client_info = vexia_edu_atla10_i2c_clients ,
765
- .i2c_client_count = ARRAY_SIZE (vexia_edu_atla10_i2c_clients ),
766
- .serdev_info = vexia_edu_atla10_serdevs ,
767
- .serdev_count = ARRAY_SIZE (vexia_edu_atla10_serdevs ),
768
- .gpiod_lookup_tables = vexia_edu_atla10_gpios ,
769
- .init = vexia_edu_atla10_init ,
763
+ const struct x86_dev_info vexia_edu_atla10_9v_info __initconst = {
764
+ .i2c_client_info = vexia_edu_atla10_9v_i2c_clients ,
765
+ .i2c_client_count = ARRAY_SIZE (vexia_edu_atla10_9v_i2c_clients ),
766
+ .serdev_info = vexia_edu_atla10_9v_serdevs ,
767
+ .serdev_count = ARRAY_SIZE (vexia_edu_atla10_9v_serdevs ),
768
+ .gpiod_lookup_tables = vexia_edu_atla10_9v_gpios ,
769
+ .init = vexia_edu_atla10_9v_init ,
770
770
.use_pci = true,
771
771
};
772
772
0 commit comments