Home
last modified time | relevance | path

Searched +full:jz4740 +full:- +full:adc (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/arch/mips/boot/dts/ingenic/
Djz4740.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4740-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "ingenic,jz4740";
11 #address-cells = <1>;
12 #size-cells = <0>;
16 compatible = "ingenic,xburst-mxu1.0";
20 clock-names = "cpu";
[all …]
Djz4725b.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
6 #address-cells = <1>;
7 #size-cells = <1>;
11 #address-cells = <1>;
12 #size-cells = <0>;
16 compatible = "ingenic,xburst-mxu1.0";
20 clock-names = "cpu";
24 cpuintc: interrupt-controller {
[all …]
Dqi_lb60.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "jz4740.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/iio/adc/ingenic,adc.h>
8 #include <dt-bindings/clock/ingenic,tcu.h>
9 #include <dt-bindings/input/input.h>
18 compatible = "qi,lb60", "ingenic,jz4740";
27 stdout-path = &uart0;
31 compatible = "regulator-fixed";
[all …]
Djz4770.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
6 #address-cells = <1>;
7 #size-cells = <1>;
11 #address-cells = <1>;
12 #size-cells = <0>;
16 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
20 clock-names = "cpu";
24 cpuintc: interrupt-controller {
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Dingenic,adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/iio/adc/ingenic,adc.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Ingenic JZ47xx ADC controller IIO bindings
11 - Artur Rojek <contact@artur-rojek.eu>
14 Industrial I/O subsystem bindings for ADC controller found in
17 ADC clients must use the format described in
18 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml,
[all …]
/Linux-v6.1/include/linux/
Djz4740-adc.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * jz4740_adc_set_config - Configure a JZ4740 adc device
10 * @dev: Pointer to a jz4740-adc device
14 * This function can be used by the JZ4740 ADC mfd cells to configure their
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dingenic,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Artur Rojek <contact@artur-rojek.eu>
16 - const: ingenic,jz4740-battery
17 - items:
18 - enum:
19 - ingenic,jz4725b-battery
20 - ingenic,jz4770-battery
[all …]
/Linux-v6.1/sound/soc/codecs/
Djz4740.c1 // SPDX-License-Identifier: GPL-2.0
3 // JZ4740 CODEC driver
5 // Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
80 static const DECLARE_TLV_DB_SCALE(jz4740_in_tlv, -3450, 150, 0);
111 SND_SOC_DAPM_ADC("ADC", "Capture", JZ4740_REG_CODEC_1,
141 {"ADC", NULL, "Input Mixer"},
153 struct jz4740_codec *jz4740_codec = snd_soc_component_get_drvdata(dai->component); in jz4740_codec_hw_params()
185 return -EINVAL; in jz4740_codec_hw_params()
190 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_2, in jz4740_codec_hw_params()
201 .name = "jz4740-hifi",
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
441 tristate "Analog Devices AU1761 CODEC - I2C"
447 tristate "Analog Devices AU1761 CODEC - SPI"
484 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
490 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
493 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
499 will be called snd-soc-adau7118-hw.
502 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
507 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
/Linux-v6.1/drivers/iio/adc/
Dingenic-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * ADC driver for the Ingenic JZ47xx SoCs
4 * Copyright (c) 2019 Artur Rojek <contact@artur-rojek.eu>
6 * based on drivers/mfd/jz4740-adc.c
9 #include <dt-bindings/iio/adc/ingenic,adc.h>
102 int (*init_clk_div)(struct device *dev, struct ingenic_adc *adc);
116 struct ingenic_adc *adc = iio_priv(iio_dev); in ingenic_adc_set_adcmd() local
118 mutex_lock(&adc->lock); in ingenic_adc_set_adcmd()
121 readl(adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()
128 adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()
[all …]
/Linux-v6.1/drivers/clk/ingenic/
Djz4740-cgu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Ingenic JZ4740 SoC CGU driver
9 #include <linux/clk-provider.h>
14 #include <dt-bindings/clock/ingenic,jz4740-cgu.h>
51 0x0, 0x1, -1, 0x3,
71 .parents = { JZ4740_CLK_EXT, -1, -1, -1 },
96 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
98 CGU_REG_CPCCR, 21, 1, 1, -1, -1, -1, 0,
110 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
112 CGU_REG_CPCCR, 0, 1, 4, 22, -1, -1, 0,
[all …]
/Linux-v6.1/drivers/power/supply/
Dgeneric-adc-battery.c4 * based on jz4740-battery.c
25 #include <linux/power/generic-adc-battery.h>
67 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed()
85 * should correspond one-to-one with enum chan_type.
95 if (!adc_bat->charge_finished) in gab_charge_finished()
97 return gpiod_get_value(adc_bat->charge_finished); in gab_charge_finished()
102 struct gab_platform_data *pdata = adc_bat->pdata; in gab_get_status()
105 bat_info = &pdata->battery_info; in gab_get_status()
106 if (adc_bat->level == bat_info->charge_full_design) in gab_get_status()
108 return adc_bat->status; in gab_get_status()
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]