Giter VIP home page Giter VIP logo

rt5033-charger-control's Introduction

Script to enable and disable charger on fortuna3g.

Requirements :

Enable the necessary i2c bus. The following needs to be added to device tree :

&blsp_i2c6 {
	status = "okay";
};

Usage

./toggle-charger.sh on
./toggle-charger.sh off
./toggle-charger.sh auto

The auto parameter turns on the charger if battery percentage is below 40% and disables the charger if battery percentage is above 75%

rt5033-charger-control's People

Contributors

siddharthmanthan avatar

Watchers

 avatar

rt5033-charger-control's Issues

enable rt5033_mfd on msm8916_samsung_gprime_common.dtsi

Hi @SiddharthManthan.Recently, I'm experimenting with rt5033_charger from @Jakko3 's linux repo. So far i have compiled rt5033_charger kernel module with msm8916-mainline's linux-6.4-rc4 branch.But i don't know, How i enable i2c6 and rt5033_mfd in msm8916_samsung_gprime_common.dtsi to test the kernel module. It would be great if you could help. (note: I'm using fortuna3g as experiment device)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.