commit | bfe64c7551275d24cb8eb45ff0b578427d68c2e0 | [log] [tgz] |
---|---|---|
author | Michael Bohan <mbohan@codeaurora.org> | Fri Aug 24 16:57:26 2012 -0700 |
committer | Michael Bohan <mbohan@codeaurora.org> | Mon Aug 27 17:12:29 2012 -0700 |
tree | 35681f45c608c7a06a45bf1e1047e24ae9e67438 | |
parent | c1dbc4755821399bcad2e459328c7c8edccc78e0 [diff] |
gpio: qpnp-pin: Add support for gpio major revision 1 In revision 1 of the gpio block, the GPIO_STATUS1 GPIO_OK changes from bit 1 to bit 7. Update the code to reflect this. Also verify that PMIC pins have valid types and subtypes upon probe. This allows us to make assumptions about correctness later on when checking for capabilities of a pin in question. Change-Id: I7c8e4c5e44e00ff1c59ac8126449a1461e76f6d8 Signed-off-by: Michael Bohan <mbohan@codeaurora.org>