Lines Matching full:soctherm

34 #include <dt-bindings/thermal/tegra124-soctherm.h>
37 #include "soctherm.h"
57 * SENSOR_CONFIG2 is defined in soctherm.h
75 * THERMCTL_LEVEL0_GROUP_CPU is defined in soctherm.h
205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h
404 * Translate from soctherm readback format to millicelsius.
405 * The soctherm readback format in bits is as follows:
453 dev_dbg(dev, "soctherm: trip temperature %d forced to %d\n", in enforce_temp_range()
890 pr_err("soctherm: Ignored unexpected INTRs 0x%08x\n", st); in soctherm_thermal_isr_thread()
898 * soctherm_oc_intr_enable() - Enables the soctherm over-current interrupt
900 * @alarm: The soctherm throttle id
901 * @enable: Flag indicating enable the soctherm over-current
938 * soctherm_handle_alarm() - Handles soctherm alarms
939 * @alarm: The soctherm throttle id
952 pr_debug("soctherm: Successfully handled OC1 alarm\n"); in soctherm_handle_alarm()
957 pr_debug("soctherm: Successfully handled OC2 alarm\n"); in soctherm_handle_alarm()
962 pr_debug("soctherm: Successfully handled OC3 alarm\n"); in soctherm_handle_alarm()
967 pr_debug("soctherm: Successfully handled OC4 alarm\n"); in soctherm_handle_alarm()
976 pr_err("soctherm: ERROR in handling %s alarm\n", in soctherm_handle_alarm()
1009 pr_err("soctherm: OC ALARM 0x%08x\n", ex); in soctherm_edp_isr_thread()
1044 pr_err("soctherm: Ignored unexpected OC ALARM 0x%08x\n", st); in soctherm_edp_isr_thread()
1173 * soctherm_irq_domain_xlate_twocell() - xlate for soctherm interrupts
1212 * @np: The devicetree node for soctherm
1457 root = debugfs_create_dir("soctherm", NULL); in soctherm_debug_init()
1776 * skipper control, such as T13x. It programs soctherm's interface to
1851 * This function programs soctherm's interface to GK20a NV_THERM to select
2057 .compatible = "nvidia,tegra124-soctherm",
2063 .compatible = "nvidia,tegra132-soctherm",
2069 .compatible = "nvidia,tegra210-soctherm",
2104 tegra->regs = devm_platform_ioremap_resource_byname(pdev, "soctherm-reg"); in tegra_soctherm_probe()
2106 dev_err(&pdev->dev, "can't get soctherm registers"); in tegra_soctherm_probe()
2124 tegra->reset = devm_reset_control_get(&pdev->dev, "soctherm"); in tegra_soctherm_probe()
2126 dev_err(&pdev->dev, "can't get soctherm reset\n"); in tegra_soctherm_probe()
2136 tegra->clock_soctherm = devm_clk_get(&pdev->dev, "soctherm"); in tegra_soctherm_probe()
2138 dev_err(&pdev->dev, "can't get soctherm clock\n"); in tegra_soctherm_probe()
2287 MODULE_DESCRIPTION("NVIDIA Tegra SOCTHERM thermal management driver");