/Linux-v5.10/drivers/input/keyboard/ |
D | sun4i-lradc-keys.c | 9 * Allwinnner sunxi SoCs have a lradc which is specifically designed to have 58 /* struct lradc_variant - Describe sun4i-a10-lradc-keys hardware variant 59 * @divisor_numerator: The numerator of lradc Vref internally divisor 60 * @divisor_denominator: The denominator of lradc Vref internally divisor 96 struct sun4i_lradc_data *lradc = dev_id; in sun4i_lradc_irq() local 99 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq() 102 * lradc supports only one keypress at a time, release does not give in sun4i_lradc_irq() 107 input_report_key(lradc->input, lradc->chan0_keycode, 0); in sun4i_lradc_irq() 108 lradc->chan0_keycode = 0; in sun4i_lradc_irq() 111 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq() [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | mxs-lradc.c | 16 #include <linux/mfd/mxs-lradc.h> 57 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH0_IRQ, "mxs-lradc-channel0"), 58 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH1_IRQ, "mxs-lradc-channel1"), 59 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH2_IRQ, "mxs-lradc-channel2"), 60 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH3_IRQ, "mxs-lradc-channel3"), 61 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH4_IRQ, "mxs-lradc-channel4"), 62 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH5_IRQ, "mxs-lradc-channel5"), 67 DEFINE_RES_IRQ_NAMED(MX23_LRADC_TS_IRQ, "mxs-lradc-touchscreen"), 68 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH6_IRQ, "mxs-lradc-channel6"), 69 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH7_IRQ, "mxs-lradc-channel7"), [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | mxs-lradc-adc.c | 3 * Freescale MXS LRADC ADC driver 18 #include <linux/mfd/mxs-lradc.h> 33 * is enabled, the LRADC takes LRADC_DELAY_TIMER_LOOP samples of data before 43 "mxs-lradc-channel0", 44 "mxs-lradc-channel1", 45 "mxs-lradc-channel2", 46 "mxs-lradc-channel3", 47 "mxs-lradc-channel4", 48 "mxs-lradc-channel5", 52 "mxs-lradc-thresh0", [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | mxs-lradc.txt | 1 * Freescale MXS LRADC device driver 4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc" 7 - interrupts: Should contain the LRADC interrupts 10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen 11 to LRADC. Valid value is either 4 or 5. If this 25 lradc@80050000 { 26 compatible = "fsl,imx23-lradc"; 29 fsl,lradc-touchscreen-wires = <4>; 37 lradc@80050000 { 38 compatible = "fsl,imx28-lradc"; [all …]
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | mxs-lradc-ts.c | 3 * Freescale MXS LRADC touchscreen driver 19 #include <linux/mfd/mxs-lradc.h> 25 "mxs-lradc-touchscreen", 26 "mxs-lradc-channel6", 27 "mxs-lradc-channel7", 42 struct mxs_lradc *lradc; member 133 * the LRADC will not trigger the delay group." in mxs_lradc_setup_ts_channel() 274 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_setup_touch_detection() local 282 writel(info[lradc->soc].mask, in mxs_lradc_setup_touch_detection() 284 writel(info[lradc->soc].bit, in mxs_lradc_setup_touch_detection() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | allwinner,sun4i-a10-lradc-keys.yaml | 4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml# 7 title: Allwinner A10 LRADC Device Tree Bindings 16 - const: allwinner,sun4i-a10-lradc-keys 17 - const: allwinner,sun8i-a83t-r-lradc 19 - const: allwinner,sun50i-a64-lradc 20 - const: allwinner,sun8i-a83t-r-lradc 30 Regulator for the LRADC reference voltage 52 Voltage in microvolts at LRADC input when this key is 73 lradc: lradc@1c22800 { 74 compatible = "allwinner,sun4i-a10-lradc-keys";
|
D | adc-keys.txt | 28 io-channels = <&lradc 0>;
|
/Linux-v5.10/include/linux/mfd/ |
D | mxs-lradc.h | 116 * Certain LRADC channels are shared between touchscreen 117 * and/or touch-buttons and generic LRADC block. Therefore when using 129 * The bit fields below represents which parts of the LRADC block are 131 * be sampled as regular LRADC channels. The driver will refuse any 166 static inline u32 mxs_lradc_irq_mask(struct mxs_lradc *lradc) in mxs_lradc_irq_mask() argument 168 switch (lradc->soc) { in mxs_lradc_irq_mask()
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | imx23-evk.dts | 104 lradc@80050000 { 106 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10058.dts | 78 lradc@80050000 { 79 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10055.dts | 119 lradc@80050000 { 120 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10057.dts | 105 lradc@80050000 { 106 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-apf28dev.dts | 117 lradc@80050000 { 118 fsl,lradc-touchscreen-wires = <4>;
|
D | imx23.dtsi | 527 lradc: lradc@80050000 { label 528 compatible = "fsl,imx23-lradc"; 634 io-channels = <&lradc 8>;
|
D | imx28-m28evk.dts | 151 lradc@80050000 { 153 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-eukrea-mbmx28lc.dtsi | 186 &lradc { 187 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-evk.dts | 239 lradc@80050000 { 241 fsl,lradc-touchscreen-wires = <4>;
|
D | sun8i-v3s.dtsi | 404 lradc: lradc@1c22800 { label 405 compatible = "allwinner,sun4i-a10-lradc-keys";
|
D | sun8i-a23-gt90h-v4.dts | 65 &lradc {
|
D | sun6i-a31s-colorfly-e708-q1.dts | 52 &lradc {
|
D | sunxi-reference-design-tablet.dtsi | 59 &lradc {
|
D | imx28-cfa10049.dts | 285 lradc@80050000 { 287 fsl,lradc-touchscreen-wires = <4>;
|
D | imx23-olinuxino.dts | 68 lradc@80050000 {
|
/Linux-v5.10/drivers/clk/mxs/ |
D | clk-imx28.c | 139 clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0, enumerator 208 clks[lradc] = mxs_clk_fixed_factor("lradc", "clk32k", 1, 16); in mx28_clocks_init()
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ |
D | imx28-clock.yaml | 60 lradc 41
|