Home
last modified time | relevance | path

Searched +full:imx23 +full:- +full:pwm (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/devicetree/bindings/pwm/
H A Dmxs-pwm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MXS PWM controller
10 - Shawn Guo <shawnguo@kernel.org>
13 - $ref: pwm.yaml#
18 - const: fsl,imx23-pwm
19 - items:
20 - enum:
[all …]
/linux/arch/arm/boot/dts/nxp/mxs/
H A Dimx23.dtsi1 // SPDX-License-Identifier: GPL-2.0+
5 #include "imx23-pinfunc.h"
8 #address-cells = <1>;
9 #size-cells = <1>;
11 interrupt-parent = <&icoll>;
14 * pre-existing /chosen node to be available to insert the
31 #address-cells = <1>;
32 #size-cells = <0>;
35 compatible = "arm,arm926ej-s";
42 compatible = "simple-bus";
[all …]
H A Dimx23-evk.dts1 // SPDX-License-Identifier: GPL-2.0+
5 /dts-v1/;
6 #include "imx23.dtsi"
10 compatible = "fsl,imx23-evk", "fsl,imx23";
17 reg_vddio_sd0: regulator-vddio-sd0 {
18 compatible = "regulator-fixed";
19 regulator-name = "vddio-sd0";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
25 reg_lcd_3v3: regulator-lcd-3v3 {
[all …]
H A Dimx23-xfi3.dts2 * Copyright (C) 2013-2016 Marek Vasut <marek.vasut@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include "imx23.dtsi"
48 model = "Creative ZEN X-Fi3";
49 compatible = "creative,x-fi3", "fsl,imx23";
57 apbh-bus@80000000 {
59 compatible = "fsl,imx23-mmc";
60 pinctrl-names = "default";
61 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
[all …]
H A Dimx23-sansa.dts2 * Copyright (C) 2013-2016 Marek Vasut <marek.vasut@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
45 #include <dt-bindings/gpio/gpio.h>
46 #include "imx23.dtsi"
50 compatible = "sandisk,sansa_fuze_plus", "fsl,imx23";
58 apbh-bus@80000000 {
60 compatible = "fsl,imx23-mmc";
61 pinctrl-names = "default";
62 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
[all …]
H A Dimx28.dtsi1 // SPDX-License-Identifier: GPL-2.0+
5 #include <dt-bindings/gpio/gpio.h>
6 #include "imx28-pinfunc.h"
9 #address-cells = <1>;
10 #size-cells = <1>;
12 interrupt-parent = <&icoll>;
15 * pre-existing /chosen node to be available to insert the
42 #address-cells = <1>;
43 #size-cells = <0>;
46 compatible = "arm,arm926ej-s";
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dimx23-clock.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/imx23-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
18 ------------------
49 pwm 30
64 const: fsl,imx23-clkctrl
69 '#clock-cells':
73 - compatible
[all …]
/linux/drivers/clk/mxs/
H A Dclk-imx23.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include <linux/clk-provider.h>
85 clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, enumerator
102 dcnp = of_find_compatible_node(NULL, NULL, "fsl,imx23-digctl"); in mx23_clocks_init()
142 clks[pwm] = mxs_clk_gate("pwm", "ref_xtal", XTAL, 29); in mx23_clocks_init()
170 CLK_OF_DECLARE(imx23_clkctrl, "fsl,imx23-clkctrl", mx23_clocks_init);
/linux/drivers/pwm/
H A Dpwm-mxs.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <linux/pwm.h>
49 static int mxs_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in mxs_pwm_apply() argument
60 * If the PWM channel is disabled, make sure to turn on the in mxs_pwm_apply()
64 if (!pwm_is_enabled(pwm)) { in mxs_pwm_apply()
65 ret = clk_prepare_enable(mxs->clk); in mxs_pwm_apply()
70 if (!state->enabled && pwm_is_enabled(pwm)) in mxs_pwm_apply()
71 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + CLR); in mxs_pwm_apply()
73 rate = clk_get_rate(mxs->clk); in mxs_pwm_apply()
76 c = c * state->period; in mxs_pwm_apply()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/imx6qdl-clock.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 * pre-existing /chosen node to be available to insert the
58 compatible = "fixed-clock";
59 #clock-cells = <0>;
60 clock-frequency = <32768>;
[all …]