/openbmc/linux/drivers/pwm/ |
H A D | pwm-renesas-tpu.c | 72 struct tpu_device *tpu; member 94 void __iomem *base = tpd->tpu->base + TPU_CHANNEL_OFFSET in tpu_pwm_write() 105 dev_dbg(&tpd->tpu->pdev->dev, "%u: configuring pin as %s\n", in tpu_pwm_set_pin() 132 spin_lock_irqsave(&tpd->tpu->lock, flags); in tpu_pwm_start_stop() 133 value = ioread16(tpd->tpu->base + TPU_TSTR); in tpu_pwm_start_stop() 140 iowrite16(value, tpd->tpu->base + TPU_TSTR); in tpu_pwm_start_stop() 141 spin_unlock_irqrestore(&tpd->tpu->lock, flags); in tpu_pwm_start_stop() 150 pm_runtime_get_sync(&tpd->tpu->pdev->dev); in tpu_pwm_timer_start() 151 ret = clk_prepare_enable(tpd->tpu->clk); in tpu_pwm_timer_start() 153 dev_err(&tpd->tpu->pdev->dev, "cannot enable clock\n"); in tpu_pwm_timer_start() [all …]
|
H A D | Makefile | 47 obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o
|
H A D | Kconfig | 496 will be called pwm-renesas-tpu.
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a779g0-white-hawk-ard-audio-da7212.dtso | 84 tpu_clk: tpu-clk { 90 pwms = <&tpu 0 88 0>; /* 1000000000 / 88 =~ 11289600 */ 94 // pwms = <&tpu 0 81 0>; /* 1000000000 / 81 =~ 12288000 */ 112 function = "tpu"; 116 &tpu {
|
H A D | r8a77970.dtsi | 742 tpu: pwm@e6e80000 { label 743 compatible = "renesas,tpu-r8a77970", "renesas,tpu";
|
H A D | r8a77980.dtsi | 794 tpu: pwm@e6e80000 { label 795 compatible = "renesas,tpu-r8a77980", "renesas,tpu";
|
H A D | r8a779g0.dtsi | 1076 tpu: pwm@e6e80000 { label 1077 compatible = "renesas,tpu-r8a779g0", "renesas,tpu";
|
H A D | r8a779a0.dtsi | 1060 tpu: pwm@e6e80000 { label 1061 compatible = "renesas,tpu-r8a779a0", "renesas,tpu";
|
H A D | r8a77965.dtsi | 1283 tpu: pwm@e6e80000 { label 1284 compatible = "renesas,tpu-r8a77965", "renesas,tpu";
|
H A D | r8a77961.dtsi | 1420 tpu: pwm@e6e80000 { label 1421 compatible = "renesas,tpu-r8a77961", "renesas,tpu";
|
H A D | r8a77960.dtsi | 1420 tpu: pwm@e6e80000 { label 1421 compatible = "renesas,tpu-r8a7796", "renesas,tpu";
|
H A D | r8a77951.dtsi | 1549 tpu: pwm@e6e80000 { label 1550 compatible = "renesas,tpu-r8a7795", "renesas,tpu";
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7745-iwg22d-sodimm.dts | 58 pwms = <&tpu 3 5000000 PWM_POLARITY_INVERTED>; 233 function = "tpu"; 321 &tpu {
|
H A D | r8a7740-armadillo800eva.dts | 137 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; 284 &tpu {
|
H A D | r8a7742-iwg21d-q7.dts | 58 pwms = <&tpu 2 5000000 0>; 435 &tpu {
|
H A D | r8a7740.dtsi | 333 tpu: pwm@e6600000 { label 334 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
|
H A D | r8a7745.dtsi | 239 tpu: pwm@e60f0000 { label 240 compatible = "renesas,tpu-r8a7745", "renesas,tpu";
|
H A D | r8a7790.dtsi | 379 tpu: pwm@e60f0000 { label 380 compatible = "renesas,tpu-r8a7790", "renesas,tpu";
|
H A D | r8a7743.dtsi | 275 tpu: pwm@e60f0000 { label 276 compatible = "renesas,tpu-r8a7743", "renesas,tpu";
|
H A D | r8a7744.dtsi | 275 tpu: pwm@e60f0000 { label 276 compatible = "renesas,tpu-r8a7744", "renesas,tpu";
|
H A D | r8a7742.dtsi | 349 tpu: pwm@e60f0000 { label 350 compatible = "renesas,tpu-r8a7742", "renesas,tpu";
|
H A D | r8a7791.dtsi | 296 tpu: pwm@e60f0000 { label 297 compatible = "renesas,tpu-r8a7791", "renesas,tpu";
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pfc-r8a77980.c | 2501 SH_PFC_FUNCTION(tpu),
|
H A D | pfc-r8a779a0.c | 3159 SH_PFC_FUNCTION(tpu),
|
H A D | pfc-r8a7794.c | 4622 SH_PFC_FUNCTION(tpu),
|