Searched +full:jz4740 +full:- +full:pwm (Results 1 – 16 of 16) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>4 * JZ4740 platform PWM support7 * - The .apply callback doesn't complete the currently running period before15 #include <linux/mfd/ingenic-tcu.h>20 #include <linux/pwm.h>40 /* Enable all TCU channels for PWM use by default except channels 0/1 */ in jz4740_pwm_can_use_chn()41 u32 pwm_channels_mask = GENMASK(jz->chip.npwm - 1, 2); in jz4740_pwm_can_use_chn()43 device_property_read_u32(jz->chip.dev->parent, in jz4740_pwm_can_use_chn()44 "ingenic,pwm-channels-mask", in jz4740_pwm_can_use_chn()[all …]
1 # SPDX-License-Identifier: GPL-2.02 obj-$(CONFIG_PWM) += core.o3 obj-$(CONFIG_PWM_SYSFS) += sysfs.o4 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o5 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o6 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o7 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o8 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o9 obj-$(CONFIG_PWM_BCM_KONA) += pwm-bcm-kona.o10 obj-$(CONFIG_PWM_BCM2835) += pwm-bcm2835.o[all …]
1 # SPDX-License-Identifier: GPL-2.0-only2 menuconfig PWM config3 bool "Pulse-Width Modulation (PWM) Support"5 Generic Pulse-Width Modulation (PWM) support.7 In Pulse-Width Modulation, a variation of the width of pulses14 This framework provides a generic interface to PWM devices16 to register and unregister a PWM chip, an abstraction of a PWM17 controller, that supports one or more PWM devices. Client18 drivers can request PWM devices and use the generic framework21 This generic framework replaces the legacy PWM framework which[all …]
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#11 Documentation/mips/ingenic-tcu.rst.14 - Paul Cercueil <paul@crapouillou.net>21 - ingenic,jz4740-tcu22 - ingenic,jz4725b-tcu23 - ingenic,jz4770-tcu24 - ingenic,jz4780-tcu25 - ingenic,x1000-tcu[all …]
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 #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.02 #include <dt-bindings/clock/jz4780-cgu.h>3 #include <dt-bindings/clock/ingenic,tcu.h>4 #include <dt-bindings/dma/jz4780-dma.h>7 #address-cells = <1>;8 #size-cells = <1>;12 #address-cells = <1>;13 #size-cells = <0>;17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";21 clock-names = "cpu";[all …]
1 .. SPDX-License-Identifier: GPL-2.07 The Timer/Counter Unit (TCU) in Ingenic JZ47xx SoCs is a multi-function9 counters, timers, or PWM.11 - JZ4725B, JZ4750, JZ4755 only have six TCU channels. The other SoCs all14 - JZ4725B introduced a separate channel, called Operating System Timer15 (OST). It is a 32-bit programmable timer. On JZ4760B and above, it is16 64-bit.18 - Each one of the TCU channels has its own clock, which can be reparented to three21 - The watchdog and OST hardware blocks also feature a TCSR register with the same23 - The TCU registers used to gate/ungate can also gate/ungate the watchdog and[all …]
1 // SPDX-License-Identifier: GPL-2.013 #include <linux/mfd/ingenic-tcu.h>24 #include <dt-bindings/clock/ingenic,tcu.h>57 regmap_read(tcu->map, TCU_REG_TCNTc(tcu->cs_channel), &count); in ingenic_tcu_timer_read()70 return container_of(timer, struct ingenic_tcu, timers[timer->cpu]); in to_ingenic_tcu()84 regmap_write(tcu->map, TCU_REG_TECR, BIT(timer->channel)); in ingenic_tcu_cevt_set_state_shutdown()96 return -EINVAL; in ingenic_tcu_cevt_set_next()98 regmap_write(tcu->map, TCU_REG_TDFRc(timer->channel), next); in ingenic_tcu_cevt_set_next()99 regmap_write(tcu->map, TCU_REG_TCNTc(timer->channel), 0); in ingenic_tcu_cevt_set_next()100 regmap_write(tcu->map, TCU_REG_TESR, BIT(timer->channel)); in ingenic_tcu_cevt_set_next()[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 -- "$ ...