Teclast-X98-Air-3G_C6J6_custom_DSDT.git
10 years agoFix the pin number for TCD3
Antonio Ospite [Wed, 18 Feb 2015 10:00:22 +0000 (11:00 +0100)]
Fix the pin number for TCD3

TCD3 is the touchscreen reset pin, fix the pin definition so that the
touchscreen can be resetted properly.

10 years agoFix the gpio definition for the touchscreen interrupt
Antonio Ospite [Tue, 3 Feb 2015 11:36:43 +0000 (12:36 +0100)]
Fix the gpio definition for the touchscreen interrupt

10 years agoRemove the extra TCS0 device
Antonio Ospite [Wed, 18 Feb 2015 09:58:32 +0000 (10:58 +0100)]
Remove the extra TCS0 device

There are two TCS0 devices, only leave the one with the correct I2C bus.

10 years agoFix all the remaining remarks about NotSerialized methods
Antonio Ospite [Tue, 3 Feb 2015 11:35:01 +0000 (12:35 +0100)]
Fix all the remaining remarks about NotSerialized methods

dsdt.dsl   1026:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   1044:                 Method (_DOD, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   3883:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   3926:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   3964:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6129:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6146:             Method (_AEI, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6250:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6329:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6390:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   6411:             Method (_AEI, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   8617:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   8666:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   8717:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9346:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9384:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9524:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9615:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9844:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl   9952:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10018:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10187:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10373:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10555:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10728:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  10901:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11074:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11216:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11360:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11565:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11601:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11649:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11679:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11716:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11758:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11800:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11836:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11865:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  11903:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  12037:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  12292:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  12739:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  13188:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  13241:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  13898:                 Method (_CRS, 0, NotSerialized)
Remark   2120 -                            ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  14260:             Method (_CRS, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  14616:         Method (_CRS, 0, NotSerialized)
Remark   2120 -                    ^ Control Method should be made Serialized (due to creation of named objects within)

dsdt.dsl  16010:             Method (SBTP, 0, NotSerialized)
Remark   2120 -                        ^ Control Method should be made Serialized (due to creation of named objects within)

10 years agoFix some warnings about missing return values
Antonio Ospite [Tue, 3 Feb 2015 11:21:03 +0000 (12:21 +0100)]
Fix some warnings about missing return values

dsdt.dsl   4065:             Method (_PS0, 0, Serialized)
Warning  3115 -                        ^ Not all control paths return a value (_PS0)

dsdt.dsl   4280:             Method (_PS3, 0, Serialized)
Warning  3115 -                        ^ Not all control paths return a value (_PS3)

dsdt.dsl  12210:             Method (_PS3, 0, NotSerialized)
Warning  3115 -                        ^ Not all control paths return a value (_PS3)

10 years agoFix some unreferenced object remarks
Antonio Ospite [Tue, 3 Feb 2015 11:14:08 +0000 (12:14 +0100)]
Fix some unreferenced object remarks

dsdt.dsl   3752:                         Memory32Fixed (ReadWrite,
Remark   2089 -                       Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3754:                             0x00001000,
Remark   2089 -             Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3788:                         Memory32Fixed (ReadWrite,
Remark   2089 -                       Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3790:                             0x00001000,
Remark   2089 -             Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   6407:                 Name (RBUF, ResourceTemplate ()
Remark   2089 - Object is not referenced ^  (Name is within method [_AEI])

dsdt.dsl   9896:                         CreateByteField (Arg3, Zero, FARG)
Remark   2089 -                                Object is not referenced ^  (Name is within method [_DSM])

dsdt.dsl  14369:                 Name (RBU0, ResourceTemplate ()
Remark   2089 - Object is not referenced ^  (Name is within method [_CRS])

10 years agoFix some remarks about using compiler reserverd names
Antonio Ospite [Tue, 3 Feb 2015 10:51:45 +0000 (11:51 +0100)]
Fix some remarks about using compiler reserverd names

dsdt.dsl   3804:                     Name (_T_0, Zero)
Remark   2011 -                              ^ Use of compiler reserved name (_T_0)

10 years agoInitial import
Antonio Ospite [Tue, 3 Feb 2015 10:41:33 +0000 (11:41 +0100)]
Initial import

Import the original DSDT and a simple Makefile to make the editing
process a little easier.