| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | mxs-pwm.yaml | 1 # 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> 11 - Anson Huang <anson.huang@nxp.com> 16 - fsl,imx23-pwm 21 "#pwm-cells": 24 fsl,pwm-number: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pwm/ |
| D | mxs-pwm.yaml | 1 # 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> 11 - Anson Huang <anson.huang@nxp.com> 14 - $ref: pwm.yaml# 19 - fsl,imx23-pwm 24 "#pwm-cells": [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx23.dtsi | 1 // 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 …]
|
| D | imx23-evk.dts | 1 // 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 …]
|
| D | imx23-xfi3.dts | 2 * 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"; 59 compatible = "fsl,imx23-mmc"; 60 pinctrl-names = "default"; 61 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; 62 bus-width = <4>; [all …]
|
| D | imx23-sansa.dts | 2 * 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"; 60 compatible = "fsl,imx23-mmc"; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; 63 bus-width = <4>; [all …]
|
| D | imx28.dtsi | 1 // 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 …]
|
| D | imx6sll.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright 2017-2018 NXP. 8 #include <dt-bindings/clock/imx6sll-clock.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include "imx6sll-pinfunc.h" 14 #address-cells = <1>; 15 #size-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; [all …]
|
| D | imx6ul.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/clock/imx6ul-clock.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include "imx6ul-pinfunc.h" 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 57 #address-cells = <1>; [all …]
|
| D | imx6sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6sl-pinfunc.h" 7 #include <dt-bindings/clock/imx6sl-clock.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
| D | imx6sx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/clock/imx6sx-clock.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include "imx6sx-pinfunc.h" 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 60 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/mxs/ |
| D | imx23.dtsi | 1 // 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 …]
|
| D | imx23-evk.dts | 1 // 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 …]
|
| D | imx23-xfi3.dts | 2 * 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"; 59 compatible = "fsl,imx23-mmc"; 60 pinctrl-names = "default"; 61 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; 62 bus-width = <4>; [all …]
|
| D | imx23-sansa.dts | 2 * 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"; 60 compatible = "fsl,imx23-mmc"; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; 63 bus-width = <4>; [all …]
|
| D | imx28.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | imx23-clock.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | imx23-clock.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/drivers/clk/mxs/ |
| D | clk-imx23.c | 1 // 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);
|
| /kernel/linux/linux-5.10/drivers/clk/mxs/ |
| D | clk-imx23.c | 1 // 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);
|
| /kernel/linux/linux-6.6/drivers/pwm/ |
| D | pwm-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/pwm.h> 47 static int mxs_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in mxs_pwm_apply() argument 58 * If the PWM channel is disabled, make sure to turn on the in mxs_pwm_apply() 62 if (!pwm_is_enabled(pwm)) { in mxs_pwm_apply() 63 ret = clk_prepare_enable(mxs->clk); in mxs_pwm_apply() 68 if (!state->enabled && pwm_is_enabled(pwm)) in mxs_pwm_apply() 69 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + CLR); in mxs_pwm_apply() 71 rate = clk_get_rate(mxs->clk); in mxs_pwm_apply() 74 c = c * state->period; in mxs_pwm_apply() [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/pwm.h> 47 static int mxs_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in mxs_pwm_apply() argument 58 * If the PWM channel is disabled, make sure to turn on the in mxs_pwm_apply() 62 if (!pwm_is_enabled(pwm)) { in mxs_pwm_apply() 63 ret = clk_prepare_enable(mxs->clk); in mxs_pwm_apply() 68 if (!state->enabled && pwm_is_enabled(pwm)) in mxs_pwm_apply() 69 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + CLR); in mxs_pwm_apply() 71 rate = clk_get_rate(mxs->clk); in mxs_pwm_apply() 74 c = c * state->period; in mxs_pwm_apply() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6sll.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright 2017-2018 NXP. 8 #include <dt-bindings/clock/imx6sll-clock.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include "imx6sll-pinfunc.h" 14 #address-cells = <1>; 15 #size-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; [all …]
|
| D | imx6ul.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/clock/imx6ul-clock.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include "imx6ul-pinfunc.h" 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 57 #address-cells = <1>; [all …]
|
| D | imx6sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6sl-pinfunc.h" 7 #include <dt-bindings/clock/imx6sl-clock.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|