/linux/Documentation/devicetree/bindings/powerpc/opal/ |
H A D | sensor-groups.txt | 1 IBM OPAL Sensor Groups Binding 2 ------------------------------- 4 Node: /ibm,opal/sensor-groups 6 Description: Contains sensor groups available in the Powernv P9 7 servers. Each child node indicates a sensor group. 9 - compatible : Should be "ibm,opal-sensor-group" 11 Each child node contains below properties: 13 - type : String to indicate the type of sensor-group 15 - sensor-group-id: Abstract unique identifier provided by firmware of 16 type <u32> which is used for sensor-group [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | imx7.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 14 - CMOS Sensor Interface (CSI) 15 - Video Multiplexer 16 - MIPI CSI-2 Receiver 18 .. code-block:: none 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 27 Parallel Camera Input ----------------> | / 34 -------- [all …]
|
H A D | rkisp1.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 rkisp1 and uses the Media-Controller API. 27 - RKISP1_V10: used at least in rk3288 and rk3399 28 - RKISP1_V11: declared in the original vendor code, but not used 29 - RKISP1_V12: used at least in rk3326 and px30 30 - RKISP1_V13: used at least in rk1808 36 .. kernel-figure:: rkisp1.dot 43 - rkisp1_mainpath: capture device for retrieving images, usually in higher 45 - rkisp1_selfpath: capture device for retrieving images. 46 - rkisp1_stats: a metadata capture device that sends statistics. [all …]
|
H A D | vimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 API. It has a capture device and three subdevices: sensor, debayer and scaler. 10 -------- 12 The topology is hardcoded, although you could modify it in vimc-core and 17 .. kernel-figure:: vimc.dot 29 If the configuration doesn't match, the stream will fail. The ``v4l-utils`` 30 package is a bundle of user-space applications, that comes with ``media-ctl`` and 31 ``v4l2-ctl`` that can be used to configure the vimc configuration. This sequence 34 .. code-block:: bash 36 media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]' [all …]
|
H A D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and 27 packed <--> planar conversion. The IDMAC can also perform a simple [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-sensor-groups.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PowerNV OPAL Sensor-groups interface 8 #define pr_fmt(fmt) "opal-sensor-groups: " fmt 45 ret = -EIO; in sensor_group_enable() 72 return -EINVAL; in sg_store() 84 ret = opal_sensor_group_clear(sattr->handle, token); in sg_store() 90 ret = -EIO; in sg_store() 122 attr->handle = handle; in add_attr() 123 sysfs_attr_init(&attr->attr.attr); in add_attr() 124 attr->attr.attr.name = ops_info[index].attr_name; in add_attr() [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 14 Thermal management is achieved in devicetree by describing the sensor hardware 18 The following node types are used to completely describe a thermal management 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all [all …]
|
H A D | thermal-sensor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Thermal sensor 11 - Amit Kucheria <amitk@kernel.org> 14 Thermal management is achieved in devicetree by describing the sensor hardware 18 The following node types are used to completely describe a thermal management 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively [all …]
|
H A D | fsl,scu-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 12 description: i.MX SCU Client Device Node 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: thermal-sensor.yaml# 21 - enum: [all …]
|
H A D | nvidia,tegra186-bpmp-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra186-bpmp-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra186 (and later) BPMP thermal sensor 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 17 sensor that is exposed by BPMP. 19 The BPMP thermal node must be located directly inside the main BPMP 20 node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the [all …]
|
H A D | brcm,avs-ro-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stefan Wahren <wahrenst@gmx.net> 13 The thermal node should be the child of a syscon node with the 16 - compatible: Should be one of the following: 17 "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd" 22 $ref: thermal-sensor.yaml# 26 const: brcm,bcm2711-thermal [all …]
|
/linux/drivers/hwmon/ |
H A D | ibmpowernv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 27 /* Sensor suffix name from DT */ 46 #define INVALID_INDEX (-1U) 49 * 'compatible' string properties for sensor types as defined in old 53 "ibm,opal-sensor-cooling-fan", 54 "ibm,opal-sensor-amb-temp", 55 "ibm,opal-sensor-power-supply", 56 "ibm,opal-sensor-power" 60 const char *name; /* matches property 'sensor-type' */ [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | mt9m001.txt | 1 MT9M001: 1/2-Inch Megapixel Digital Image Sensor 3 The MT9M001 is an SXGA-format with a 1/2-inch CMOS active-pixel digital 4 image sensor. It is programmable through I2C interface. 8 - compatible: shall be "onnn,mt9m001". 9 - clocks: reference to the master clock into sensor 13 - reset-gpios: GPIO handle which is connected to the reset pin of the chip. 15 - standby-gpios: GPIO handle which is connected to the standby pin of the chip. 18 The device node must contain one 'port' child node with one 'endpoint' child 19 sub-node for its digital output video port, in accordance with the video 21 Documentation/devicetree/bindings/media/video-interfaces.txt [all …]
|
H A D | toshiba,et8ek8.txt | 1 Toshiba et8ek8 5MP sensor 3 Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device 6 Documentation/devicetree/bindings/media/video-interfaces.txt . 10 -------------------- 12 - compatible: "toshiba,et8ek8" 13 - reg: I2C address (0x3e, or an alternative address) 14 - vana-supply: Analogue voltage supply (VANA), 2.8 volts 15 - clocks: External clock to the sensor 16 - clock-frequency: Frequency of the external clock to the sensor. Camera 18 a pre-determined frequency known to be suitable to the board. [all …]
|
H A D | ov7740.txt | 1 * Omnivision OV7740 CMOS image sensor 3 The Omnivision OV7740 image sensor supports multiple output image 7 The common video interfaces bindings (see video-interfaces.txt) should 9 node should contain one 'port' child node with an 'endpoint' subnode. 12 - compatible: "ovti,ov7740". 13 - reg: I2C slave address of the sensor. 14 - clocks: Reference to the xvclk input clock. 15 - clock-names: "xvclk". 18 - reset-gpios: Rreference to the GPIO connected to the reset_b pin, 19 if any. Active low with pull-ip resistor. [all …]
|
H A D | ovti,ov2680.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Omnivision OV2680 CMOS Sensor 10 - Rui Miguel Silva <rmfrfs@gmail.com> 12 description: |- 13 The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2 14 megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200) 15 camera. It provides full-frame, sub-sampled, or windowed 10-bit images in 30 clock-names: [all …]
|
H A D | mt9v032.txt | 1 * Aptina 1/3-Inch WVGA CMOS Digital Image Sensor 3 The Aptina MT9V032 is a 1/3-inch CMOS active pixel digital image sensor with 5 two-wire serial interface. 9 - compatible: value should be either one among the following 10 (a) "aptina,mt9v022" for MT9V022 color sensor 11 (b) "aptina,mt9v022m" for MT9V022 monochrome sensor 12 (c) "aptina,mt9v024" for MT9V024 color sensor 13 (d) "aptina,mt9v024m" for MT9V024 monochrome sensor 14 (e) "aptina,mt9v032" for MT9V032 color sensor 15 (f) "aptina,mt9v032m" for MT9V032 monochrome sensor [all …]
|
H A D | mt9m111.txt | 1 Micron 1.3Mp CMOS Digital Image Sensor 3 The Micron MT9M111 is a CMOS active pixel digital image sensor with an active 4 array size of 1280H x 1024V. It is programmable through a simple two-wire serial 8 - compatible: value should be "micron,mt9m111" 9 - clocks: reference to the master clock. 10 - clock-names: shall be "mclk". 12 The device node must contain one 'port' child node with one 'endpoint' child 13 sub-node for its digital output video port, in accordance with the video 15 Documentation/devicetree/bindings/media/video-interfaces.txt 18 - pclk-sample: For information see ../video-interfaces.txt. The value is set to [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | microchip,csi2dc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eugen Hristev <eugen.hristev@microchip.com> 13 CSI2DC - Camera Serial Interface 2 Demux Controller 19 clock domain towards a parallel interface that can be read by a sensor 26 is connected at the output to a sensor controller and the data pipe is 29 CSI2DC supports a single 'port' node as a sink port with either Synopsys 30 32-bit IDI interface or a parallel interface. 32 CSI2DC supports one 'port' node as source port with parallel interface. [all …]
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | ifm-csi.txt | 1 IFM camera sensor interface on mpc5200 LocalPlus bus 4 - compatible: "ifm,o2d-csi" 5 - reg: specifies sensor chip select number and associated address range 6 - interrupts: external interrupt line number and interrupt sense mode 8 - gpios: three gpio-specifiers for "capture", "reset" and "master enable" 10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor 11 clock generator. This node is usually a general purpose timer controller. 12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25) 13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16) 14 - ifm,csi-wait-cycles: sensor bus wait cycles [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | exynos_thermal_emulation.rst | 10 ----------- 15 and TMU will read current temperature from user value not from sensor's 19 available. When it's enabled, sysfs node will be created as 22 The sysfs node, 'emul_node', will contain value 0 for the initial state. 23 When you input any temperature you want to update to sysfs node, it 28 delay of changing temperature. However, this node only uses same delay 36 repeatedly. That's why this node gives users the right to change 39 Disabling emulation mode only requires writing value 0 to sysfs node. 49 | +----------- 51 | +-------------| | [all …]
|
H A D | sysfs-api.rst | 17 This how-to focuses on enabling new thermal zone and cooling devices to 28 - `[0-*]` denotes any positive number starting from 0 29 - `[1-*]` denotes any positive number starting from 1 35 --------------------------------- 48 This interface function adds a new thermal zone device (sensor) to the 49 /sys/class/thermal folder as `thermal_zone[0-*]`. It tries to bind all the 59 thermal zone device call-backs. 109 This interface adds a new sensor to a DT thermal zone. 111 device tree and look for the zone that refer to the sensor device 112 pointed by dev->of_node as temperature providers. For the zone [all …]
|
/linux/drivers/thermal/ |
H A D | thermal_of.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * of-thermal.c - Generic Thermal Management device tree support. 35 * thermal_of_get_trip_type - Get phy mode for given device_node 60 return -ENODEV; in thermal_of_get_trip_type() 74 trip->temperature = prop; in thermal_of_populate_trip() 81 trip->hysteresis = prop; in thermal_of_populate_trip() 83 ret = thermal_of_get_trip_type(np, &trip->type); in thermal_of_populate_trip() 89 trip->flags = THERMAL_TRIP_FLAG_RW_TEMP; in thermal_of_populate_trip() 91 trip->priv = np; in thermal_of_populate_trip() 112 return ERR_PTR(-ENOMEM); in thermal_of_trips_init() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_smu_sensors.c | 1 // SPDX-License-Identifier: GPL-2.0-only 82 return -EIO; in smu_read_adc() 95 rc = smu_read_adc(ads->reg, &val); in smu_cputemp_get() 103 scaled = (s64)(((u64)val) * (u64)cpudiode->m_value); in smu_cputemp_get() 105 scaled += ((s64)cpudiode->b_value) << 9; in smu_cputemp_get() 117 rc = smu_read_adc(ads->reg, &val); in smu_cpuamp_get() 125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get() 126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get() 138 rc = smu_read_adc(ads->reg, &val); in smu_cpuvolt_get() 146 scaled = (s32)(val * (u32)cpuvcp->volt_scale); in smu_cpuvolt_get() [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | arm,scpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sudeep Holla <sudeep.holla@arm.com> 33 - const: arm,scpi # SCPI v1.0 and above 34 - const: arm,scpi-pre-1.0 # Unversioned SCPI before v1.0 35 - items: 36 - enum: 37 - amlogic,meson-gxbb-scpi 38 - const: arm,scpi-pre-1.0 [all …]
|