]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-mediatek: Disable unused VCCQx power rails
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 16 Jun 2022 05:37:25 +0000 (13:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 02:08:44 +0000 (22:08 -0400)
commit6822cc4f5d1845c1c5c4b6b0b0d513b6015bf125
tree8b1c1725e4a5f6b2d7cf09609dd327d7b555f427
parentc4f18d03d3c42604f6f5763913e91b7567f03017
scsi: ufs: ufs-mediatek: Disable unused VCCQx power rails

Some MediaTek UFS platforms support different VCCQx power rails, for
example, both 1.2v and 1.8v VCCQx, in a single kernel image.

To optimize the system power consumption, provide a way to disable and
release the unused power rail during the device probing.

Link: https://lore.kernel.org/r/20220616053725.5681-12-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-mediatek.c