1 From 8bb576d8640fdf896650a4d4a1b2e60254d75eb2 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sun, 6 Jun 2021 10:56:25 -0500
4 Subject: [PATCH 062/117] pwm: sun8i-v536: Add support for the Allwinner D1
6 Signed-off-by: Samuel Holland <samuel@sholland.org>
8 drivers/pwm/pwm-sun8i-v536.c | 7 +++++++
9 1 file changed, 7 insertions(+)
11 --- a/drivers/pwm/pwm-sun8i-v536.c
12 +++ b/drivers/pwm/pwm-sun8i-v536.c
13 @@ -285,6 +285,10 @@ static const struct sun8i_pwm_data sun8i
17 +static const struct sun8i_pwm_data sun20i_pwm_data_c8 = {
21 static const struct sun8i_pwm_data sun50i_pwm_data_c16 = {
24 @@ -294,6 +298,9 @@ static const struct of_device_id sun8i_p
25 .compatible = "allwinner,sun8i-v536-pwm",
26 .data = &sun8i_pwm_data_c9,
28 + .compatible = "allwinner,sun20i-d1-pwm",
29 + .data = &sun20i_pwm_data_c8,
31 .compatible = "allwinner,sun50i-r818-pwm",
32 .data = &sun50i_pwm_data_c16,