Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/input/keyboard/
Dsun4i-lradc-keys.c9 * Allwinnner sunxi SoCs have a lradc which is specifically designed to have
63 /* struct lradc_variant - Describe sun4i-a10-lradc-keys hardware variant
64 * @divisor_numerator: The numerator of lradc Vref internally divisor
65 * @divisor_denominator: The denominator of lradc Vref internally divisor
111 struct sun4i_lradc_data *lradc = dev_id; in sun4i_lradc_irq() local
114 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq()
117 * lradc supports only one keypress at a time, release does not give in sun4i_lradc_irq()
122 input_report_key(lradc->input, lradc->chan0_keycode, 0); in sun4i_lradc_irq()
123 lradc->chan0_keycode = 0; in sun4i_lradc_irq()
126 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq()
[all …]
/linux-6.12.1/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-6.12.1/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
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
20 - allwinner,suniv-f1c100s-lradc
21 - allwinner,sun50i-a64-lradc
22 - const: allwinner,sun8i-a83t-r-lradc
23 - const: allwinner,sun50i-r329-lradc
26 - allwinner,sun50i-h616-lradc
27 - allwinner,sun20i-d1-lradc
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/arch/riscv/boot/dts/allwinner/
Dsun20i-d1.dtsi9 lradc: keys@2009800 { label
10 compatible = "allwinner,sun20i-d1-lradc",
11 "allwinner,sun50i-r329-lradc";
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsuniv-f1c100s.dtsi289 lradc: lradc@1c23400 { label
290 compatible = "allwinner,suniv-f1c100s-lradc",
291 "allwinner,sun8i-a83t-r-lradc";
Dsun6i-a31s-colorfly-e708-q1.dts52 &lradc {
Dsun8i-a23-gt90h-v4.dts65 &lradc {
Dsun8i-v3-sl631.dtsi42 &lradc {
Dsunxi-reference-design-tablet.dtsi59 &lradc {
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
Dimx28-cfa10058.dts67 &lradc {
68 fsl,lradc-touchscreen-wires = <4>;
Dimx23-evk.dts103 lradc@80050000 {
105 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10055.dts81 &lradc {
82 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10057.dts67 &lradc {
68 fsl,lradc-touchscreen-wires = <4>;
Dimx28-apf28dev.dts111 &lradc {
112 fsl,lradc-touchscreen-wires = <4>;
Dimx23.dtsi525 lradc: lradc@80050000 { label
526 compatible = "fsl,imx23-lradc";
633 io-channels = <&lradc 8>;
Dimx28-m28evk.dts127 &lradc {
129 fsl,lradc-touchscreen-wires = <4>;
Dimx28-eukrea-mbmx28lc.dtsi176 &lradc {
177 fsl,lradc-touchscreen-wires = <4>;
Dimx28-evk.dts179 &lradc {
180 fsl,lradc-touchscreen-wires = <4>;
Dimx28-cfa10049.dts230 &lradc {
231 fsl,lradc-touchscreen-wires = <4>;
/linux-6.12.1/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-6.12.1/Documentation/devicetree/bindings/clock/
Dimx28-clock.yaml60 lradc 41

1234