On 04/07/2022 12:13, AngeloGioacchino Del Regno wrote:
> This is the first part for upstreaming Google's Cherry Tomato
> Chromebook (Acer Chromebook Spin 513): in this series, we introduce
> the devicetrees for the four revisions of this Chromebook and enable
> every controller and feature that can be added as per the current
> state of the main SoC devicetrees (mt8195.dtsi) and its PMIC
> devicetree (mt6359.dtsi).
>
> More parts will come as soon as more support will be added by
> MediaTek in the mt8195 devicetree.
>
Series applied, thanks!
> Note: This series will introduce a dtbs_check warning about a failure
> to match compatible for 'mediatek,mt6359': that's expected, as
> this is defined in devicetree/bindings/mfd/mt6397.txt (so there
> is no schema, yet).
>
> Changes in v2:
> - Added changes from Nìcolas' review
> - Changed board 'model' from 'MediaTek Tomato' to 'Acer Tomato'
>
> This series depends on the following fixes:
> [1]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220630110453.186526-1-angelogioacchino.delregno@collabora.com/
> [2]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220630122334.216903-1-angelogioacchino.delregno@collabora.com/
> [3]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220630131543.225554-1-angelogioacchino.delregno@collabora.com/
>
>
> And it depends on Nìcolas' dt-bindings patch for the [01/11] to
> apply cleanly (this is done to keep mediatek.yaml ordered):
> [4]: https://lore.kernel.org/all/20220629155956.1138955-2-nfraprado@collabora.com/
>
>
> AngeloGioacchino Del Regno (11):
> dt-bindings: arm: mediatek: Add MT8195 Cherry Tomato Chromebooks
> arm64: dts: mediatek: Introduce MT8195 Cherry platform's Tomato
> arm64: dts: mediatek: cherry: Add platform regulators layout and
> config
> arm64: dts: mediatek: cherry: Assign interrupt line to MT6359 PMIC
> arm64: dts: mediatek: cherry: Add support for internal eMMC storage
> arm64: dts: mediatek: cherry: Document gpios and add default pin
> config
> arm64: dts: mediatek: cherry: Enable I2C and SPI controllers
> arm64: dts: mediatek: cherry: Enable T-PHYs and USB XHCI controllers
> arm64: dts: mediatek: cherry: Enable MT6360 sub-pmic on I2C7
> arm64: dts: mediatek: cherry: Enable support for the SPI NOR flash
> arm64: dts: mediatek: cherry: Add I2C-HID touchscreen on I2C4
>
> .../devicetree/bindings/arm/mediatek.yaml | 13 +
> arch/arm64/boot/dts/mediatek/Makefile | 3 +
> .../dts/mediatek/mt8195-cherry-tomato-r1.dts | 15 +
> .../dts/mediatek/mt8195-cherry-tomato-r2.dts | 35 +
> .../dts/mediatek/mt8195-cherry-tomato-r3.dts | 36 +
> .../boot/dts/mediatek/mt8195-cherry.dtsi | 702 ++++++++++++++++++
> 6 files changed, 804 insertions(+)
> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts
> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts
> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts
> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
>