linux/drivers/scsi/ufs
Stanley Chu 12e3ffb932 scsi: ufs: Change "<name>-max-microamp" to non-mandatory property
In dt-bindings for ufs, "<name>-max-microamp" property indicates current
limit and is mandatory if "<name>-fixed-regulator" is not defined on a
specified regulator.

However, in some platforms, regulators without "<name>-fixed-regulator"
property may not need to define their current limit because they may want
to define voltage range only for proper voltage switching in different
power modes, especially for vcc, vccq or vccq2.

Currently missing "<name>-max-microamp" property in device tree will lead
initialization to fail, thus such limitation shall be resolved to tolerate
this kind of regulators.

After resolving this, regulators without "<name>-max-microamp" property
will have undefined "max current" value, i.e., zero value in "max_uA" field
in struct ufs_vreg. Because we do bypass current switching operation (by
regulator_set_load) in case of undefined current limit, this patch shall be
safe.

Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Acked-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-04-03 23:11:35 -04:00
..
cdns-pltfrm.c scsi: ufs: Fix platform_no_drv_owner.cocci warnings 2018-12-12 21:37:56 -05:00
Kconfig scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips 2019-03-19 16:56:21 -04:00
Makefile scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips 2019-03-19 16:56:21 -04:00
tc-dwc-g210-pci.c scsi: ufs: Fix kernel-doc errors and warnings 2018-03-01 21:00:23 -05:00
tc-dwc-g210-pltfrm.c scsi: ufs: Fix kernel-doc errors and warnings 2018-03-01 21:00:23 -05:00
tc-dwc-g210.c scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size 2017-09-15 15:41:45 -04:00
tc-dwc-g210.h
ufs_bsg.c scsi: ufs-bsg: Allow reading descriptors 2019-02-27 09:00:02 -05:00
ufs_bsg.h scsi: ufs: Add a bsg endpoint that supports UPIUs 2018-10-10 23:09:46 -04:00
ufs_quirks.h scsi: ufs: Remove unused device quirks 2019-02-27 08:54:57 -05:00
ufs-hisi.c scsi: ufs-hisi: Re-factor ufshcd_get_pwr_dev_param 2019-03-19 16:56:21 -04:00
ufs-hisi.h scsi: ufs: Add HI3670 SoC UFS driver support 2019-02-19 18:58:34 -05:00
ufs-mediatek.c scsi: ufs-mediatek: Add missing MODULE_* information 2019-03-25 22:09:42 -04:00
ufs-mediatek.h scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips 2019-03-19 16:56:21 -04:00
ufs-qcom.c scsi: ufs-qcom: Re-factor ufshcd_get_pwr_dev_param 2019-03-19 16:56:21 -04:00
ufs-qcom.h scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host 2018-09-26 13:09:37 +05:30
ufs-sysfs.c scsi: ufs: Add support for Auto-Hibernate Idle Timer 2018-03-21 21:21:25 -04:00
ufs-sysfs.h scsi: ufs: sysfs: attributes 2018-02-15 18:35:05 -05:00
ufs.h scsi: ufs: Remove unused min_uA field in struct ufs_vreg 2019-04-03 23:11:35 -04:00
ufshcd-dwc.c scsi: ufs: fix a typo in comment 2019-02-12 22:03:11 -05:00
ufshcd-dwc.h
ufshcd-pci.c scsi: ufs: Fix kernel-doc errors and warnings 2018-03-01 21:00:23 -05:00
ufshcd-pltfrm.c scsi: ufs: Change "<name>-max-microamp" to non-mandatory property 2019-04-03 23:11:35 -04:00
ufshcd-pltfrm.h scsi: ufs: Introduce ufshcd_get_pwr_dev_param 2019-03-19 16:56:20 -04:00
ufshcd.c scsi: ufs: Fix regulator load and icc-level configuration 2019-04-03 23:11:35 -04:00
ufshcd.h scsi: ufs: hisi: fix ufs_hba_variant_ops passing 2019-03-06 19:26:45 -05:00
ufshci-dwc.h
ufshci.h scsi: ufs: cleanup struct utp_task_req_desc 2018-10-10 23:09:46 -04:00
unipro.h