linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Fabien Parent <fparent@baylibre.com>,
	linux-mediatek@lists.infradead.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-pwm@vger.kernel.org
Cc: thierry.reding@gmail.com, robh+dt@kernel.org,
	lee.jones@linaro.org, u.kleine-koenig@pengutronix.de
Subject: Re: [PATCH 3/5] pwm: pwm-mediatek: Add MT8183 SoC support
Date: Mon, 19 Oct 2020 16:30:17 +0200	[thread overview]
Message-ID: <53afa92c-b32f-eff7-95a8-3fe12db5e8fd@gmail.com> (raw)
In-Reply-To: <20201019140705.1518822-4-fparent@baylibre.com>



On 19/10/2020 16:07, Fabien Parent wrote:
> Add PWM support for the MT8183 SoC
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.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 },
>   	{ },
>   };
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-10-19 14:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-19 14:07 [PATCH 0/5] Add PWM support for MT8183 EVB Fabien Parent
2020-10-19 14:07 ` [PATCH 1/5] dt-bindings: pwm: pwm-mediatek: Add documentation for MT8183 SoC Fabien Parent
2020-10-19 14:31   ` Matthias Brugger
2020-10-26 13:38   ` Rob Herring
2020-10-19 14:07 ` [PATCH 2/5] pwm: pwm-mediatek: always use bus clock Fabien Parent
2020-10-19 14:27   ` Matthias Brugger
2020-10-19 14:07 ` [PATCH 3/5] pwm: pwm-mediatek: Add MT8183 SoC support Fabien Parent
2020-10-19 14:30   ` Matthias Brugger [this message]
2020-10-19 14:07 ` [PATCH 4/5] arm64: dts: mediatek: mt8183: add pwm node Fabien Parent
2020-10-19 14:07 ` [PATCH 5/5] arm64: dts: mediatek: mt8183-evb: add PWM support Fabien Parent
2020-11-11 20:27 ` [PATCH 0/5] Add PWM support for MT8183 EVB Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53afa92c-b32f-eff7-95a8-3fe12db5e8fd@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fparent@baylibre.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).