Commit bfe64c75 authored by Michael Bohan's avatar Michael Bohan
Browse files

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: default avatarMichael Bohan <mbohan@codeaurora.org>
parent c1dbc475
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment