devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips
@ 2019-03-16  5:04 Stanley Chu
       [not found] ` <1552712687-20186-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Stanley Chu @ 2019-03-16  5:04 UTC (permalink / raw)
  To: linux-scsi-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	robh-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	chunfeng.yun-NuS5LvNUpcJWk0Htik3J/w,
	yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w, kishon-l0cyMroinI0,
	martin.petersen-QHcLZuEGTsvQT0dZR+AlfA, avri.altman-Sjgp3cTcYWE,
	alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ,
	pedrom.sousa-HKixBCOQz3hWk0Htik3J/w
  Cc: chun-hung.wu-NuS5LvNUpcJWk0Htik3J/w,
	kuohong.wang-NuS5LvNUpcJWk0Htik3J/w,
	matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	liwei213-hv44wF8Li93QT0dZR+AlfA,
	vivek.gautam-sgV2jX0FEOL9JmXXK+q4OQ,
	subhashj-sgV2jX0FEOL9JmXXK+q4OQ,
	peter.wang-NuS5LvNUpcJWk0Htik3J/w

Hello,

This patch series adds UFS M-PHY and UFS host driver support in MediaTek chipsets.

In the meantime, re-factors ufshcd_get_pwr_dev_param in vendors' drivers. This function is for vendors to decide finally agreed attributes for power mode change if vendors define
their host capability in struct ufs_dev_params. Because it is using by both ufs-qcom and ufs-hisi and also used in ufs-mediatek in this series, simply re-factor it and then every vendors can reuse it.

Changes since v5:
-	phy-mtk-ufs: Change mphy_readl/mphy_writel() to inline functions.
-	Fix typo in cover letter.

Changes since v4:
-	phy-mtk-ufs:
	  * Sort name in Kconfig and Makefile
	  * Drop "inline" and fix symbol name for mphy_set_bit()/mphy_clr_bit().
-	dt-bindings: phy-mtk-ufs: Drop "-clk" in clock names.
-	dt-bindings: ufs-mediatek:
	  * Change clock name "ufs-clk" to "ufs".
	  * Drop vcc related first. VCC control is planned to be added back by another patch accompanied with VCC/ICC logic fix in ufs common driver.

Changes since v3:
-	dt-bindings: Use specific compatible name for both ufs-mediatek and phy-mtk-ufs, remove interrupt-parent and lanes-per-direction in ufs-mediatek, and fix descriptions.

Changes since v2:
-	Fix header style with SPDX-License-Identifier declaration used.
-	Simplify ufs-phy-mtk to single source file since we has one MPHY version now, and do fixes according to Chunfeng Yun's comments.
-	Add dt-bindings of ufs-phy-mtk.

Changes since v1:
-	Re-factor ufshcd_get_pwr_dev_param in mediatek/qcom/hisi vendor drivers.
-	Introduce ufs-phy-mtk to have a good extension capability for different power control flows in future different MPHY versions.
-	Bind ufs-phy-mtk and hook suitable callbacks in ufs-mediatek driver.
-	Use PA_LOCAL_TX_LCC_ENABLE attribute defined in unipro.h instead.
-	Do some minor format fixes.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-03-19 20:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-16  5:04 scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips Stanley Chu
     [not found] ` <1552712687-20186-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-16  5:04   ` [PATCH v6 0/7] " Stanley Chu
     [not found]     ` <1552712687-20186-2-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-18 23:19       ` Stanley Chu
2019-03-18 23:24         ` Martin K. Petersen
2019-03-19 20:57       ` Martin K. Petersen
2019-03-16  5:04   ` [PATCH v6 1/7] scsi: ufs: Introduce ufshcd_get_pwr_dev_param Stanley Chu
     [not found]     ` <1552712687-20186-3-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-18  9:13       ` [EXT] " Bean Huo (beanhuo)
2019-03-16  5:04   ` [PATCH v6 2/7] scsi: ufs-qcom: Re-factor ufshcd_get_pwr_dev_param Stanley Chu
     [not found]     ` <1552712687-20186-4-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-18  9:15       ` [EXT] " Bean Huo (beanhuo)
2019-03-16  5:04   ` [PATCH v6 3/7] scsi: ufs-hisi: " Stanley Chu
     [not found]     ` <1552712687-20186-5-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-18  9:35       ` [EXT] " Bean Huo (beanhuo)
2019-03-16  5:04   ` [PATCH v6 4/7] dt-bindings: phy: Add document for phy-mtk-ufs Stanley Chu
2019-03-16  5:04   ` [PATCH v6 5/7] dt-bindings: scsi: ufs: Add document for ufs-mediatek Stanley Chu
2019-03-16  5:04   ` [PATCH v6 6/7] phy: mediatek: Add UFS M-PHY driver Stanley Chu
2019-03-16  5:04   ` [PATCH v6 7/7] scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips Stanley Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).