/linux/drivers/input/keyboard/ |
A D | sun4i-lradc-keys.c | 107 input_report_key(lradc->input, lradc->chan0_keycode, 0); in sun4i_lradc_irq() 124 input_report_key(lradc->input, lradc->chan0_keycode, 1); in sun4i_lradc_irq() 143 lradc->vref = regulator_get_voltage(lradc->vref_supply) * in sun4i_lradc_open() 187 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap() 190 if (!lradc->chan0_map) in sun4i_lradc_load_dt_keymap() 233 if (!lradc) in sun4i_lradc_probe() 241 if (!lradc->variant) { in sun4i_lradc_probe() 250 lradc->dev = dev; in sun4i_lradc_probe() 252 if (!lradc->input) in sun4i_lradc_probe() 266 __set_bit(lradc->chan0_map[i].keycode, lradc->input->keybit); in sun4i_lradc_probe() [all …]
|
A D | Makefile | 67 obj-$(CONFIG_KEYBOARD_SUN4I_LRADC) += sun4i-lradc-keys.o
|
/linux/drivers/mfd/ |
A D | mxs-lradc.c | 131 struct mxs_lradc *lradc; in mxs_lradc_probe() local 137 lradc = devm_kzalloc(&pdev->dev, sizeof(*lradc), GFP_KERNEL); in mxs_lradc_probe() 138 if (!lradc) in mxs_lradc_probe() 148 if (IS_ERR(lradc->clk)) { in mxs_lradc_probe() 150 return PTR_ERR(lradc->clk); in mxs_lradc_probe() 170 if (lradc->soc == IMX28_LRADC) { in mxs_lradc_probe() 171 lradc->touchscreen_wire = in mxs_lradc_probe() 187 platform_set_drvdata(pdev, lradc); in mxs_lradc_probe() 195 switch (lradc->soc) { in mxs_lradc_probe() 219 if (!lradc->touchscreen_wire) in mxs_lradc_probe() [all …]
|
/linux/drivers/input/touchscreen/ |
A D | mxs-lradc-ts.c | 42 struct mxs_lradc *lradc; member 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() 302 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_x_pos() local 328 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_y_pos() local 354 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_pressure() local 496 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_handle_irq() local 535 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_stop() local 563 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_hw_init() local [all …]
|
/linux/drivers/iio/adc/ |
A D | mxs-lradc-adc.c | 114 struct mxs_lradc *lradc; member 135 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_read_single() local 155 if (lradc->soc == IMX28_LRADC) in mxs_lradc_adc_read_single() 388 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_handle_irq() local 486 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_buffer_preenable() local 498 writel(lradc->buffer_vchans, in mxs_lradc_adc_buffer_preenable() 524 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_buffer_postdisable() local 542 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_validate_scan_mask() local 547 if (lradc->use_touchbutton) in mxs_lradc_adc_validate_scan_mask() 554 if (lradc->use_touchbutton) in mxs_lradc_adc_validate_scan_mask() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | mxs-lradc.txt | 4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc" 10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen 25 lradc@80050000 { 26 compatible = "fsl,imx23-lradc"; 29 fsl,lradc-touchscreen-wires = <4>; 37 lradc@80050000 { 38 compatible = "fsl,imx28-lradc"; 41 fsl,lradc-touchscreen-wires = <5>;
|
/linux/Documentation/devicetree/bindings/input/ |
A D | allwinner,sun4i-a10-lradc-keys.yaml | 4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml# 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 75 lradc: lradc@1c22800 { 76 compatible = "allwinner,sun4i-a10-lradc-keys";
|
A D | adc-keys.txt | 34 io-channels = <&lradc 0>;
|
/linux/include/linux/mfd/ |
A D | mxs-lradc.h | 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/arch/arm/boot/dts/ |
A D | imx23-evk.dts | 104 lradc@80050000 { 106 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-cfa10058.dts | 78 lradc@80050000 { 79 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-cfa10055.dts | 119 lradc@80050000 { 120 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-cfa10057.dts | 105 lradc@80050000 { 106 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-apf28dev.dts | 117 lradc@80050000 { 118 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx23.dtsi | 527 lradc: lradc@80050000 { label 528 compatible = "fsl,imx23-lradc"; 634 io-channels = <&lradc 8>;
|
A D | imx28-m28evk.dts | 151 lradc@80050000 { 153 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-eukrea-mbmx28lc.dtsi | 186 &lradc { 187 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-evk.dts | 239 lradc@80050000 { 241 fsl,lradc-touchscreen-wires = <4>;
|
A D | sun8i-v3-sl631.dtsi | 42 &lradc {
|
A D | imx23-olinuxino.dts | 68 lradc@80050000 {
|
A D | imx28-cfa10049.dts | 285 lradc@80050000 { 287 fsl,lradc-touchscreen-wires = <4>;
|
A D | imx28-duckbill.dts | 77 lradc@80050000 {
|
A D | imx28-duckbill-2.dts | 92 lradc@80050000 {
|
/linux/drivers/clk/mxs/ |
A 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/Documentation/devicetree/bindings/clock/ |
A D | imx28-clock.yaml | 60 lradc 41
|