commit | ebcc5a0d08e6a680558ed74f5dd724427ff5a29b | [log] [tgz] |
---|---|---|
author | Mark A. Greer <mgreer@animalcreek.com> | Tue Mar 25 08:54:36 2014 -0700 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Apr 22 00:37:27 2014 +0200 |
tree | bd3d6034c195a32dbe03f5b0f49cca99043e0ce4 | |
parent | 12e9ade309db51e7ea26be3b4fd5bc6057ddc175 [diff] |
NFC: trf7970a: Set correct Vin voltage in Chip Status Control register Currently, the trf7970a driver assumes that the Vin voltage is 5V when it writes to the 'Chip Status Control' register. That may not be correct so use the regulator facility to get the Vin voltage and set the VRS5_3 bit correctly when writing to that register. Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>