On Wed, 15 Jan 2025 11:29:01 +0100, Louis-Alexis Eyraud wrote: > This patchset adds the basic support of the Mediatek Genio 510 EVK > board, based on the Mediatek MT8370 SoC. > > It adds a device-tree file for the board (mt8370-genio-510-evk.dtb) > and an include file for the SoC (mt8370.dtsi), in order to be able to > boot. As the board is very close to the Genio 700 EVK board, an include file > (mt8390-genio-common.dtsi) is also created to factorize the common > definitions. > > The Genio 510 EVK has following features: > - MT8370 SoC > - MT6365 PMIC > - MT6319 Buck IC > - 4GB LPDDR4X > - 64GB eMMC 5.1 > - 12V DC Jack > - Micro SD card slot > - Push Button x 4 (Power, Reset, Download and Home Key) > - LED x 4 (Power, Reset, System on and Charging Status) > - USB Device Port x 1 (Micro USB Connector) > - USB Host Port x 1 (Type-C USB Connector) > - 3.5mm Earphone Jack x 1 (with Microphone Input) > - 3.5mm Line Out Audio Jack x 1 > - Analog Microphone x 1 > - Digital Microphone x 2 > - Gigabit Ethernet with RJ45 connector > - HDMI 2.0 TX port with Type A HDMI connector > - eDP port > - 3x UART with serial-to-usb converters and micro USB connectors > - M.2 Slot x 2 > - I2C Capacitive Touch Pad > - 4-Lane DSI x 2 > - 4-Data Lane CSI x 2 > - I2S Pin header > - 40-Pin 2.54mm Pin Header x 1 > > Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx> > --- > Changes in v2: > - Reword "dt-bindings: arm: mediatek: add mt8370-evk board" commit > message to add details on MT8370 SoC and links to MT8188 and MT8390 > - Add note about gpu support in "arm64: dts: mediatek: add support for > MT8370 SoC" commit message > - Split "arm64: dts: mediatek: add device-tree for Genio 510 EVK board" > commit in two, as requested by AngeloGioacchino Del Regno > - Link to v1: https://lore.kernel.org/r/20250114-dts_mt8370-genio-510-v1-0-8517ee0fdbe8@xxxxxxxxxxxxx > > --- > Louis-Alexis Eyraud (4): > dt-bindings: arm: mediatek: add mt8370-evk board > arm64: dts: mediatek: add support for MT8370 SoC > arm64: dts: mediatek: mt8390-genio-700-evk: Move common parts to dtsi > arm64: dts: mediatek: add device-tree for Genio 510 EVK board > > .../devicetree/bindings/arm/mediatek.yaml | 5 + > arch/arm64/boot/dts/mediatek/Makefile | 1 + > arch/arm64/boot/dts/mediatek/mt8188.dtsi | 8 +- > .../boot/dts/mediatek/mt8370-genio-510-evk.dts | 19 + > arch/arm64/boot/dts/mediatek/mt8370.dtsi | 64 ++ > .../boot/dts/mediatek/mt8390-genio-700-evk.dts | 1033 +------------------ > .../boot/dts/mediatek/mt8390-genio-common.dtsi | 1040 ++++++++++++++++++++ > 7 files changed, 1134 insertions(+), 1036 deletions(-) > --- > base-commit: 37136bf5c3a6f6b686d74f41837a6406bec6b7bc > change-id: 20250113-dts_mt8370-genio-510-3560b8010ba9 > > Best regards, > -- > Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx> > > > My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/mediatek/' for 20250115-dts_mt8370-genio-510-v2-0-fc9b01d08834@xxxxxxxxxxxxx: arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: pinctrl@10005000: 'pcie-default' does not match any of the regexes: '-pins$', 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: pmic: regulators: 'compatible' is a required property from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml# arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: pmic: '#sound-dai-cells', 'mt6359codec', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml# arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: mailbox@10320000: 'clock-names' is a required property from schema $id: http://devicetree.org/schemas/mailbox/mediatek,gce-mailbox.yaml# arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: mailbox@10330000: 'clock-names' is a required property from schema $id: http://devicetree.org/schemas/mailbox/mediatek,gce-mailbox.yaml# arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: jpeg-decoder@1a040000: iommus: [[123, 685], [123, 686], [123, 690], [123, 691], [123, 692], [123, 693]] is too long from schema $id: http://devicetree.org/schemas/media/mediatek-jpeg-decoder.yaml# arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku3.dtb: mailbox@10330000: 'clock-names' is a required property from schema $id: http://devicetree.org/schemas/mailbox/mediatek,gce-mailbox.yaml#