Centos-kernel-stream-9/include/ufs
Alessandro Carminati 9cb9f64197 scsi: ufs: core: Add support for parsing OPP
JIRA: https://issues.redhat.com/browse/RHEL-16059

commit 72208ebe181e38678dce753354233acf0cc5422b
Author: Manivannan Sadhasivam <mani@kernel.org>
Date:   Thu Oct 12 22:51:27 2023 +0530

    scsi: ufs: core: Add support for parsing OPP

    OPP framework can be used to scale the clocks along with other entities
    such as regulators, performance state etc... So let's add support for
    parsing OPP from devicetree. OPP support in devicetree is added through the
    "operating-points-v2" property which accepts the OPP table defining clock
    frequency, regulator voltage, power domain performance state etc...

    Since the UFS controller requires multiple clocks to be controlled for
    proper working, devm_pm_opp_set_config() has been used which supports
    scaling multiple clocks through custom ufshcd_opp_config_clks() callback.

    It should be noted that the OPP support is not compatible with the old
    "freq-table-hz" property. So only one can be used at a time even though
    the UFS core supports both.

    Co-developed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
    Link: https://lore.kernel.org/r/20231012172129.65172-4-manivannan.sadhasivam@linaro.org
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

Signed-off-by: Alessandro Carminati <acarmina@redhat.com>
2023-11-22 12:22:10 +01:00
..
ufs.h scsi: ufs: core: mcq: Calculate queue depth 2023-06-13 10:39:26 -05:00
ufs_quirks.h
ufshcd.h scsi: ufs: core: Add support for parsing OPP 2023-11-22 12:22:10 +01:00
ufshci.h scsi: ufs: core: mcq: Add Event Specific Interrupt enable and config functions 2023-06-20 10:32:22 -05:00
unipro.h scsi: ufs: core: Add enums for UFS lanes 2023-09-28 12:15:00 +02:00