Home
last modified time | relevance | path

Searched full:lradc (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v5.10/drivers/input/keyboard/
Dsun4i-lradc-keys.c9 * 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/
Dmxs-lradc.c16 #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/
Dmxs-lradc-adc.c3 * 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/
Dmxs-lradc.txt1 * 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/
Dmxs-lradc-ts.c3 * 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/
Dallwinner,sun4i-a10-lradc-keys.yaml4 $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";
Dadc-keys.txt28 io-channels = <&lradc 0>;
/Linux-v5.10/include/linux/mfd/
Dmxs-lradc.h116 * 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/
Dimx23-evk.dts104 lradc@80050000 {
106 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10058.dts78 lradc@80050000 {
79 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10055.dts119 lradc@80050000 {
120 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10057.dts105 lradc@80050000 {
106 fsl,lradc-touchscreen-wires = <4>;
Dimx28-apf28dev.dts117 lradc@80050000 {
118 fsl,lradc-touchscreen-wires = <4>;
Dimx23.dtsi527 lradc: lradc@80050000 { label
528 compatible = "fsl,imx23-lradc";
634 io-channels = <&lradc 8>;
Dimx28-m28evk.dts151 lradc@80050000 {
153 fsl,lradc-touchscreen-wires = <4>;
Dimx28-eukrea-mbmx28lc.dtsi186 &lradc {
187 fsl,lradc-touchscreen-wires = <4>;
Dimx28-evk.dts239 lradc@80050000 {
241 fsl,lradc-touchscreen-wires = <4>;
Dsun8i-v3s.dtsi404 lradc: lradc@1c22800 { label
405 compatible = "allwinner,sun4i-a10-lradc-keys";
Dsun8i-a23-gt90h-v4.dts65 &lradc {
Dsun6i-a31s-colorfly-e708-q1.dts52 &lradc {
Dsunxi-reference-design-tablet.dtsi59 &lradc {
Dimx28-cfa10049.dts285 lradc@80050000 {
287 fsl,lradc-touchscreen-wires = <4>;
Dimx23-olinuxino.dts68 lradc@80050000 {
/Linux-v5.10/drivers/clk/mxs/
Dclk-imx28.c139 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/
Dimx28-clock.yaml60 lradc 41

1234