Skip to content

By controlling the SM5705Q PMIC and TypeC related chips on the device, a driver complex is created to replace Qualcomm's PM8150b power chip and provide charging, battery, TypeC, and third-party PMIC functions for SansungTabS6. But it has not been completed yet.

License

Notifications You must be signed in to change notification settings

Project-Aloha/SansungTabS6-TypeC_Pmic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smaung SM5705 Battery Fuel Gauge Driver

Basd on SurfaceDuo Battery.

Reference on HotdogBattery.

Caution

  • The driver still has many battery functions that have not been implemented yet, please note!
  • This driver is only considered for Samsung Galaxy Tab S6 (LTE/WIFI) and is not recommended for other devices!

Note

  • Due to the incomplete development of the TypeC-PMIC driver program by another branch, which is far from meeting the usable standards, the main branch of the driver program will be restored to a driver with only battery function. In the other branch, we still need to implement IRQ (?) or other methods to trigger the driver program to detect the status of TypeC and make corresponding adjustments based on the status.
  • This driver is designed for the Smaung SM5705 Fuel Gauges found in the Samsung Galaxy Tab S6 LTE/WIFI.
  • This driver enables Windows to get information about battery packs used in Samsung Galaxy Tab S6 LTE/WIFI. It does not provide charging capabilities.

Future plans

  • Because the USB and charging parts of Samsung Galaxy Tab S6 (WIFI) do not use PM8150B, we plan to modify the driver to control multiple I2C devices for better coordination.

ACPI Sample

Device(SFG1)
{
    Name (_HID, "SM5705")
    Name (_UID, 1)

    Name (_DEP, Package(0x1) {
        \_SB_.IC12
    })

    Method (_CRS, 0x0, NotSerialized) {
        Name (RBUF, ResourceTemplate () {
            I2CSerialBus(0x71,, 100000, AddressingMode7Bit, "\\_SB.IC12",,,,)
            GpioInt(Level, ActiveBoth, Exclusive, PullNone, 0, "\\_SB.GIO0") {37}  // IRQ
        })
        Return (RBUF)
    }
}

Acknowledgements

About

By controlling the SM5705Q PMIC and TypeC related chips on the device, a driver complex is created to replace Qualcomm's PM8150b power chip and provide charging, battery, TypeC, and third-party PMIC functions for SansungTabS6. But it has not been completed yet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages