linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/12] Improve the MT8365 SoC and EVK board support
@ 2023-04-07 12:59 Alexandre Mergnat
  2023-04-07 12:59 ` [PATCH v5 01/12] arm64: defconfig: enable MT6357 regulator Alexandre Mergnat
                   ` (13 more replies)
  0 siblings, 14 replies; 37+ messages in thread
From: Alexandre Mergnat @ 2023-04-07 12:59 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Matthias Brugger, AngeloGioacchino Del Regno, Chaotian Jing,
	Ulf Hansson, Wenbin Mei, Linus Walleij, Zhiyong Tao,
	Bernhard Rosenkränzer
  Cc: linux-watchdog, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, linux-mmc, linux-gpio, Alexandre Bailon,
	Fabien Parent, Amjad Ouled-Ameur, Alexandre Mergnat,
	Krzysztof Kozlowski

This commits are based on the Fabien Parent <fparent@baylibre.com> work.

The purpose of this series is to add the following HWs / IPs support for
the mt8365-evk board:
- Watchdog
- Power Management Integrated Circuit "PMIC" wrapper
- MT6357 PMIC
- MultiMediaCard "MMC" & Secure Digital "SD" controller
- USB controller
- Ethernet MAC controller

Add CPU Freq & IDLE support for this board.

This series depends to anothers which add support for MT8365 EVK board
[1], add the MT8365 I2C support [2] (both are currently applied) and
finally the pinctrl binding cleanup [3].

=== Build:

To test this serie, cherry-pick patches from the dependent series ([1],[2],[3])
and the applied patches from this serie (documented in the "Changes" below).
Be carefull, the pinctrl serie [3] is rebased to linusw/linux-pinctrl,
cherry-pick will not be straightforward.
Finally, cherry-pick this serie.

You can also take my branch [4] which have all the needed patches
retrieved from the instructions above.

Use the arm64 defconfig to make the build.

Regards,
Alex

[1]: https://lore.kernel.org/all/20230309213501.794764-1-bero@baylibre.com/
[2]: https://lore.kernel.org/all/20221122-mt8365-i2c-support-v6-0-e1009c8afd53@baylibre.com/
[3]: https://lore.kernel.org/all/20230327-cleanup-pinctrl-binding-v3-0-6f56d5c7a8de@baylibre.com/
[4]: https://gitlab.baylibre.com/baylibre/mediatek/bsp/linux/-/commits/amergnat/i350-evk-board-support

Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
Changes in v5:
- Add patches to build the MT6357 regulator driver and MTK PMIC keys by default
- Remove "dt-bindings: pinctrl: mediatek,mt8365-pinctrl: add drive strength property"
  patch from this serie and add it to the pinctrl serie [3]
- Link to v4: https://lore.kernel.org/r/20230203-evk-board-support-v4-0-5cffe66a38c0@baylibre.com

Changes in v4:
- Remove v3 applied patch from the serie:
  - arm64: dts: mediatek: add ethernet support for mt8365 SoC
  - arm64: dts: mediatek: add mmc support for mt8365 SoC
  - arm64: dts: mediatek: add mt6357 device-tree
  - arm64: dts: mediatek: add pwrap support to mt8365 SoC
  - arm64: dts: mediatek: Increase the size BL31 reserved memory
- Drop "arm64: dts: mediatek: fix systimer properties" which is done [1]
- Fix style, typo and re-order properties.
- Use interrupts-extended for the PMIC node.
- Link to v3: https://lore.kernel.org/r/20230203-evk-board-support-v3-0-0003e80e0095@baylibre.com

Changes in v3:
- Remove v2 applied patch from the serie:
  - dt-bindings: mmc: mediatek,mtk-sd: add mt8365
- Add trailers and simply resend.
- Link to v2: https://lore.kernel.org/r/20230203-evk-board-support-v2-0-6ec7cdb10ccf@baylibre.com

