pwm: tegra: Add support for Tegra186
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 22 Jun 2016 11:47:23 +0000 (17:17 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 10:49:34 +0000 (12:49 +0200)
commite9be88a2f06b89a56499c9bfe494ddc4e5f55f46
tree545196b30940c1bf26bc59ec654eb516a0e01164
parent57dfd17edaf353d0880bea494be05e8cda82ebc0
pwm: tegra: Add support for Tegra186

Tegra186 has multiple PWM controllers with only one output instead of
one controller with four outputs in earlier SoC generations.

Add support for Tegra186 and detect the number of PWM outputs using
device tree match data.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-tegra.c