Lines Matching +full:tegra20 +full:- +full:pwm
1 // SPDX-License-Identifier: GPL-2.0+
8 #include <pwm.h>
11 #include <asm/arch/pwm.h>
21 struct pwm_ctlr *regs = priv->regs; in tegra_pwm_set_config()
26 return -EINVAL; in tegra_pwm_set_config()
27 debug("%s: Configure '%s' channel %u\n", __func__, dev->name, channel); in tegra_pwm_set_config()
44 struct pwm_ctlr *regs = priv->regs; in tegra_pwm_set_enable()
47 return -EINVAL; in tegra_pwm_set_enable()
48 debug("%s: Enable '%s' channel %u\n", __func__, dev->name, channel); in tegra_pwm_set_enable()
59 priv->regs = (struct pwm_ctlr *)dev_read_addr(dev); in tegra_pwm_ofdata_to_platdata()
70 { .compatible = "nvidia,tegra124-pwm" },
71 { .compatible = "nvidia,tegra20-pwm" },