---
Alexandre Mergnat (10):
      arm64: defconfig: enable MT6357 regulator
      arm64: defconfig: enable Mediatek PMIC key
      dt-bindings: watchdog: mediatek,mtk-wdt: add mt8365
      arm64: dts: mediatek: add watchdog support for mt8365 SoC
      arm64: dts: mediatek: add mt6357 PMIC support for  mt8365-evk
      arm64: dts: mediatek: add mmc support for mt8365-evk
      arm64: dts: mediatek: add usb controller support for mt8365-evk
      arm64: dts: mediatek: add ethernet support for mt8365-evk
      arm64: dts: mediatek: add OPP support for mt8365 SoC
      arm64: dts: mediatek: add cpufreq support for mt8365-evk

Amjad Ouled-Ameur (1):
      arm64: dts: mediatek: Add CPU Idle support

Fabien Parent (1):
      arm64: dts: mediatek: set vmc regulator as always on

 .../bindings/watchdog/mediatek,mtk-wdt.yaml        |   1 +
 arch/arm64/boot/dts/mediatek/mt8365-evk.dts        | 249 +++++++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8365.dtsi           | 142 ++++++++++++
 arch/arm64/configs/defconfig                       |   3 +
 4 files changed, 395 insertions(+)
---
base-commit: 4f2a499a344b36ebb325e610265452ea88541116
change-id: 20230203-evk-board-support-d5b7a839ed7b

Best regards,
-- 
Alexandre Mergnat <amergnat@baylibre.com>


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

end of thread, other threads:[~2023-04-16 15:47 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-07 12:59 [PATCH v5 00/12] Improve the MT8365 SoC and EVK board support Alexandre Mergnat
2023-04-07 12:59 ` [PATCH v5 01/12] arm64: defconfig: enable MT6357 regulator Alexandre Mergnat
2023-04-07 13:10   ` Alexandre Mergnat
2023-04-11  8:21   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 02/12] arm64: defconfig: enable Mediatek PMIC key Alexandre Mergnat
2023-04-07 13:10   ` Alexandre Mergnat
2023-04-11  8:21   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 03/12] dt-bindings: watchdog: mediatek,mtk-wdt: add mt8365 Alexandre Mergnat
2023-04-07 13:11   ` Alexandre Mergnat
2023-04-11 13:40     ` Rob Herring
2023-04-16 15:47   ` Guenter Roeck
2023-04-07 12:59 ` [PATCH v5 04/12] arm64: dts: mediatek: add watchdog support for mt8365 SoC Alexandre Mergnat
2023-04-07 13:11   ` Alexandre Mergnat
2023-04-07 12:59 ` [PATCH v5 05/12] arm64: dts: mediatek: add mt6357 PMIC support for mt8365-evk Alexandre Mergnat
2023-04-07 13:12   ` Alexandre Mergnat
2023-04-11  8:22   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 06/12] arm64: dts: mediatek: add mmc " Alexandre Mergnat
2023-04-07 13:12   ` Alexandre Mergnat
2023-04-11  8:22   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 07/12] arm64: dts: mediatek: set vmc regulator as always on amergnat
2023-04-07 13:13   ` Alexandre Mergnat
2023-04-11  8:23   ` AngeloGioacchino Del Regno
2023-04-11 11:17     ` Alexandre Mergnat
2023-04-07 12:59 ` [PATCH v5 08/12] arm64: dts: mediatek: add usb controller support for mt8365-evk Alexandre Mergnat
2023-04-07 13:13   ` Alexandre Mergnat
2023-04-11  8:24   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 09/12] arm64: dts: mediatek: add ethernet " Alexandre Mergnat
2023-04-07 13:13   ` Alexandre Mergnat
2023-04-07 12:59 ` [PATCH v5 10/12] arm64: dts: mediatek: add OPP support for mt8365 SoC Alexandre Mergnat
2023-04-07 13:14   ` Alexandre Mergnat
2023-04-11  8:24   ` AngeloGioacchino Del Regno
2023-04-07 12:59 ` [PATCH v5 11/12] arm64: dts: mediatek: add cpufreq support for mt8365-evk Alexandre Mergnat
2023-04-07 13:14   ` Alexandre Mergnat
2023-04-07 12:59 ` [PATCH v5 12/12] arm64: dts: mediatek: Add CPU Idle support amergnat
2023-04-07 13:14   ` Alexandre Mergnat
2023-04-07 13:08 ` [PATCH v5 00/12] Improve the MT8365 SoC and EVK board support Alexandre Mergnat
2023-04-07 17:50 ` Kevin Hilman

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