OSDN Git Service

phy: qcom-ufs: Modify the vdd-phy min-max range
authorAsutosh Das <asutoshd@codeaurora.org>
Mon, 5 Dec 2016 06:11:40 +0000 (11:41 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 7 Dec 2016 09:32:35 +0000 (01:32 -0800)
commitae8dff9cb70f4a32fd0da14dab63916b673d2c3b
tree74dac46a0cd0d5545e5ec9ed52475e263ea131e5
parent69352ff8b46b11f98bf37f82534a82222466eadd
phy: qcom-ufs: Modify the vdd-phy min-max range

There are 2 issues with setting the vdd-phy voltage:
1. The min & max range that's defined is 1v, whereas
   0.925 (+/- 5%) is the required voltage. A range of
   0.8v to 0.925v would suffice.
2. This defined range is over-ridden with the current
   rail-voltage. This assumes that some consumer has
   set the regulator to the correct voltage.

This change corrects the defined min/max range to
0.8v-0.925v for vdd-phy.
It also removes the code that's causing [2].

CRs-fixed: 1095116
Change-Id: I943bc4f38385036b21c1f9a2e479d6e94ac12813
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
drivers/phy/phy-qcom-ufs.c