Searched +full:rk2928 +full:- +full:pwm (Results 1 – 5 of 5) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/pwm/pwm-rockchip.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Rockchip PWM controller10 - Heiko Stuebner <heiko@sntech.de>15 - const: rockchip,rk2928-pwm16 - const: rockchip,rk3288-pwm17 - const: rockchip,rk3328-pwm18 - const: rockchip,vop-pwm[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)7 #include <dt-bindings/interrupt-controller/irq.h>8 #include <dt-bindings/interrupt-controller/arm-gic.h>9 #include <dt-bindings/soc/rockchip,boot-mode.h>12 #address-cells = <1>;13 #size-cells = <1>;15 interrupt-parent = <&gic>;37 compatible = "fixed-clock";38 clock-frequency = <24000000>;39 #clock-cells = <0>;[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 #include <dt-bindings/gpio/gpio.h>4 #include <dt-bindings/interrupt-controller/irq.h>5 #include <dt-bindings/interrupt-controller/arm-gic.h>6 #include <dt-bindings/pinctrl/rockchip.h>7 #include <dt-bindings/clock/rk3036-cru.h>8 #include <dt-bindings/soc/rockchip,boot-mode.h>9 #include <dt-bindings/power/rk3036-power.h>12 #address-cells = <1>;13 #size-cells = <1>;[all …]
1 // SPDX-License-Identifier: GPL-2.0+6 #include <dt-bindings/clock/rk3128-cru.h>7 #include <dt-bindings/gpio/gpio.h>8 #include <dt-bindings/interrupt-controller/arm-gic.h>9 #include <dt-bindings/interrupt-controller/irq.h>10 #include <dt-bindings/pinctrl/rockchip.h>11 #include <dt-bindings/power/rk3128-power.h>15 interrupt-parent = <&gic>;16 #address-cells = <1>;17 #size-cells = <1>;[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * PWM driver for Rockchip SoCs15 #include <linux/pwm.h>60 struct pwm_device *pwm, in rockchip_pwm_get_state() argument64 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state()70 ret = clk_enable(pc->pclk); in rockchip_pwm_get_state()74 ret = clk_enable(pc->clk); in rockchip_pwm_get_state()78 clk_rate = clk_get_rate(pc->clk); in rockchip_pwm_get_state()80 tmp = readl_relaxed(pc->base + pc->data->regs.period); in rockchip_pwm_get_state()81 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state()[all …]