/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/spmi/spmi.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/thermal/thermal.h> 10 thermal-zones { 12 polling-delay-passive = <250>; 13 polling-delay = <1000>; 15 thermal-sensors = <&pms405_temp>; 18 pms405_alert0: pms405-alert0 { [all …]
|
D | pm8150b.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150b_temp>; 44 compatible = "qcom,pm8150b", "qcom,spmi-pmic"; [all …]
|
D | pm8150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150l_temp>; 44 compatible = "qcom,pm8150l", "qcom,spmi-pmic"; [all …]
|
D | pm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 15 polling-delay-passive = <100>; 16 polling-delay = <0>; 18 thermal-sensors = <&pm8150_temp>; [all …]
|
D | pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 10 compatible = "qcom,pm8916", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,pm8916-pon"; 18 mode-bootloader = <0x2>; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. 28 Optional subnode-properties: [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
/Linux-v5.10/drivers/gpu/drm/meson/ |
D | meson_vpp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * - Postblend, Blends the OSD1 only 23 * - Vertical OSD Scaler for OSD1 only, we disable vertical scaler and 25 * - Intermediate FIFO with default Amlogic values 29 * - Preblend for video overlay pre-scaling 30 * - OSD2 support for cursor framebuffer 31 * - Video pre-scaling before postblend 32 * - Full Vertical/Horizontal OSD scaling to support TV overscan 33 * - HDR conversion 38 writel(mux, priv->io_base + _REG(VPU_VIU_VENC_MUX_CTRL)); in meson_vpp_setup_mux() [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | qcom-spmi-vadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 23 #include "qcom-vadc-common.h" 76 * struct vadc_channel_prop - VADC channel property. 80 * @prescale: channel scaling performed on the input signal. 85 * @scale_fn_type: Represents the scaling function to convert voltage 99 * struct vadc_priv - VADC private structure. 139 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read() 144 return regmap_write(vadc->regmap, vadc->base + offset, data); in vadc_write() [all …]
|
D | qcom-spmi-adc5.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 22 #include "qcom-vadc-common.h" 103 * struct adc5_channel_prop - ADC channel property. 109 * @prescale: channel scaling performed on the input signal. 114 * @scale_fn_type: Represents the scaling function to convert voltage 132 * struct adc5_chip - ADC private structure. 171 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read() 176 return regmap_bulk_write(adc->regmap, adc->base + offset, data, len); in adc5_write() 181 return regmap_update_bits(adc->regmap, adc->base + offset, mask, val); in adc5_masked_write() [all …]
|
D | qcom-pm8xxx-xoadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * specific-purpose and general purpose ADC converters and channels. 24 #include "qcom-vadc-common.h" 28 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC: 29 * drivers/misc/pmic8058-xoadc.c 30 * drivers/hwmon/pm8xxx-adc.c 139 * PM8058 AMUX premux scaling, two bits. This is done of the channel before 142 #define PM8058_AMUX_PRESCALE_0 0x0 /* No scaling on the signal */ 143 #define PM8058_AMUX_PRESCALE_1 0x1 /* Unity scaling selected by the user */ 156 * struct xoadc_channel - encodes channel properties and defaults [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | gdc_v2_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define HRT_GDC_N 1024 /* Top-level design constant, equal to the number of ent… 24 #define HRT_GDC_BLI_FRAC_BITS 4 /* Number of fractional bits for the bi-linear interpola… 28 #define HRT_GDC_BCI_COEF_ONE (1 << (HRT_GDC_BCI_COEF_BITS - 2)) /* We represent signed… 29 /* The supported range is [-256, .., +256] */ 30 /* in 14-bit signed notation, */ 32 /* -s is inserted to solve this issue, and */ 34 #define HRT_GDC_BCI_COEF_MASK ((1 << HRT_GDC_BCI_COEF_BITS) - 1) 42 // |-----|---|--------|------------------------| 46 // 1 - Configure reg [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/ |
D | max6650.txt | 4 [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 7 - compatible : One of "maxim,max6650" or "maxim,max6651" 8 - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. 11 - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or 13 - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values 14 allow more fine-grained control of slower fans. 16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 17 driver selects closed-loop mode and the requested speed. 22 fan-max6650: max6650@1b { 25 maxim,fan-microvolt = <12000000>; [all …]
|
/Linux-v5.10/Documentation/admin-guide/media/ |
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-v5.10/drivers/gpu/drm/ |
D | drm_blend.c | 43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination 88 * filtering than just a bilinear one when scaling. The filtering mode when 89 * scaling is unspecified. 96 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be 99 * pre-multiplied by the global alpha associated to the plane. 109 * "rotate-<degrees>": 113 * "reflect-<axis>": 117 * reflect-x:: 120 * | | -> | | 123 * reflect-y:: [all …]
|
/Linux-v5.10/Documentation/driver-api/media/ |
D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 CSI-2 7 ----- 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 27 ---------- 36 processing pipeline as one or more sub-devices with different cropping and 37 scaling configurations. The output size of the device is the result of a series 38 of cropping and scaling operations from the device's pixel array's size. 55 ---------------------------- [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | gateworks-gsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Watchdog Timer 15 - GPIO 16 - Pushbutton controller 17 - Hardware monitor with ADC's for temperature and voltage rails and 21 - Tim Harvey <tharvey@gateworks.com> 22 - Robert Jones <rjones@gateworks.com> [all …]
|
/Linux-v5.10/drivers/cpufreq/ |
D | sti-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Match running platform with pre-defined OPP values for CPUFreq 43 * struct sti_cpufreq_ddata - ST CPUFreq Driver Data 56 struct device_node *np = ddata.cpu->of_node; in sti_cpufreq_fetch_major() 83 struct device_node *np = dev->of_node; in sti_cpufreq_fetch_minor() 88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor() 154 struct device_node *np = dev->of_node; in sti_cpufreq_set_opp_info() 165 dev_err(dev, "This SoC doesn't support voltage scaling\n"); in sti_cpufreq_set_opp_info() 166 return -ENODEV; in sti_cpufreq_set_opp_info() 169 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_set_opp_info() [all …]
|
D | davinci-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * CPU frequency scaling for DaVinci 5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 7 * Based on linux/arch/arm/plat-omap/cpu-omap.c. Original Copyright follows: 12 * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King 14 * Copyright (C) 2007-2008 Texas Instruments, Inc. 23 #include <linux/platform_data/davinci-cpufreq.h> 37 struct davinci_cpufreq_config *pdata = cpufreq.dev->platform_data; in davinci_target() 42 old_freq = policy->cur; in davinci_target() 43 new_freq = pdata->freq_table[idx].frequency; in davinci_target() [all …]
|
/Linux-v5.10/drivers/gpu/drm/sti/ |
D | NOTES | 2 --------------------------- 4 - The High Quality Video Display Processor (HQVDP) gets video frames from a 5 video decoder and does high quality video processing, including scaling. 7 - The Compositor is a multiplane, dual-mixer (Main & Aux) digital processor. It 9 - The graphics planes are internally processed by the Generic Display 11 - The video plug (VID) connects to the HQVDP output. 12 - The cursor handles ... a cursor. 13 - The TV OUT pre-formats (convert, clip, round) the compositor output data 14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals 15 - DVO (Digital Video Output) handles a 24bits parallel signal [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/arm/ |
D | arm,scpi.txt | 2 ---------------------------------------------------------- 10 - compatible : should be 12 * "arm,scpi-pre-1.0" : For implementations complying to all 14 - mboxes: List of phandle and mailbox channel specifiers 17 - shmem : List of phandle pointing to the shared memory(SHM) area between the 27 ------------------------------------------------------------ 34 - compatible : should be "arm,scpi-clocks" 36 protocol much be listed as sub-nodes under this node. 38 Sub-nodes 41 - compatible : shall include one of the following [all …]
|
/Linux-v5.10/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_mode_valid() 34 long rate, req_rate = mode->crtc_clock * 1000; in malidp_crtc_mode_valid() 37 rate = clk_round_rate(hwdev->pxlclk, req_rate); in malidp_crtc_mode_valid() 52 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_enable() 54 int err = pm_runtime_get_sync(crtc->dev->dev); in malidp_crtc_atomic_enable() 61 drm_display_mode_to_videomode(&crtc->state->adjusted_mode, &vm); in malidp_crtc_atomic_enable() 62 clk_prepare_enable(hwdev->pxlclk); in malidp_crtc_atomic_enable() 65 clk_set_rate(hwdev->pxlclk, crtc->state->adjusted_mode.crtc_clock * 1000); in malidp_crtc_atomic_enable() 67 hwdev->hw->modeset(hwdev, &vm); in malidp_crtc_atomic_enable() [all …]
|
/Linux-v5.10/drivers/staging/media/rkisp1/uapi/ |
D | rkisp1-config.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 12 /* Vendor specific - used for RK_ISP1 camera sub-system */ 20 /* Sensor De-gamma */ 48 /* Denoise Pre-Filter */ 50 /* Denoise Pre-Filter Strength */ 118 * Denoising pre filter 152 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 162 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode 171 /*---------- PART1: Input Parameters ------------*/ 174 * struct rkisp1_cif_isp_window - measurement window. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/display/ |
D | amlogic,meson-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Neil Armstrong <narmstrong@baylibre.com> 17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| 19 D |-------| |----| | | | | HDMI PLL | 20 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK | 21 R |-------| |----| Processing | | | | | 22 | osd2 | | | |---| Enci ----------|----|-----VDAC------| [all …]
|
/Linux-v5.10/drivers/clocksource/ |
D | timer-cadence-ttc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Xilinx 22 * This driver configures the 2 16/32-bit count-up timers as follows: 29 * common to all the timer channels (T1, T2, and T3). With a pre-scaler of 32, 33 * obtained from device tree. The pre-scaler of 32 is used. 54 * Setup the timers to use pre-scaling, using a fixed value for now that will 59 #define CLK_CNTRL_PRESCALE ((PRESCALE_EXPONENT - 1) << 1) 66 * struct ttc_timer - This definition defines local timer structure 104 * ttc_set_interval - Set the timer interval value 114 /* Disable the counter, set the counter value and re-enable counter */ in ttc_set_interval() [all …]
|