devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Support PWM on MediaTek MT7981
@ 2023-04-20 23:22 Daniel Golle
  2023-04-20 23:22 ` [PATCH v3 1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible Daniel Golle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Golle @ 2023-04-20 23:22 UTC (permalink / raw)
  To: devicetree, linux-pwm, linux-mediatek, linux-arm-kernel,
	linux-kernel, Rob Herring, Krzysztof Kozlowski, Thierry Reding,
	Uwe Kleine-König, Matthias Brugger,
	AngeloGioacchino Del Regno, John Crispin

Add support for PWM on the MediaTek MT7981 to pwm-mediatek.c as well
as new mediatek,mt7981-pwm compatible string to the existing bindings.

Changes since v2:
 * improve commit message, adding that alphabetic order is restored

Changes since v1:
 * use pointer to reg_offset instead of u8 reg_ver and if-else

Daniel Golle (2):
  dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible
  pwm: mediatek: Add support for MT7981

 .../bindings/pwm/mediatek,mt2712-pwm.yaml     |  1 +
 drivers/pwm/pwm-mediatek.c                    | 39 +++++++++++++++----
 2 files changed, 32 insertions(+), 8 deletions(-)


base-commit: 44bf136283e567b2b62653be7630e7511da41da2
-- 
2.40.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v3 1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible
  2023-04-20 23:22 [PATCH v3 0/2] Support PWM on MediaTek MT7981 Daniel Golle
@ 2023-04-20 23:22 ` Daniel Golle
  2023-05-16  6:50 ` [PATCH v3 0/2] Support PWM on MediaTek MT7981 Uwe Kleine-König
  2023-06-23 14:51 ` Thierry Reding
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Golle @ 2023-04-20 23:22 UTC (permalink / raw)
  To: devicetree, linux-pwm, linux-mediatek, linux-arm-kernel,
	linux-kernel, Rob Herring, Krzysztof Kozlowski, Thierry Reding,
	Uwe Kleine-König, Matthias Brugger,
	AngeloGioacchino Del Regno, John Crispin

Add compatible string for the PWM unit found of the MediaTek MT7981 SoC.
This is in preparation to adding support in the pwm-mediatek.c driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/pwm/mediatek,mt2712-pwm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pwm/mediatek,mt2712-pwm.yaml b/Documentation/devicetree/bindings/pwm/mediatek,mt2712-pwm.yaml
index 8e176ba7a525f..0fbe8a6469eb2 100644
--- a/Documentation/devicetree/bindings/pwm/mediatek,mt2712-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/mediatek,mt2712-pwm.yaml
@@ -22,6 +22,7 @@ properties:
           - mediatek,mt7623-pwm
           - mediatek,mt7628-pwm
           - mediatek,mt7629-pwm
+          - mediatek,mt7981-pwm
           - mediatek,mt7986-pwm
           - mediatek,mt8183-pwm
           - mediatek,mt8365-pwm
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] Support PWM on MediaTek MT7981
  2023-04-20 23:22 [PATCH v3 0/2] Support PWM on MediaTek MT7981 Daniel Golle
  2023-04-20 23:22 ` [PATCH v3 1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible Daniel Golle
@ 2023-05-16  6:50 ` Uwe Kleine-König
  2023-06-23 14:51 ` Thierry Reding
  2 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2023-05-16  6:50 UTC (permalink / raw)
  To: Daniel Golle
  Cc: devicetree, linux-pwm, linux-mediatek, linux-arm-kernel,
	linux-kernel, Rob Herring, Krzysztof Kozlowski, Thierry Reding,
	Matthias Brugger, AngeloGioacchino Del Regno, John Crispin

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

Hello,

On Fri, Apr 21, 2023 at 12:22:20AM +0100, Daniel Golle wrote:
> Add support for PWM on the MediaTek MT7981 to pwm-mediatek.c as well
> as new mediatek,mt7981-pwm compatible string to the existing bindings.
> 
> Changes since v2:
>  * improve commit message, adding that alphabetic order is restored
> 
> Changes since v1:
>  * use pointer to reg_offset instead of u8 reg_ver and if-else
> 
> Daniel Golle (2):
>   dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible
>   pwm: mediatek: Add support for MT7981
> 
>  .../bindings/pwm/mediatek,mt2712-pwm.yaml     |  1 +
>  drivers/pwm/pwm-mediatek.c                    | 39 +++++++++++++++----
>  2 files changed, 32 insertions(+), 8 deletions(-)

whole series looks good to me,

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] Support PWM on MediaTek MT7981
  2023-04-20 23:22 [PATCH v3 0/2] Support PWM on MediaTek MT7981 Daniel Golle
  2023-04-20 23:22 ` [PATCH v3 1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible Daniel Golle
  2023-05-16  6:50 ` [PATCH v3 0/2] Support PWM on MediaTek MT7981 Uwe Kleine-König
@ 2023-06-23 14:51 ` Thierry Reding
  2 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2023-06-23 14:51 UTC (permalink / raw)
  To: devicetree, linux-pwm, linux-mediatek, linux-arm-kernel,
	linux-kernel, Rob Herring, Krzysztof Kozlowski,
	Uwe Kleine-König, Matthias Brugger,
	AngeloGioacchino Del Regno, John Crispin, Daniel Golle


On Fri, 21 Apr 2023 00:22:20 +0100, Daniel Golle wrote:
> Add support for PWM on the MediaTek MT7981 to pwm-mediatek.c as well
> as new mediatek,mt7981-pwm compatible string to the existing bindings.
> 
> Changes since v2:
>  * improve commit message, adding that alphabetic order is restored
> 
> Changes since v1:
>  * use pointer to reg_offset instead of u8 reg_ver and if-else
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible
      commit: 88c66e018aa8b5a15d7fdba9908c01260c657bff
[2/2] pwm: mediatek: Add support for MT7981
      commit: 967da67a745fb73fd0fc7aa61fd197b76fceb273

Best regards,
-- 
Thierry Reding <thierry.reding@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-23 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-20 23:22 [PATCH v3 0/2] Support PWM on MediaTek MT7981 Daniel Golle
2023-04-20 23:22 ` [PATCH v3 1/2] dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible Daniel Golle
2023-05-16  6:50 ` [PATCH v3 0/2] Support PWM on MediaTek MT7981 Uwe Kleine-König
2023-06-23 14:51 ` Thierry Reding

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).