| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/ |
| H A D | ti,adc12138.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs 10 - Akinobu Mita <akinobu.mita@gmail.com> 19 - ti,adc12130 20 - ti,adc12132 21 - ti,adc12138 34 spi-max-frequency: true 36 vref-p-supply: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/dac/ |
| H A D | dpot-dac.txt | 5 divided voltage is provided by a vref regulator. 7 .------. 8 .-----------. | | 9 | vref |--' .---. 10 | regulator |--. | | 11 '-----------' | | d | 12 | | p | 14 | | t |<---------+ 16 | '---' dac output voltage 18 '------+------------+ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | ad7766.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 67 static irqreturn_t ad7766_trigger_handler(int irq, void *p) in ad7766_trigger_handler() argument 69 struct iio_poll_func *pf = p; in ad7766_trigger_handler() 70 struct iio_dev *indio_dev = pf->indio_dev; in ad7766_trigger_handler() 74 ret = spi_sync(ad7766->spi, &ad7766->msg); in ad7766_trigger_handler() 78 iio_push_to_buffers_with_timestamp(indio_dev, ad7766->data, in ad7766_trigger_handler() 79 pf->timestamp); in ad7766_trigger_handler() 81 iio_trigger_notify_done(indio_dev->trig); in ad7766_trigger_handler() 91 ret = regulator_bulk_enable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable() 93 dev_err(&ad7766->spi->dev, "Failed to enable supplies: %d\n", in ad7766_preenable() [all …]
|
| H A D | ti-adc108s102.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2013-2015 Intel Corporation. 29 * In case of ACPI, we use the hard-wired 5000 mV of the Galileo and IOT2000 31 * via the vref-supply regulator. 38 * chips. The ADC108S102 effectively returns a 12-bit result with the 2 39 * least-significant bits unset. 45 * 16-bit SPI command format: 47 * [13:11] 3-bit channel address 53 * 16-bit SPI response format: 55 * [11:0] 12-bit ADC sample (for ADC108S102, [1:0] will always be 0). [all …]
|
| H A D | ad7768-1.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices AD7768-1 SPI ADC driver 156 struct regulator *vref; member 184 shift = 32 - (8 * len); in ad7768_spi_reg_read() 185 st->data.d8[0] = AD7768_RD_FLAG_MSK(addr); in ad7768_spi_reg_read() 187 ret = spi_write_then_read(st->spi, st->data.d8, 1, in ad7768_spi_reg_read() 188 &st->data.d32, len); in ad7768_spi_reg_read() 192 return (be32_to_cpu(st->data.d32) >> shift); in ad7768_spi_reg_read() 199 st->data.d8[0] = AD7768_WR_FLAG_MSK(addr); in ad7768_spi_reg_write() 200 st->data.d8[1] = val & 0xFF; in ad7768_spi_reg_write() [all …]
|
| H A D | ti-ads7950.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 36 * Device tree users encode that via the vref-supply regulator. 54 (((val) >> (dec)) & ((1 << (bits)) - 1)) 61 (TI_ADS7950_MAN_CMD(TI_ADS7950_CR_WRITE | st->cmd_settings_bitmask)) 64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask)) 84 * [0-3] GPIO signal 87 * [6] Sets Vref range1(2.5v) or range2(5v) 95 * [0-3] GPIO direction 96 * [4-6] Different GPIO alarm mode configurations [all …]
|
| H A D | max1363.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2008-2010 Jonathan Cameron 7 * Copyright (C) 2002-2004 Stefan Eletzhofer 52 /* think about including max11600 etc - more settings */ 59 /* max1363 only - though don't care on others. 80 /* max123{6-9} only */ 83 /* max1363 only - merely part of channel selects or don't care for others */ 88 /* max1363 strictly 0x06 - but doesn't matter */ 95 * struct max1363_mode - scan mode information 123 * struct max1363_chip_info - chip specifc information [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | stm32mp157a-dk1-u-boot.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/clock/stm32mp1-clksrc.h> 7 #include "stm32mp157-u-boot.dtsi" 8 #include "stm32mp15-ddr3-1x4Gb-1066-binG.dtsi" 17 u-boot,boot-led = "heartbeat"; 18 u-boot,error-led = "error"; 25 default-state = "off"; 30 default-state = "on"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&adc12_usb_pwr_pins_a>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | ads7846.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - corgi_ts.c 11 * Copyright (C) 2004-2005 Richard Purdie 12 * - omap_ts.[hc], ads7846.h, ts_osk.c 42 * Support for ads7843 tested on Atmel at91sam926x-EK. 56 * note. The strength of filtering can be set in the board-* specific 70 * with msbs zeroed). Instead, we read them as two 8-bit values, 83 * driver is used with DMA-based SPI controllers (like atmel_spi) on 84 * systems where main memory is not DMA-coherent (most non-x86 boards). 90 /* for ads7845 with mpc5121 psc spi we use 3-byte buffers */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-sapphire-excavator-linux-for-rk1808-cascade.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rk3399-excavator-sapphire.dtsi" 9 #include "rk3399-linux.dtsi" 10 #include <dt-bindings/input/input.h> 14 compatible = "rockchip,rk3399-excavator-linux", "rockchip,rk3399"; 16 fiq_debugger: fiq-debugger { 17 compatible = "rockchip,fiq-debugger"; 18 rockchip,serial-id = <2>; 19 rockchip,signal-irq = <182>; [all …]
|
| H A D | rk3588s-tablet-rk806-single.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/input/rk-input.h> 11 #include <dt-bindings/display/drm_mipi_dsi.h> 12 #include <dt-bindings/display/rockchip_vop.h> 13 #include <dt-bindings/sensor-dev.h> 14 #include <dt-bindings/usb/pd.h> 16 #include "rk3588-android.dtsi" [all …]
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | soc-dapm.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management 15 #include <sound/soc-topology.h> 23 #define SND_SOC_NOPM -1 29 * 1. Codec domain - VREF, VMID 32 * 2. Platform/Machine domain - physically connected inputs and outputs 35 * 3. Path domain - Internal codec path mixers 38 * 4. Stream domain - DAC's and ADC's. 137 /* path domain with event - event handler must return 0 for success */ 307 .tlv.p = (tlv_array), \ [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | pcm512x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <sound/soc-dapm.h> 54 * We can't use the same notifier block for more than one supply and 65 regcache_mark_dirty(pcm512x->regmap); \ 66 regcache_cache_only(pcm512x->regmap, true); \ 227 ucontrol->value.integer.value[0] = pcm512x->overclock_pll; in pcm512x_overclock_pll_get() 242 return -EBUSY; in pcm512x_overclock_pll_put() 245 pcm512x->overclock_pll = ucontrol->value.integer.value[0]; in pcm512x_overclock_pll_put() 255 ucontrol->value.integer.value[0] = pcm512x->overclock_dsp; in pcm512x_overclock_dsp_get() 270 return -EBUSY; in pcm512x_overclock_dsp_put() [all …]
|
| H A D | wcd9335.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 18 #include <sound/soc-dapm.h> 25 #include "wcd-clsh-v2.h" 89 #define WCD9335_SLIM_RX_CH(p) \ argument 90 {.port = p + WCD9335_RX_START, .shift = p,} 92 #define WCD9335_SLIM_TX_CH(p) \ argument 93 {.port = p, .shift = p,} 96 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25) [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/vx222/ |
| H A D | vx222_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * VX222-specific low-level routines 77 return chip->port[vx2_reg_index[reg]] + vx2_reg_offset[reg]; in vx2_reg_addr() 81 * snd_vx_inb - read a byte from the register 91 * snd_vx_outb - write a byte on the register 100 dev_dbg(chip->card->dev, "outb: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outb() 105 * snd_vx_inl - read a 32bit word from the register 115 * snd_vx_outl - write a 32bit word on the register 123 dev_dbg(chip->card->dev, "outl: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outl() 142 * vx_reset_dsp - reset the DSP [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 power supply alarms (hwmon). 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 119 over at91-usart-serial driver and usart-spi-driver. Only one function 135 tristate "Atmel HLCDC (High-end LCD Controller)" [all …]
|
| /OK3568_Linux_fs/external/libmali/lib/arm-linux-gnueabihf/ |
| HD | libmali-bifrost-g31-g2p0-only-cl.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance |
| HD | libmali-bifrost-g52-g2p0-gbm.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-valhall-g610-g6p0-dummy.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-valhall-g610-g6p0-gbm.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-valhall-g610-g6p0-wayland-gbm.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-valhall-g610-g6p0-x11-gbm.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-bifrost-g31-g2p0-gbm.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |
| HD | libmali-bifrost-g52-g2p0-dummy.so | ... not a power of 2, using %zu printf-buffer-size-not-power-2 Performance ... |