Message ID | 20230412112739.160376-1-angelogioacchino.delregno@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256743vqo; Wed, 12 Apr 2023 04:43:18 -0700 (PDT) X-Google-Smtp-Source: AKy350YYcoOgJg3SbZG51rsSlqreJNLPU8gCwWHeDbRi6eKlIpCLcDKFfEJcuu6Cwo9f7tBGW1Oh X-Received: by 2002:a17:907:3202:b0:94a:7c86:5580 with SMTP id xg2-20020a170907320200b0094a7c865580mr10320422ejb.47.1681299797780; Wed, 12 Apr 2023 04:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299797; cv=none; d=google.com; s=arc-20160816; b=0UaUG/YFqgHgpcO/Rqwnc+9AmKdHTjtjSEYzRYUuaP0AZuxeqjEUequKpUvCALOCtu kwXtuom8e8msYG0KK5zTARw1Aex0YQwKmjboX1uE29aTdFvdJO67+adQUtuaZzOOPpPP 0cWY/p6659z0iRBLSTPhAo6SMgaDjfGN/AZ4FvR6nQI3yber7E3SIPHqf8cKB29vr+hD tQx1u0qLCQbmyRBiKy0memW6IsuCOVRmWufe/VNHxuWdvnQKAFx4+ki2iYM7aGO2vZXB o3iwC0ysNvhhnr1estFhyfw7/D+ZWMU9gdchMPuixeddubDwNwCXHR5IlklIsSe6Ss6d fjwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hbUHEdiNM/ONap+G7xyD/H/eJJC/Q/CLoeYu2ZdRSj0=; b=nauUpxOAsq8Il7nq0RtFE3Uo9H6w+3MvYoLboEZrBg/+dw5/Kx+2Mi6Mzlw9fjf1Ea w6jYOYLH1d+XfzfBzX5OHvuDNgO0LbAlW5xIL9DnZ8PZqUPoeGQ17Q+CxHN+0idmr9/Y ysdYdOvhaMNS5dZAzwQDAQHBjncZbvoAcCoa70GkdT4NHEjH3kM6OuK2sTKbrBdJgFvh Fgk8RIvLPmRCbGa0OqU55UC8HcCd8E2XQmYNJdpw1NcSPNOg8MOCAV+fTEHuvSKTk6My aC4LjVsL69bvIqoNbVuEzcM28H9/vEvGc/nxCJ0EnD6DPu462CySUttAAMP8iu3gb1NC 6a8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BiBaGeFn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc38-20020a17090716a600b0094a6a7a2cfdsi4364922ejc.132.2023.04.12.04.42.54; Wed, 12 Apr 2023 04:43:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BiBaGeFn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230320AbjDLL2F (ORCPT <rfc822;peter110.wang@gmail.com> + 99 others); Wed, 12 Apr 2023 07:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjDLL2C (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 12 Apr 2023 07:28:02 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4451730; Wed, 12 Apr 2023 04:27:46 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id E9F0166031FD; Wed, 12 Apr 2023 12:27:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298865; bh=32UdFXijYBib4vR9joUGUAiEkWAou0hF5vRoluMMzmk=; h=From:To:Cc:Subject:Date:From; b=BiBaGeFnyTrcIxvJX6jmx3uPgTyhmYXutJUmtZYAcc439FhGgMtJWa0u9UEl5UIda GDZIZCJF1kGnqsFs21NB3AwPeD216mgM8jcj28XYHnggRV2M/t4GEnZLSzczsMnoZx QnxEalzaxf1jPZsAnbf+4WuTj5hpQBYgWqqR261FIlruszRUWgOgcT2oe80m/INuM6 7p9hjVjRvZiEGXq/4Odxo0hA0mWvxreaoKJe4Hz8HJ/MUOPntGD1+87uq/l/IbcO7c RItxu5syCydks3mijaUHvoh2SHNIoAyIvigQqLKZyejdfy2vwokLhMXHeyOyJkqHqp ui0QOYiDsGRZg== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 00/27] MediaTek Helio X10 - Mailbox, Display, MMC/SD/SDIO Date: Wed, 12 Apr 2023 13:27:12 +0200 Message-Id: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970616746138628?= X-GMAIL-MSGID: =?utf-8?q?1762970616746138628?= |
Series |
MediaTek Helio X10 - Mailbox, Display, MMC/SD/SDIO
|
|
Message
AngeloGioacchino Del Regno
April 12, 2023, 11:27 a.m. UTC
In this series I'm adding support for the DDC (display) block found in the MediaTek Helio X10, the MT6331 PMIC and its peripherals, and eMMC, MicroSD slot and SDIO. Support for the PMIC (...regulators!) is essential to get all of the mtk-sd hardware to work, especially the eMMC where vol switching is happening (3.3 -> 1.8V for DDR -> UHS timing switch!). As for the GCE mailbox, MMSYS and IOMMU... these were included in the previous series but couldn't make it due to the bindings not being reviewed in time (btw, thanks Matthias for reducing my backlog by partially picking the applicable commits in the previous one, that was highly appreciated!), so they're making yet another appearance in this series. Regarding the display blocks, they're tested on the Sony Xperia M5 with its internal panel (on DSI0) but the panel node is not included in this series because I have to cleanup the timings a bit before upstreaming it. ...and regarding everything else, it's all, again, tested on that same Xperia M5 smartphone :-) * Important note: * Devicetree commits of this series all depend on the dt-bindings commits of this same series. This series also depends on [1] for PMIC functionality, as all of the (older only?) MediaTek smartphone platforms have two PMICs, a main one and a companion one - in this specific case, it's MT6331+MT6332. [1]: https://lore.kernel.org/all/20230324094205.33266-1-angelogioacchino.delregno@collabora.com/ AngeloGioacchino Del Regno (27): dt-bindings: pwm: Add compatible for MediaTek MT6795 dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio X10 dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: aal: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: dsi: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: ovl: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: rdma: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: wdma: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: color: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: gamma: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: merge: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: split: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: ufoe: Add compatible for MediaTek MT6795 dt-bindings: display: mediatek: od: Add compatible for MediaTek MT6795 dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795 arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs arm64: dts: mediatek: mt6795: Add support for display blocks and DPI/DSI arm64: dts: mediatek: mt6795: Add tertiary PWM node arm64: dts: mediatek: mt6795: Add PMIC Wrapper node arm64: dts: mediatek: mt6795: Copyright header additions arm64: dts: mediatek: Add MT6331 PMIC devicetree arm64: dts: mediatek: mt6795-xperia-m5: Add MT6331 Combo PMIC arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer .../display/mediatek/mediatek,aal.yaml | 1 + .../display/mediatek/mediatek,color.yaml | 1 + .../display/mediatek/mediatek,dpi.yaml | 23 +- .../display/mediatek/mediatek,dsi.yaml | 19 +- .../display/mediatek/mediatek,gamma.yaml | 4 + .../display/mediatek/mediatek,merge.yaml | 3 + .../display/mediatek/mediatek,od.yaml | 3 + .../display/mediatek/mediatek,ovl.yaml | 4 + .../display/mediatek/mediatek,rdma.yaml | 4 + .../display/mediatek/mediatek,split.yaml | 3 + .../display/mediatek/mediatek,ufoe.yaml | 3 + .../display/mediatek/mediatek,wdma.yaml | 3 + .../mailbox/mediatek,gce-mailbox.yaml | 20 +- .../bindings/phy/mediatek,dsi-phy.yaml | 4 + .../bindings/pwm/mediatek,pwm-disp.yaml | 4 +- arch/arm64/boot/dts/mediatek/mt6331.dtsi | 284 ++++++++++++++ .../dts/mediatek/mt6795-sony-xperia-m5.dts | 121 ++++++ arch/arm64/boot/dts/mediatek/mt6795.dtsi | 365 ++++++++++++++++++ include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 ++++++ 19 files changed, 968 insertions(+), 25 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt6331.dtsi create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h