Home
last modified time | relevance | path

Searched refs:vt8500 (Results 1 – 10 of 10) sorted by relevance

/drivers/pwm/
Dpwm-vt8500.c67 static inline void pwm_busy_wait(struct vt8500_chip *vt8500, int nr, u8 bitmask) in pwm_busy_wait() argument
72 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in pwm_busy_wait()
76 dev_warn(vt8500->chip.dev, "Waiting for status bits 0x%x to clear timed out\n", in pwm_busy_wait()
83 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); in vt8500_pwm_config() local
89 err = clk_enable(vt8500->clk); in vt8500_pwm_config()
95 c = clk_get_rate(vt8500->clk); in vt8500_pwm_config()
108 clk_disable(vt8500->clk); in vt8500_pwm_config()
116 writel(prescale, vt8500->base + REG_SCALAR(pwm->hwpwm)); in vt8500_pwm_config()
117 pwm_busy_wait(vt8500, pwm->hwpwm, STATUS_SCALAR_UPDATE); in vt8500_pwm_config()
119 writel(pv, vt8500->base + REG_PERIOD(pwm->hwpwm)); in vt8500_pwm_config()
[all …]
DMakefile43 obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o
DKconfig428 tristate "vt8500 PWM support"
431 Generic PWM framework driver for vt8500.
434 will be called pwm-vt8500.
/drivers/pinctrl/vt8500/
DMakefile4 obj-$(CONFIG_PINCTRL_VT8500) += pinctrl-vt8500.o
/drivers/clocksource/
Dvt8500_timer.c159 CLOCKSOURCE_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init);
/drivers/pinctrl/
DMakefile55 obj-$(CONFIG_ARCH_VT8500) += vt8500/
DKconfig262 source "drivers/pinctrl/vt8500/Kconfig"
/drivers/clk/
DMakefile47 obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
/drivers/irqchip/
DMakefile39 obj-$(CONFIG_ARCH_VT8500) += irq-vt8500.o
/drivers/rtc/
DMakefile158 obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o