Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373217
b: refs/heads/master
c: 654003e
h: refs/heads/master
i:
  373215: 08d6fa6
v: v3
  • Loading branch information
Ian Lartey authored and Samuel Ortiz committed Apr 8, 2013
1 parent b49dc89 commit 3a82107
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 895ce2d891a094aeb7e9e3f3ec6a0e4c8bf038aa
refs/heads/master: 654003e98213991e4d534487907baad2afd9828d
12 changes: 11 additions & 1 deletion trunk/include/linux/mfd/palmas.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* TI Palmas
*
* Copyright 2011 Texas Instruments Inc.
* Copyright 2011-2013 Texas Instruments Inc.
*
* Author: Graeme Gregory <gg@slimlogic.co.uk>
* Author: Ian Lartey <ian@slimlogic.co.uk>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
Expand All @@ -22,6 +23,15 @@

#define PALMAS_NUM_CLIENTS 3

/* The ID_REVISION NUMBERS */
#define PALMAS_CHIP_OLD_ID 0x0000
#define PALMAS_CHIP_ID 0xC035
#define PALMAS_CHIP_CHARGER_ID 0xC036

#define is_palmas(a) (((a) == PALMAS_CHIP_OLD_ID) || \
((a) == PALMAS_CHIP_ID))
#define is_palmas_charger(a) ((a) == PALMAS_CHIP_CHARGER_ID)

struct palmas_pmic;
struct palmas_gpadc;
struct palmas_resource;
Expand Down

0 comments on commit 3a82107

Please sign in to comment.