Branch | Commit message | Author | Age |
archive/unc-master-3.0 | P-FP: fix BUG_ON releated to priority inheritance | Bjoern Brandenburg | 13 years |
archived-2013.1 | uncachedev: mmap memory that is not cached by CPUs | Glenn Elliott | 12 years |
archived-private-master | Merge branch 'wip-2.6.34' into old-private-master | Andrea Bastoni | 15 years |
archived-semi-part | Merge branch 'wip-semi-part' of ssh://cvs/cvs/proj/litmus/repo/litmus2010 int... | Andrea Bastoni | 15 years |
demo | Further refinements | Jonathan Herman | 14 years |
ecrts-pgm-final | Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r... | Glenn Elliott | 12 years |
ecrts14-pgm-final | Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r... | Glenn Elliott | 12 years |
gpusync-rtss12 | Final GPUSync implementation. | Glenn Elliott | 12 years |
gpusync/staging | Rename IKGLP R2DGLP. | Glenn Elliott | 12 years |
linux-tip | Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p... | Linus Torvalds | 15 years |
litmus2008-patch-series | add i386 feather-trace implementation | Bjoern B. Brandenburg | 16 years |
master | PSN-EDF: use inferred_sporadic_job_release_at | Bjoern Brandenburg | 9 years |
pgm | make it compile | Glenn Elliott | 12 years |
prop/litmus-signals | Infrastructure for Litmus signals. | Glenn Elliott | 13 years |
prop/robust-tie-break | Fixed bug in edf_higher_prio(). | Glenn Elliott | 13 years |
staging | Fix tracepoint compilation error | Felipe Cerqueira | 13 years |
test | 9/23/2016 | Namhoon Kim | 9 years |
tracing-devel | Test kernel tracing events capabilities | Andrea Bastoni | 16 years |
v2.6.34-with-arm-patches | smsc911x: Add spinlocks around registers access | Catalin Marinas | 15 years |
v2015.1 | Add ARM syscall def for get_current_budget | Bjoern Brandenburg | 10 years |
wip-2011.2-bbb | Litmus core: simplify np-section protocol | Bjoern B. Brandenburg | 14 years |
wip-2011.2-bbb-trace | Refactor sched_trace_log_message() -> debug_trace_log_message() | Andrea Bastoni | 14 years |
wip-2012.3-gpu | SOBLIV draining support for C-EDF. | Glenn Elliott | 12 years |
wip-2012.3-gpu-preport | pick up last C-RM file | Glenn Elliott | 12 years |
wip-2012.3-gpu-rtss13 | Fix critical bug in GPU tracker. | Glenn Elliott | 12 years |
wip-2012.3-gpu-sobliv-budget-w-kshark | Proper sobliv draining and many bug fixes. | Glenn Elliott | 12 years |
wip-aedzl-final | Make it easier to compile AEDZL interfaces in liblitmus. | Glenn Elliott | 15 years |
wip-aedzl-revised | Add sched_trace data for Apative EDZL | Glenn Elliott | 15 years |
wip-arbit-deadline | Fix compilation bug. | Glenn Elliott | 13 years |
wip-aux-tasks | Description of refined aux task inheritance. | Glenn Elliott | 13 years |
wip-bbb | GSN-EDF & Core: improve debug TRACE'ing for NP sections | Bjoern B. Brandenburg | 14 years |
wip-bbb-prio-don | use correct timestamp | Bjoern B. Brandenburg | 14 years |
wip-better-break | Implement hash-based EDF tie-breaking. | Glenn Elliott | 13 years |
wip-binary-heap | Make C-EDF work with simplified binheap_delete | Glenn Elliott | 13 years |
wip-budget | Added support for choices in budget policy enforcement. | Glenn Elliott | 15 years |
wip-color | Summarize schedulability with final record | Jonathan Herman | 13 years |
wip-color-jlh | sched_color: Fixed two bugs causing crashing on experiment restart and a rare... | Jonathan Herman | 13 years |
wip-d10-hz1000 | Enable HZ=1000 on District 10 | Bjoern B. Brandenburg | 15 years |
wip-default-clustering | Feature: Make default C-EDF clustering compile-time configurable. | Glenn Elliott | 15 years |
wip-dissipation-jerickso | Update from 2.6.36 to 2.6.36.4 | Jeremy Erickson | 11 years |
wip-dissipation2-jerickso | Update 2.6.36 to 2.6.36.4 | Jeremy Erickson | 11 years |
wip-ecrts14-pgm | Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r... | Glenn Elliott | 12 years |
wip-edf-hsb | last tested version | Jonathan Herman | 14 years |
wip-edf-os | Lookup table EDF-os | Jeremy Erickson | 12 years |
wip-edf-tie-break | Merge branch 'wip-edf-tie-break' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus... | Glenn Elliott | 13 years |
wip-edzl-critique | Use hr_timer's active checks instead of having own flag. | Glenn Elliott | 15 years |
wip-edzl-final | Implementation of the EDZL scheduler. | Glenn Elliott | 15 years |
wip-edzl-revised | Clean up comments. | Glenn Elliott | 15 years |
wip-events | Added support for tracing arbitrary actions. | Jonathan Herman | 15 years |
wip-extra-debug | DBG: add additional tracing | Bjoern B. Brandenburg | 15 years |
wip-fix-switch-jerickso | Attempt to fix race condition with plugin switching | Jeremy Erickson | 15 years |
wip-fix3 | sched: show length of runqueue clock deactivation in /proc/sched_debug | Bjoern B. Brandenburg | 15 years |
wip-fmlp-dequeue | Improve FMLP queue management. | Glenn Elliott | 14 years |
wip-ft-irq-flag | Feather-Trace: keep track of interrupt-related interference. | Bjoern B. Brandenburg | 14 years |
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This driver is based on max17040_battery.c
*/
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/power_supply.h>
#include <linux/power/max17042_battery.h>
struct max17042_chip {
struct i2c_client *client;
struct power_supply battery;
struct max17042_platform_data *pdata;
};
static int max17042_write_reg(struct i2c_client *client, u8 reg, u16 value)
{
int ret = i2c_smbus_write_word_data(client, reg, value);
if (ret < 0)
dev_err(&client->dev, "%s: err %d\n", __func__, ret);
return ret;
}
static int max17042_read_reg(struct i2c_client *client, u8 reg)
{
int ret = i2c_smbus_read_word_data(client, reg);
if (ret < 0)
dev_err(&client->dev, "%s: err %d\n", __func__, ret);
return ret;
}
static void max17042_set_reg(struct i2c_client *client,
struct max17042_reg_data *data, int/?h=wip-litmus-3.2'>wip-litmus-3.2 | Merge commit 'v3.2' into litmus-staging | Andrea Bastoni | 13 years |
wip-litmus2011.2 | Cleanup: Coding conformance for affinity stuff. | Glenn Elliott | 14 years |
wip-litmus3.0-2011.2 | Feather-Trace: keep track of interrupt-related interference. | Bjoern B. Brandenburg | 14 years |
wip-master-2.6.33-rt | Avoid deadlock when switching task policy to BACKGROUND (ugly) | Andrea Bastoni | 15 years |
wip-mc | Removed ARM-specific hacks which disabled less common mixed-criticality featu... | Jonathan Herman | 12 years |
wip-mc-bipasa | MC-EDF added | bipasa chattopadhyay | 13 years |
wip-mc-jerickso | Split C/D queues | Jeremy Erickson | 15 years |
wip-mc2-cache-slack | Manually patched mc^2 related code | Ming Yang | 10 years |
wip-mcrit-mac | cosmetic | Mac Mollison | 15 years |
wip-merge-3.0 | Prevent Linux to send IPI and queue tasks on remote CPUs. | Andrea Bastoni | 14 years |
wip-merge-v3.0 | Prevent Linux to send IPI and queue tasks on remote CPUs. | Andrea Bastoni | 14 years |
wip-migration-affinity | NULL affinity dereference in C-EDF. | Glenn Elliott | 14 years |
wip-mmap-uncache | share branch with others | Glenn Elliott | 13 years |
wip-modechange | RTSS 2017 submission | Namhoon Kim | 8 years |
wip-nested-locking | Appears to be working. | Bryan Ward | 12 years |
wip-omlp-gedf | First implementation of G-OMLP. | Glenn Elliott | 15 years |
wip-pai | Some cleanup of PAI | Glenn Elliott | 14 years |
wip-percore-lib | 9/21/2016 | Namhoon Kim | 9 years |
wip-performance | CONFIG_DONT_PREEMPT_ON_TIE: Don't preeempt a scheduled task on priority tie. | Glenn Elliott | 14 years |
wip-pgm | Add PGM support to C-FL | Glenn Elliott | 12 years |
wip-pgm-split | First draft of C-FL-split | Namhoon Kim | 12 years |
wip-pm-ovd | Add preemption-and-migration overhead tracing support | Andrea Bastoni | 15 years |
wip-prio-inh | P-EDF updated to use the generic pi framework. | Glenn Elliott | 15 years |
wip-prioq-dgl | BUG FIX: Support DGLs with PRIOQ_MUTEX | Glenn Elliott | 13 years |
wip-refactored-gedf | Generalizd architecture for GEDF-style scheduelrs to reduce code redundancy. | Glenn Elliott | 15 years |
wip-release-master-fix | | Tag | Download | Author | Age |
2015.1 | commit 8e51b37822... | Bjoern Brandenburg | 10 years |
2013.1 | commit bcaacec1ca... | Glenn Elliott | 12 years |
2012.3 | commit c158b5fbe4... | Jonathan Herman | 13 years |
2012.2 | commit b53c479a0f... | Glenn Elliott | 13 years |
2012.1 | commit 83b11ea1c6... | Bjoern B. Brandenburg | 14 years |
rtas12-mc-beta-exp | commit 8e236ee20f... | Christopher Kenna | 14 years |
2011.1 | commit d11808b5c6... | Christopher Kenna | 15 years |
v2.6.37-rc4 | commit e8a7e48bb2... | Linus Torvalds | 15 years |
v2.6.37-rc3 | commit 3561d43fd2... | Linus Torvalds | 15 years |
v2.6.37-rc2 | commit e53beacd23... | Linus Torvalds | 15 years |
v2.6.37-rc1 | commit c8ddb2713c... | Linus Torvalds | 15 years |
v2.6.36 | commit f6f94e2ab1... | Linus Torvalds | 15 years |
2010.2 | commit 5c5456402d... | Bjoern B. Brandenburg | 15 years |
v2.6.36-rc8 | commit cd07202cc8... | Linus Torvalds | generated by cgit v1.2.2 (git 2.25.0) at 2025-09-08 19:38:37 -0400
|