Home
last modified time | relevance | path

Searched +full:ingenic +full:- +full:battery (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dingenic,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/power/supply/ingenic,battery.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Ingenic JZ47xx battery bindings
11 - Artur Rojek <contact@artur-rojek.eu>
16 - const: ingenic,jz4740-battery
17 - items:
18 - enum:
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dingenic-battery.c1 // SPDX-License-Identifier: GPL-2.0
3 * Battery driver for the Ingenic JZ47xx SoCs
4 * Copyright (c) 2019 Artur Rojek <contact@artur-rojek.eu>
6 * based on drivers/power/supply/jz4740-battery.c
20 struct power_supply *battery; member
29 struct power_supply_battery_info *info = &bat->info; in ingenic_battery_get_property()
34 ret = iio_read_channel_processed(bat->channel, &val->intval); in ingenic_battery_get_property()
35 val->intval *= 1000; in ingenic_battery_get_property()
36 if (val->intval < info->voltage_min_design_uv) in ingenic_battery_get_property()
37 val->intval = POWER_SUPPLY_HEALTH_DEAD; in ingenic_battery_get_property()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 battery class devices.
48 tristate "Generic battery support using IIO"
51 Say Y here to enable support for the generic battery driver
55 tristate "MAX8925 battery charger support"
58 Say Y here to enable support for the battery charger in the Maxim
62 tristate "WM831X backup battery charger support"
65 Say Y here to enable support for the backup battery charger
88 tristate "Marvell 88PM860x battery driver"
91 Say Y here to enable battery monitor for Marvell 88PM860x chip.
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
4 power_supply-y := power_supply_core.o
5 power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
6 power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
8 obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
9 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o
10 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
12 obj-$(CONFIG_PDA_POWER) += pda_power.o
13 obj-$(CONFIG_APM_POWER) += apm_power.o
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dqi_lb60.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
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";
32 regulator-name = "vcc";
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A 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>
114 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()
130 adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()
138 adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
16 internal voltages, convert accessory and battery, AC (charger, mains)
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI"
126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 Say yes here to build support for Analog Devices AD7766, AD7766-1,
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
48 If the clock you specify here is not battery backed, it may still
83 Say yes here to add support for the non volatile (often battery
132 once-per-second update interrupts, used for synchronization.
150 will be called rtc-test.
164 will be called rtc-88pm860x.
174 will be called rtc-88pm80x.
178 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A Dvendor-prefixes.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
19 "^(at25|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio|gpmc|hdmi|i2c-gpio),.*": true
21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true
38 "^active-semi,.*":
[all …]
/OK3568_Linux_fs/kernel/
H A 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 …]
/OK3568_Linux_fs/output/sessions/2025-06-06_01-57-56/
H A D10-kernel-build_2025-06-06_01-57-58.log
H A Dbuild_2025-06-06_01-57-58.log
H A D10-kernel-build.log
H A Dbuild.log
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz ... then 81 /usr/share/command-not-found/command-not-found -- "$ ...