Home
last modified time | relevance | path

Searched full:jz4740 (Results 1 – 25 of 76) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-jz4740.c4 * JZ4740 platform PWM support
126 struct jz4740_pwm_chip *jz4740 = to_jz4740(pwm->chip); in jz4740_pwm_apply() local
178 regmap_write(jz4740->map, TCU_REG_TCNTc(pwm->hwpwm), 0); in jz4740_pwm_apply()
181 regmap_write(jz4740->map, TCU_REG_TDHRc(pwm->hwpwm), duty); in jz4740_pwm_apply()
184 regmap_write(jz4740->map, TCU_REG_TDFRc(pwm->hwpwm), period); in jz4740_pwm_apply()
187 regmap_update_bits(jz4740->map, TCU_REG_TCSRc(pwm->hwpwm), in jz4740_pwm_apply()
204 regmap_update_bits(jz4740->map, TCU_REG_TCSRc(pwm->hwpwm), in jz4740_pwm_apply()
207 regmap_update_bits(jz4740->map, TCU_REG_TCSRc(pwm->hwpwm), in jz4740_pwm_apply()
227 struct jz4740_pwm_chip *jz4740; in jz4740_pwm_probe() local
234 jz4740 = devm_kzalloc(dev, sizeof(*jz4740), GFP_KERNEL); in jz4740_pwm_probe()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Djz4740.dtsi2 #include <dt-bindings/clock/jz4740-cgu.h>
8 compatible = "ingenic,jz4740";
32 compatible = "ingenic,jz4740-intc";
53 cgu: jz4740-cgu@10000000 {
54 compatible = "ingenic,jz4740-cgu";
64 compatible = "ingenic,jz4740-tcu", "simple-mfd";
85 compatible = "ingenic,jz4740-watchdog";
93 compatible = "ingenic,jz4740-pwm";
108 compatible = "ingenic,jz4740-rtc";
119 compatible = "ingenic,jz4740-pinctrl";
[all …]
H A Djz4725b.dtsi32 compatible = "ingenic,jz4725b-intc", "ingenic,jz4740-intc";
85 compatible = "ingenic,jz4725b-watchdog", "ingenic,jz4740-watchdog";
117 compatible = "ingenic,jz4725b-rtc", "ingenic,jz4740-rtc";
196 compatible = "ingenic,jz4725b-i2s", "ingenic,jz4740-i2s";
261 compatible = "ingenic,jz4725b-uart", "ingenic,jz4740-uart";
288 compatible = "ingenic,jz4725b-nemc", "ingenic,jz4740-nemc";
311 compatible = "ingenic,jz4725b-musb", "ingenic,jz4740-musb";
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A Dwriting_musb_glue_layer.rst22 Ingenic JZ4740 SoC, modelled after the many MUSB glue layers in the
24 ``drivers/usb/musb/jz4740.c``. In this documentation I will walk through the
25 basics of the ``jz4740.c`` glue layer, explaining the different pieces and
60 | | <-- drivers/usb/musb/jz4740.c
86 .name = "musb-jz4740",
93 platform_device structure declared in ``arch/mips/jz4740/platform.c``. Note
235 called by the controller driver when needed. Fact is the JZ4740 MUSB
290 basic set of features of the JZ4740 controller hardware. When writing an
399 Instruction on line 18 is another quirk specific to the JZ4740 USB
430 For instance, platform data for the JZ4740 SoC is found in
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/
H A Dingenic,tcu.yaml21 - ingenic,jz4740-tcu
53 - ingenic,jz4740-tcu
116 - ingenic,jz4740-watchdog
122 - const: ingenic,jz4740-watchdog
146 - ingenic,jz4740-pwm
152 - const: ingenic,jz4740-pwm
249 compatible = "ingenic,jz4770-watchdog", "ingenic,jz4740-watchdog";
257 compatible = "ingenic,jz4770-pwm", "ingenic,jz4740-pwm";
/OK3568_Linux_fs/kernel/sound/soc/jz4740/
H A DMakefile3 # Jz4740 Platform Support
5 snd-soc-jz4740-i2s-objs := jz4740-i2s.o
7 obj-$(CONFIG_SND_JZ4740_SOC_I2S) += snd-soc-jz4740-i2s.o
H A Djz4740-i2s.c27 #include "jz4740-i2s.h"
506 .name = "jz4740-i2s",
512 { .compatible = "ingenic,jz4740-i2s", .data = &jz4740_i2s_soc_info },
562 .name = "jz4740-i2s",
570 MODULE_DESCRIPTION("Ingenic JZ4740 SoC I2S driver");
572 MODULE_ALIAS("platform:jz4740-i2s");
H A DKconfig3 tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
8 Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Djz4740_wdt.c4 * JZ4740 Watchdog driver
116 .identity = "jz4740 Watchdog",
130 { .compatible = "ingenic,jz4740-watchdog", },
190 .name = "jz4740-wdt",
198 MODULE_DESCRIPTION("jz4740 Watchdog Driver");
200 MODULE_ALIAS("platform:jz4740-wdt");
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dingenic,musb.yaml20 - ingenic,jz4740-musb
23 - const: ingenic,jz4740-musb
61 #include <dt-bindings/clock/jz4740-cgu.h>
68 compatible = "ingenic,jz4740-musb";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/
H A Dingenic,rtc.yaml19 - ingenic,jz4740-rtc
23 - const: ingenic,jz4740-rtc
75 #include <dt-bindings/clock/jz4740-cgu.h>
77 compatible = "ingenic,jz4740-rtc";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dingenic,aic.yaml19 - ingenic,jz4740-i2s
25 - const: ingenic,jz4740-i2s
74 #include <dt-bindings/clock/jz4740-cgu.h>
76 compatible = "ingenic,jz4740-i2s";
H A Dingenic,codec.yaml20 - const: ingenic,jz4740-codec
46 #include <dt-bindings/clock/jz4740-cgu.h>
48 compatible = "ingenic,jz4740-codec";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/
H A Dingenic,lcd.yaml18 - ingenic,jz4740-lcd
72 - ingenic,jz4740-lcd
91 #include <dt-bindings/clock/jz4740-cgu.h>
93 compatible = "ingenic,jz4740-lcd";
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c3 * JZ4740 ECC controller driver
7 * based on jz4740-nand.c
181 { .compatible = "ingenic,jz4740-ecc", .data = &jz4740_ecc_ops },
189 .name = "jz4740-ecc",
196 MODULE_DESCRIPTION("Ingenic JZ4740 ECC controller driver");
H A DKconfig16 tristate "Hardware BCH support for JZ4740 SoC"
20 hardware present on the JZ4740 SoC from Ingenic.
23 will be called jz4740-ecc.
/OK3568_Linux_fs/kernel/include/linux/
H A Djz4740-adc.h9 * 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
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Djz4740.c3 // JZ4740 CODEC driver
201 .name = "jz4740-hifi",
348 { .compatible = "ingenic,jz4740-codec", },
356 .name = "jz4740-codec",
363 MODULE_DESCRIPTION("JZ4740 SoC internal codec driver");
366 MODULE_ALIAS("platform:jz4740-codec");
/OK3568_Linux_fs/kernel/drivers/clk/ingenic/
H A DKconfig9 bool "Ingenic JZ4740 CGU driver"
13 Support the clocks provided by the CGU hardware on Ingenic JZ4740
16 If building for a JZ4740 SoC, you want to say Y here.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dingenic,battery.yaml16 - const: ingenic,jz4740-battery
21 - const: ingenic,jz4740-battery
57 compatible = "ingenic,jz4740-battery";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dingenic,adc.yaml24 - ingenic,jz4740-adc
57 #include <dt-bindings/clock/jz4740-cgu.h>
61 compatible = "ingenic,jz4740-adc";
/OK3568_Linux_fs/kernel/Documentation/mips/
H A Dingenic-tcu.rst35 - On the oldest SoCs (up to JZ4740), all of the eight channels operate in
44 - on older SoCs (JZ4740 and below), channel 0 and channel 1 have their
62 PWM drivers/pwm/pwm-jz4740.c
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-jz4740.c5 * JZ4740 SoC RTC driver
266 { .compatible = "ingenic,jz4740-rtc", .data = (void *)ID_JZ4740 },
404 .name = "jz4740-rtc",
413 MODULE_DESCRIPTION("RTC driver for the JZ4740 SoC\n");
414 MODULE_ALIAS("platform:jz4740-rtc");
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/
H A Dingenic,pinctrl.yaml20 and PB31 is the last pin in GPIO port B. The JZ4740, the X1000 and the X1830
35 - ingenic,jz4740-pinctrl
65 - ingenic,jz4740-gpio
/OK3568_Linux_fs/kernel/include/dt-bindings/clock/
H A Djz4740-cgu.h3 * This header provides clock numbers for the ingenic,jz4740-cgu DT binding.
8 * - muxes/dividers in the order they appear in the jz4740 programmers manual

1234