Searched +full:jz4740 +full:- +full:adc (Results 1 – 18 of 18) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.02 #include <dt-bindings/clock/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 …]
1 // SPDX-License-Identifier: GPL-2.02 #include <dt-bindings/clock/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 …]
1 // SPDX-License-Identifier: GPL-2.02 /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 …]
1 // SPDX-License-Identifier: GPL-2.02 #include <dt-bindings/clock/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 …]
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2 # Copyright 2019-2020 Artur Rojek4 ---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 bindings11 - Artur Rojek <contact@artur-rojek.eu>14 Industrial I/O subsystem bindings for ADC controller found in17 ADC clients must use the format described in iio-bindings.txt, giving18 a phandle and IIO specifier pair ("io-channels") to the ADC controller.[all …]
1 /* SPDX-License-Identifier: GPL-2.0 */9 * jz4740_adc_set_config - Configure a JZ4740 adc device10 * @dev: Pointer to a jz4740-adc device14 * This function can be used by the JZ4740 ADC mfd cells to configure their
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2 # Copyright 2019-2020 Artur Rojek4 ---6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"11 - Artur Rojek <contact@artur-rojek.eu>16 - const: ingenic,jz4740-battery17 - items:18 - enum:19 - ingenic,jz4725b-battery20 - ingenic,jz4770-battery[all …]
1 // SPDX-License-Identifier: GPL-2.03 // JZ4740 CODEC driver5 // 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 …]
1 # SPDX-License-Identifier: GPL-2.0-only5 # setting - SPI can't be modular so that case doesn't need to be covered.400 tristate "Analog Devices AU1761 CODEC - I2C"406 tristate "Analog Devices AU1761 CODEC - SPI"443 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"449 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"452 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM458 will be called snd-soc-adau7118-hw.461 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"466 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM[all …]
1 // SPDX-License-Identifier: GPL-2.03 * ADC driver for the Ingenic JZ47xx SoCs4 * Copyright (c) 2019 Artur Rojek <contact@artur-rojek.eu>6 * based on drivers/mfd/jz4740-adc.c9 #include <dt-bindings/iio/adc/ingenic,adc.h>98 int (*init_clk_div)(struct device *dev, struct ingenic_adc *adc);112 struct ingenic_adc *adc = iio_priv(iio_dev); in ingenic_adc_set_adcmd() local114 mutex_lock(&adc->lock); in ingenic_adc_set_adcmd()117 readl(adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()124 adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * Ingenic JZ4740 SoC CGU driver9 #include <linux/clk-provider.h>14 #include <dt-bindings/clock/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,105 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },107 CGU_REG_CPCCR, 0, 1, 4, 22, -1, -1,[all …]
4 * based on jz4740-battery.c25 #include <linux/power/generic-adc-battery.h>66 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed()84 * should correspond one-to-one with enum chan_type.94 struct gab_platform_data *pdata = adc_bat->pdata; in gab_charge_finished()95 bool ret = gpio_get_value(pdata->gpio_charge_finished); in gab_charge_finished()96 bool inv = pdata->gpio_inverted; in gab_charge_finished()98 if (!gpio_is_valid(pdata->gpio_charge_finished)) in gab_charge_finished()105 struct gab_platform_data *pdata = adc_bat->pdata; in gab_get_status()108 bat_info = &pdata->battery_info; in gab_get_status()[all …]
9 -------------------------30 ``diff -u`` to make the patch easy to merge. Be prepared to get your40 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 this59 Documentation/process/submitting-patches.rst.70 that the bug would present a short-term risk to other users if it76 Documentation/admin-guide/security-bugs.rst for details.81 ---------------------------------------------------97 W: *Web-page* with status/info[all …]
... then 81 /usr/share/command-not-found/command-not-found -- "$ ...