/linux-6.12.1/drivers/input/keyboard/ |
D | sun4i-lradc-keys.c | 9 * 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/ |
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-6.12.1/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 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/ |
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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/arch/riscv/boot/dts/allwinner/ |
D | sun20i-d1.dtsi | 9 lradc: keys@2009800 { label 10 compatible = "allwinner,sun20i-d1-lradc", 11 "allwinner,sun50i-r329-lradc";
|
/linux-6.12.1/arch/arm/boot/dts/allwinner/ |
D | suniv-f1c100s.dtsi | 289 lradc: lradc@1c23400 { label 290 compatible = "allwinner,suniv-f1c100s-lradc", 291 "allwinner,sun8i-a83t-r-lradc";
|
D | sun6i-a31s-colorfly-e708-q1.dts | 52 &lradc {
|
D | sun8i-a23-gt90h-v4.dts | 65 &lradc {
|
D | sun8i-v3-sl631.dtsi | 42 &lradc {
|
D | sunxi-reference-design-tablet.dtsi | 59 &lradc {
|
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/ |
D | imx28-cfa10058.dts | 67 &lradc { 68 fsl,lradc-touchscreen-wires = <4>;
|
D | imx23-evk.dts | 103 lradc@80050000 { 105 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10055.dts | 81 &lradc { 82 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10057.dts | 67 &lradc { 68 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-apf28dev.dts | 111 &lradc { 112 fsl,lradc-touchscreen-wires = <4>;
|
D | imx23.dtsi | 525 lradc: lradc@80050000 { label 526 compatible = "fsl,imx23-lradc"; 633 io-channels = <&lradc 8>;
|
D | imx28-m28evk.dts | 127 &lradc { 129 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-eukrea-mbmx28lc.dtsi | 176 &lradc { 177 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-evk.dts | 179 &lradc { 180 fsl,lradc-touchscreen-wires = <4>;
|
D | imx28-cfa10049.dts | 230 &lradc { 231 fsl,lradc-touchscreen-wires = <4>;
|
/linux-6.12.1/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-6.12.1/Documentation/devicetree/bindings/clock/ |
D | imx28-clock.yaml | 60 lradc 41
|