summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-mtk-ufs.c
AgeCommit message (Collapse)Author
2026-04-17drivers: phy: phy-mtk-ufs: do not alloc priv with priv_autoJulien Stephan
When priv_auto is specified, we should not manually alloc memory for priv data. Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-17drivers: phy: phy-mtk-ufs: disable clk in power_offJulien Stephan
Disable clocks in power_off(). Also define ufs_mtk_phy_set_inactive() helper function to keep consistency with power_on() and ufs_mtk_phy_set_active(). Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-17drivers: phy: phy-mtk-ufs: use clk_bulk functionsJulien Stephan
simply the driver by using clk_bulk functions Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-17drivers: phy: phy-mtk-ufs: use tab to indent definesJulien Stephan
Use tabs instead of spaces to indent defines Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-04-17drivers: phy: phy-mtk-ufs: cleanup headersJulien Stephan
Remove unneeded headers and sort them alphabetically Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
2026-03-02phy: Add MediaTek UFS PHY DriverIgor Belwon
This UFS M-PHY driver can be used on recent MediaTek SoCs as the primary PHY for the UFS controller. Signed-off-by: Igor Belwon <[email protected]> Link: https://patch.msgid.link/20251011-mtk-ufs-uboot-v1-1-a05f991ee150@mentallysanemainliners.org Signed-off-by: Neil Armstrong <[email protected]>