[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53afa92c-b32f-eff7-95a8-3fe12db5e8fd@gmail.com>
Date: Mon, 19 Oct 2020 16:30:17 +0200
From: Matthias Brugger <matthias.bgg@...il.com>
To: Fabien Parent <fparent@...libre.com>,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-pwm@...r.kernel.org
Cc: robh+dt@...nel.org, lee.jones@...aro.org,
u.kleine-koenig@...gutronix.de, thierry.reding@...il.com
Subject: Re: [PATCH 3/5] pwm: pwm-mediatek: Add MT8183 SoC support
On 19/10/2020 16:07, Fabien Parent wrote:
> Add PWM support for the MT8183 SoC
>
> Signed-off-by: Fabien Parent <fparent@...libre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@...il.com>
> ---
> drivers/pwm/pwm-mediatek.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
> index 108881619aea..9052b500b8f0 100644
> --- a/drivers/pwm/pwm-mediatek.c
> +++ b/drivers/pwm/pwm-mediatek.c
> @@ -314,6 +314,12 @@ static const struct pwm_mediatek_of_data mt7629_pwm_data = {
> .has_ck_26m_sel = false,
> };
>
> +static const struct pwm_mediatek_of_data mt8183_pwm_data = {
> + .num_pwms = 4,
> + .pwm45_fixup = false,
> + .has_ck_26m_sel = true,
> +};
> +
> static const struct pwm_mediatek_of_data mt8516_pwm_data = {
> .num_pwms = 5,
> .pwm45_fixup = false,
> @@ -326,6 +332,7 @@ static const struct of_device_id pwm_mediatek_of_match[] = {
> { .compatible = "mediatek,mt7623-pwm", .data = &mt7623_pwm_data },
> { .compatible = "mediatek,mt7628-pwm", .data = &mt7628_pwm_data },
> { .compatible = "mediatek,mt7629-pwm", .data = &mt7629_pwm_data },
> + { .compatible = "mediatek,mt8183-pwm", .data = &mt8183_pwm_data },
> { .compatible = "mediatek,mt8516-pwm", .data = &mt8516_pwm_data },
> { },
> };
>
Powered by blists - more mailing lists