Commit 0578a6d
spi: spi-cadence-quadspi: add runtime pm support
Add runtime pm support to cadence-qspi driver, this allows the driver to
suspend whenever it's is not actively being used thus reducing active
power consumed by the system.
Also, with the use of devm_pm_runtime_enable we no longer need the
fallback probe_pm_failed that used to pm_runtime_disable
Co-developed-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230829062706.786637-1-d-gole@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent eb9913b commit 0578a6d
1 file changed
Lines changed: 33 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| |||
1407 | 1410 | | |
1408 | 1411 | | |
1409 | 1412 | | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1410 | 1421 | | |
1411 | 1422 | | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1412 | 1427 | | |
1413 | 1428 | | |
1414 | 1429 | | |
| |||
1753 | 1768 | | |
1754 | 1769 | | |
1755 | 1770 | | |
1756 | | - | |
1757 | | - | |
1758 | | - | |
1759 | | - | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
1760 | 1775 | | |
1761 | 1776 | | |
1762 | 1777 | | |
| |||
1862 | 1877 | | |
1863 | 1878 | | |
1864 | 1879 | | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1865 | 1888 | | |
1866 | 1889 | | |
1867 | 1890 | | |
1868 | 1891 | | |
1869 | 1892 | | |
1870 | 1893 | | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
1871 | 1897 | | |
1872 | 1898 | | |
1873 | 1899 | | |
1874 | 1900 | | |
1875 | 1901 | | |
1876 | 1902 | | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | 1903 | | |
1881 | 1904 | | |
1882 | 1905 | | |
| |||
1928 | 1951 | | |
1929 | 1952 | | |
1930 | 1953 | | |
1931 | | - | |
| 1954 | + | |
| 1955 | + | |
1932 | 1956 | | |
1933 | 1957 | | |
1934 | 1958 | | |
| |||
2012 | 2036 | | |
2013 | 2037 | | |
2014 | 2038 | | |
2015 | | - | |
| 2039 | + | |
2016 | 2040 | | |
2017 | 2041 | | |
2018 | 2042 | | |
| |||
0 commit comments