Home
last modified time | relevance | path

Searched refs:tpu (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/drivers/pwm/
H A Dpwm-renesas-tpu.c72 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 DMakefile47 obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o
H A DKconfig496 will be called pwm-renesas-tpu.
/openbmc/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779g0-white-hawk-ard-audio-da7212.dtso84 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 Dr8a77970.dtsi742 tpu: pwm@e6e80000 { label
743 compatible = "renesas,tpu-r8a77970", "renesas,tpu";
H A Dr8a77980.dtsi794 tpu: pwm@e6e80000 { label
795 compatible = "renesas,tpu-r8a77980", "renesas,tpu";
H A Dr8a779g0.dtsi1076 tpu: pwm@e6e80000 { label
1077 compatible = "renesas,tpu-r8a779g0", "renesas,tpu";
H A Dr8a779a0.dtsi1060 tpu: pwm@e6e80000 { label
1061 compatible = "renesas,tpu-r8a779a0", "renesas,tpu";
H A Dr8a77965.dtsi1283 tpu: pwm@e6e80000 { label
1284 compatible = "renesas,tpu-r8a77965", "renesas,tpu";
H A Dr8a77961.dtsi1420 tpu: pwm@e6e80000 { label
1421 compatible = "renesas,tpu-r8a77961", "renesas,tpu";
H A Dr8a77960.dtsi1420 tpu: pwm@e6e80000 { label
1421 compatible = "renesas,tpu-r8a7796", "renesas,tpu";
H A Dr8a77951.dtsi1549 tpu: pwm@e6e80000 { label
1550 compatible = "renesas,tpu-r8a7795", "renesas,tpu";
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dr8a7745-iwg22d-sodimm.dts58 pwms = <&tpu 3 5000000 PWM_POLARITY_INVERTED>;
233 function = "tpu";
321 &tpu {
H A Dr8a7740-armadillo800eva.dts137 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
284 &tpu {
H A Dr8a7742-iwg21d-q7.dts58 pwms = <&tpu 2 5000000 0>;
435 &tpu {
H A Dr8a7740.dtsi333 tpu: pwm@e6600000 { label
334 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
H A Dr8a7745.dtsi239 tpu: pwm@e60f0000 { label
240 compatible = "renesas,tpu-r8a7745", "renesas,tpu";
H A Dr8a7790.dtsi379 tpu: pwm@e60f0000 { label
380 compatible = "renesas,tpu-r8a7790", "renesas,tpu";
H A Dr8a7743.dtsi275 tpu: pwm@e60f0000 { label
276 compatible = "renesas,tpu-r8a7743", "renesas,tpu";
H A Dr8a7744.dtsi275 tpu: pwm@e60f0000 { label
276 compatible = "renesas,tpu-r8a7744", "renesas,tpu";
H A Dr8a7742.dtsi349 tpu: pwm@e60f0000 { label
350 compatible = "renesas,tpu-r8a7742", "renesas,tpu";
H A Dr8a7791.dtsi296 tpu: pwm@e60f0000 { label
297 compatible = "renesas,tpu-r8a7791", "renesas,tpu";
/openbmc/linux/drivers/pinctrl/renesas/
H A Dpfc-r8a77980.c2501 SH_PFC_FUNCTION(tpu),
H A Dpfc-r8a779a0.c3159 SH_PFC_FUNCTION(tpu),
H A Dpfc-r8a7794.c4622 SH_PFC_FUNCTION(tpu),

12