/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H A D | omap3-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 21 #include "ti-thermal.h" 22 #include "ti-bandgap.h" 50 -40000, -40000, -40000, -40000, -40000, -39000, -38000, -36000, 51 -34000, -32000, -31000, -29000, -28000, -26000, -25000, -24000, 52 -22000, -21000, -19000, -18000, -17000, -15000, -14000, -12000, 53 -11000, -9000, -8000, -7000, -5000, -4000, -2000, -1000, 0000, 56 28000, 30000, 31000, 32000, 34000, 35000, 37000, 38000, 39000, 118 -40000, -40000, -40000, -40000, -40000, -40000, -40000, -40000, [all …]
|
H A D | omap5-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 10 #include "ti-thermal.h" 11 #include "ti-bandgap.h" 12 #include "omap5xxx-bandgap.h" 20 * OMAP5430 MPU thermal sensor register offset and bit-fields 56 * OMAP5430 GPU thermal sensor register offset and bit-fields 93 * OMAP5430 CORE thermal sensor register offset and bit-fields 165 OMAP5430_ADC_END_VALUE - OMAP5430_ADC_START_VALUE + 1] = { 166 /* Index 540 - 549 */ [all …]
|
H A D | dra752-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Tero Kristo <t-kristo@ti.com> 13 #include "ti-thermal.h" 14 #include "ti-bandgap.h" 15 #include "dra752-bandgap.h" 24 * DRA752 CORE thermal sensor register offsets and bit-fields 49 * DRA752 IVA thermal sensor register offsets and bit-fields 74 * DRA752 MPU thermal sensor register offsets and bit-fields 99 * DRA752 DSPEVE thermal sensor register offsets and bit-fields 124 * DRA752 GPU thermal sensor register offsets and bit-fields [all …]
|
H A D | omap4-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 10 #include "ti-thermal.h" 11 #include "ti-bandgap.h" 12 #include "omap4xxx-bandgap.h" 44 omap4430_adc_to_temp[OMAP4430_ADC_END_VALUE - OMAP4430_ADC_START_VALUE + 1] = { 45 -40000, -38000, -35000, -34000, -32000, -30000, -28000, -26000, -24000, 46 -22000, -20000, -18500, -17000, -15000, -13500, -12000, -10000, -8000, 47 -6500, -5000, -3500, -1500, 0, 2000, 3500, 5000, 6500, 8500, 10000, 135 omap4460_adc_to_temp[OMAP4460_ADC_END_VALUE - OMAP4460_ADC_START_VALUE + 1] = { [all …]
|
/openbmc/u-boot/drivers/thermal/ |
H A D | ti-bandgap.c | 4 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ 15 * Taken from Linux v4.9 (drivers/thermal/ti-soc-thermal/ti-bandgap.c) 37 /* Index 540 - 549 */ 38 -40000, -40000, -40000, -40000, -39800, -39400, -39000, -38600, -38200, 39 -37800, 40 /* Index 550 - 559 */ 41 -37400, -37000, -36600, -36200, -35800, -35300, -34700, -34200, -33800, 42 -33400, 43 /* Index 560 - 569 */ 44 -33000, -32600, -32200, -31800, -31400, -31000, -30600, -30200, -29800, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | generic-adc-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laxman Dewangan <ldewangan@nvidia.com> 16 temperature using voltage-temperature lookup table. 20 const: generic-adc-thermal 22 '#thermal-sensor-cells': 25 io-channels: 28 io-channel-names: [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | speedstep.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2007-2009 coresystems GmbH 72 /* Table of p-states for EMTTM and ACPI by decreasing performance. */ 79 #define SPEEDSTEP_MAX_POWER_YONAH 31000
|
/openbmc/linux/drivers/thermal/ |
H A D | k3_bandgap.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 35 -40000, -40000, -40000, -40000, -39800, -39400, -39000, -38600, -38200, 36 -37800, -37400, -37000, -36600, -36200, -35800, -35300, -34700, -34200, 37 -33800, -33400, -33000, -32600, -32200, -31800, -31400, -31000, -30600, 38 -30200, -29800, -29400, -29000, -28600, -28200, -27700, -27100, -26600, 39 -26200, -25800, -25400, -25000, -24600, -24200, -23800, -23400, -23000, 40 -22600, -22200, -21800, -21400, -21000, -20500, -19900, -19400, -19000, 41 -18600, -18200, -17800, -17400, -17000, -16600, -16200, -15800, -15400, 42 -15000, -14600, -14200, -13800, -13400, -13000, -12500, -11900, -11400, [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | pa12203001.c | 1 // SPDX-License-Identifier: GPL-2.0-only 43 /* als range 31000, ps, als disabled */ 59 /* available scales: corresponding to [500, 4000, 7000, 31000] lux */ 133 ret = regmap_update_bits(data->map, PA12203001_REG_CFG0, in pa12203001_als_enable() 138 data->als_enabled = !!enable; in pa12203001_als_enable() 147 ret = regmap_update_bits(data->map, PA12203001_REG_CFG0, in pa12203001_px_enable() 152 data->px_enabled = !!enable; in pa12203001_px_enable() 164 mutex_lock(&data->lock); in pa12203001_set_power_state() 165 if (data->px_enabled) { in pa12203001_set_power_state() 171 data->als_needs_enable = true; in pa12203001_set_power_state() [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | b4420si-post.dtsi | 35 /include/ "b4si-post.dtsi" 39 compatible = "fsl,b4420-pcie", "fsl,qoriq-pcie-v2.4"; 43 dcsr-epu@0 { 44 compatible = "fsl,b4420-dcsr-epu", "fsl,dcsr-epu"; 46 dcsr-npc { 47 compatible = "fsl,b4420-dcsr-cnpc", "fsl,dcsr-cnpc"; 49 dcsr-dpaa@9000 { 50 compatible = "fsl,b4420-dcsr-dpaa", "fsl,dcsr-dpaa"; 52 dcsr-ocn@11000 { 53 compatible = "fsl,b4420-dcsr-ocn", "fsl,dcsr-ocn"; [all …]
|
H A D | b4860si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 35 /include/ "b4si-post.dtsi" 39 compatible = "fsl,b4860-pcie", "fsl,qoriq-pcie-v2.4"; 45 #address-cells = <2>; 46 #size-cells = <2>; 47 fsl,iommu-parent = <&pamu0>; 51 #address-cells = <2>; 52 #size-cells = <2>; 53 cell-index = <1>; 57 #address-cells = <2>; [all …]
|
H A D | t1023si-post.dtsi | 35 #include <dt-bindings/thermal/thermal.h> 38 compatible = "fsl,bman-fbpr"; 39 alloc-ranges = <0 0 0x10000 0>; 43 compatible = "fsl,qman-fqd"; 44 alloc-ranges = <0 0 0x10000 0>; 48 compatible = "fsl,qman-pfdr"; 49 alloc-ranges = <0 0 0x10000 0>; 53 #address-cells = <2>; 54 #size-cells = <1>; 55 compatible = "fsl,ifc", "simple-bus"; [all …]
|
H A D | b4si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor, Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 53 compatible = "fsl,ifc", "simple-bus"; [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 76 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 81 regmap_write(max98388->regmap, in max98388_dac_event() 83 usleep_range(30000, 31000); in max98388_dac_event() 86 regmap_write(max98388->regmap, in max98388_dac_event() 88 usleep_range(30000, 31000); in max98388_dac_event() 89 max98388->tdm_mode = false; in max98388_dac_event() 132 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 133 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0); 136 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS", [all …]
|
H A D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 24 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 29 regmap_update_bits(max98373->regmap, in max98373_dac_event() 32 usleep_range(30000, 31000); in max98373_dac_event() 35 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 usleep_range(30000, 31000); in max98373_dac_event() 39 max98373->tdm_mode = false; in max98373_dac_event() 86 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1); 102 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0), 103 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0), [all …]
|
H A D | max98520.c | 1 // SPDX-License-Identifier: GPL-2.0 74 struct snd_soc_component *component = codec_dai->component; in max98520_dai_set_fmt() 80 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98520_dai_set_fmt() 89 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98520_dai_set_fmt() 90 return -EINVAL; in max98520_dai_set_fmt() 93 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 113 return -EINVAL; in max98520_dai_set_fmt() 116 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 146 int blr_clk_ratio = params_channels(params) * max98520->ch_size; in max98520_set_clock() 149 if (!max98520->tdm_mode) { in max98520_set_clock() [all …]
|
/openbmc/linux/arch/arm/boot/dts/unisoc/ |
H A D | rda8810pl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/interrupt-controller/irq.h> 13 interrupt-parent = <&intc>; 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-a5"; 29 compatible = "mmio-sram"; 31 #address-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,usb-snps-femto-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 Qualcomm High-Speed USB PHY 18 - items: 19 - enum: 20 - qcom,sa8775p-usb-hs-phy [all …]
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A D | i810_dvt.c | 1 /*-*- linux-c -*- 2 * linux/drivers/video/i810_dvt.c -- Intel 810 Discrete Video Timings (Intel) 33 { 31000, 0x0013, 0x0002, 0x40, 0x63, 0x4F, 0x4F, 0x87, 0x52, 0x97, 39 { 31000, 0x0013, 0x0002, 0x40, 0x64, 0x4F, 0x4F, 0x88, 0x51, 0x99, 219 u8 hfl = (u8) ((xres >> 3) - 1); in i810fb_find_best_mode() 224 diff = pixclock - std_modes[i].pixclock; in i810fb_find_best_mode() 237 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers() 239 par->regs = std_modes[i_best]; in i810fb_encode_registers() 242 par->ovract = ((xres + var->right_margin + var->hsync_len + in i810fb_encode_registers() 243 var->left_margin - 32) | ((xres - 32) << 16)); in i810fb_encode_registers() [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-hr2.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 39 interrupt-parent = <&gic>; 40 #address-cells = <1>; 41 #size-cells = <1>; 44 #address-cells = <1>; 45 #size-cells = <0>; 49 compatible = "arm,cortex-a9"; 50 next-level-cache = <&L2>; 56 compatible = "arm,cortex-a9-pmu"; [all …]
|
H A D | bcm-nsp.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 35 #include <dt-bindings/clock/bcm-nsp.h> 38 #address-cells = <1>; 39 #size-cells = <1>; 42 interrupt-parent = <&gic>; 53 #address-cells = <1>; 54 #size-cells = <0>; 58 compatible = "arm,cortex-a9"; 59 next-level-cache = <&L2>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/apple/ |
H A D | t600x-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 18 cpu-map { 63 enable-method = "spin-table"; 64 cpu-release-addr = <0 0>; /* To be filled by loader */ 65 next-level-cache = <&l2_cache_0>; 66 i-cache-size = <0x20000>; [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | aspeed.c | 9 * the COPYING file in the top-level directory. 25 #include "hw/qdev-properties.h" 26 #include "sysemu/block-backend.h" 29 #include "qemu/error-report.h" 31 #include "hw/qdev-clock.h" 35 .board_id = -1, /* device-tree-only board */ 52 /* On 32-bit hosts, lower RAM to 1G because of the 2047 MB limit */ 165 /* Quanta-Q71l hardware value */ 201 /* Qualcomm DC-SCM hardware value */ 219 * r2 = per-cpu go sign value in aspeed_write_smpboot() [all …]
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-snps-femto-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 82 "vdda-pll", "vdda33", "vdda18", 110 * struct qcom_snps_hsphy - snps hs phy attributes 143 struct device *dev = hsphy->dev; in qcom_snps_hsphy_clk_init() 145 hsphy->num_clks = 2; in qcom_snps_hsphy_clk_init() 146 hsphy->clks = devm_kcalloc(dev, hsphy->num_clks, sizeof(*hsphy->clks), GFP_KERNEL); in qcom_snps_hsphy_clk_init() 147 if (!hsphy->clks) in qcom_snps_hsphy_clk_init() 148 return -ENOMEM; in qcom_snps_hsphy_clk_init() 154 hsphy->clks[0].id = "cfg_ahb"; in qcom_snps_hsphy_clk_init() 155 hsphy->clks[0].clk = devm_clk_get_optional(dev, "cfg_ahb"); in qcom_snps_hsphy_clk_init() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-idp.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 9 #include <dt-bindings/input/linux-event-codes.h> 15 #include "sc7280-chrome-common.dtsi" 16 #include "sc7280-herobrine-lte-sku.dtsi" 25 max98360a: audio-codec-0 { 27 pinctrl-names = "default"; 28 pinctrl-0 = <&_en>; 29 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>; 30 #sound-dai-cells = <0>; [all …]
|