Message ID | 20230327083647.22017-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 b10csp1359026vqo; Mon, 27 Mar 2023 01:42:28 -0700 (PDT) X-Google-Smtp-Source: AKy350ZbxmIC4BzDObNtj++jVaF71rVHDZ5Zpvz0nDXoVXO3A2s26izMY3l9tgKl9jzwoK/MgT1T X-Received: by 2002:a17:902:e744:b0:1a1:cc0c:a5c2 with SMTP id p4-20020a170902e74400b001a1cc0ca5c2mr12152989plf.62.1679906548706; Mon, 27 Mar 2023 01:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679906548; cv=none; d=google.com; s=arc-20160816; b=MSO/4mg1T7u/CMDcwo5XEtr61OAziB/CmACEcqGCA54j/L2CiJJ5tbzu5woZ762wYP XYAPYQ20qv8MQp+hAiXcfH+zy1CD33y/l6lZzc+VQ1U9LCwipmYMbwE6G1JATQC91Wd9 e6S/HcxSPTHoXvqlU7wClRyrEnC51rgHKKiQXg6JUjvXSArpTp3a79l9415dPbxOEHgl wLzCzuQ283J/0trP/Z+UYeazYekGk5k0pK13yTWkXllgU7S2qHjvJd68MxaAueHxZoHZ ymoFPlaap3on13OrwvX9xEBzMnqNiM6SGipZ4z10iMOc2wWNCgHa7+I5qBJo0CYwRdUQ zzNQ== 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=DjhKkbWyZb/pcUplnUVgrPqYJx7Ddkwbwq9OQMADxaY=; b=oIFQbMcd4QE1KcucnLecFEYwo+tyFlIiQDSC00gD5nslqnjiZ3Wlx855Xc4UqNhXwi NyIPfoaxob4dk8NUbuBDxSTSm674VTo0dvXi01V1iIZYBbDG3TsD+IkmIBrodwNAS/ik 4A0BDk+RYsXfsqEOwBrwgloOqISSDbMQHClbjCJ2tmVmTQxn8N4kDhzDjE0ux7+2i1LW hAhZTQ0/6FFykQ5mn2sDKQ4tkmpQxWf9mYL2Re3NCv4eQvnhADy/lnVC7RhHez7auW6t E+bbsyPB7tvvjq9GL4TA/zRQp0UaAFeVeyNGWvzpGuYgOM8HNWjvcfy+qABcPNaUl78B r2DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Hq+VWeyI; 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 bi7-20020a170902bf0700b001a20c983d1csi8762818plb.573.2023.03.27.01.42.12; Mon, 27 Mar 2023 01:42:28 -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=Hq+VWeyI; 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 S232959AbjC0Ikv (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Mon, 27 Mar 2023 04:40:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233066AbjC0Ikd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 04:40:33 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7972E9; Mon, 27 Mar 2023 01:36:54 -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 8D1D96601F5E; Mon, 27 Mar 2023 09:36:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679906213; bh=ubB9ozQrHtmRAC/h3ra8X8vZIkv037PoS7C0Tn1POaQ=; h=From:To:Cc:Subject:Date:From; b=Hq+VWeyIHZac38b5D8jvwU8JFH3CHhnwWviZEWONgG6Uruu8oMv1HfRHoPOpRYmSz i+PWmyfzx78Pv68NqDyXOZGWRoSMDui9gyPlzE0YSZOgmOxzfFMTNe7fBiKVZRFjIC P4KKZMkXf2pMROJHkheZoy0t3ay+OhA5lN7/UMDKo/7z54oztM8OxH3f2Z2G3jM/6U V7Q12gZ0cBhjpW0dg23RiEEBuVK4e7pgWvI3DrEHPtEhy4ithm3thRSAHVWynr4BYe v8m+fVHbRzgua6cxa2FOj8Ip0fYPvVlDaVwKXzIqtPztyllYm5cgKw5lmFXns+HQdV YtK4cQH34us8A== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: qii.wang@mediatek.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, houlong.wei@mediatek.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Subject: [PATCH v2 00/17] MT6795 Helio X10 and Sony Xperia M5: DT step 2! Date: Mon, 27 Mar 2023 10:36:30 +0200 Message-Id: <20230327083647.22017-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=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761509688986624979?= X-GMAIL-MSGID: =?utf-8?q?1761509688986624979?= |
Series |
MT6795 Helio X10 and Sony Xperia M5: DT step 2!
|
|
Message
AngeloGioacchino Del Regno
March 27, 2023, 8:36 a.m. UTC
Changes in v2: - Squashed the addition of mediatek,mt6795-gce.h header with the commit adding the MT6795 GCE compatible. This series further enhances the support for the MT6795 Helio X10 SoC and the Sony Xperia M5 smartphone. In particular, for the SoC support, this adds: - Frequency Hopping support - I2C controllers - Power domains - IOMMU support and LARBs - GCE/CMDQ Mailbox - VDECSYS and VENCSYS clocks - MMSYS support ...and, on the Xperia M5 smartphone, this adds: - Frequency Hopping with Spread Spectrum for MAINPLL, MPLL, MSDCPLL - Touchscreen support (Synaptics S2726, fw id: 1898977, RMI4 protocol) - Accelerometer - Magnetometer - Proximity sensor - NFC support ...all of which was successfully tested on the Xperia M5 smartphone. This series depends on [1] for the MMSYS support. Plan for step 3 is to push upstream full display support, which does already work on my custom tree ;-) [1]: https://lore.kernel.org/all/20230309102618.114157-1-angelogioacchino.delregno@collabora.com/ Cheers! AngeloGioacchino Del Regno (17): arm64: dts: mediatek: mt6795: Add Frequency Hopping Controller node arm64: dts: mediatek: mt6795: Add apmixedsys syscon node arm64: dts: mediatek: mt6795: xperia-m5: Enable Frequency Hopping dt-bindings: i2c: i2c-mt65xx: Add compatible for MT6795 Helio X10 arm64: dts: mediatek: mt6795: Add nodes for I2C controllers arm64: dts: mediatek: mt6795: Add SoC power domains 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 VDECSYS and VENCSYS clocks arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs arm64: dts: mediatek: mt6795-xperia-m5: Enable I2C 0-3 busses arm64: dts: mediatek: mt6795-xperia-m5: Add Synaptics RMI4 Touchscreen arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer arm64: dts: mediatek: mt6795-xperia-m5: Add Sensortek STK3310 Proximity arm64: dts: mediatek: mt6795-xperia-m5: Add NXP PN547 NFC on I2C3 .../devicetree/bindings/i2c/i2c-mt65xx.yaml | 4 + .../mailbox/mediatek,gce-mailbox.yaml | 20 +- .../dts/mediatek/mt6795-sony-xperia-m5.dts | 166 ++++++++++++ arch/arm64/boot/dts/mediatek/mt6795.dtsi | 245 ++++++++++++++++++ include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 +++++++++ 5 files changed, 550 insertions(+), 8 deletions(-) create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h
Comments
On 27/03/2023 10:36, AngeloGioacchino Del Regno wrote: > Changes in v2: > - Squashed the addition of mediatek,mt6795-gce.h header with the > commit adding the MT6795 GCE compatible. > > This series further enhances the support for the MT6795 Helio X10 SoC > and the Sony Xperia M5 smartphone. > > In particular, for the SoC support, this adds: > - Frequency Hopping support > - I2C controllers > - Power domains > - IOMMU support and LARBs > - GCE/CMDQ Mailbox > - VDECSYS and VENCSYS clocks > - MMSYS support > > ...and, on the Xperia M5 smartphone, this adds: > - Frequency Hopping with Spread Spectrum for MAINPLL, MPLL, MSDCPLL > - Touchscreen support (Synaptics S2726, fw id: 1898977, RMI4 protocol) > - Accelerometer > - Magnetometer > - Proximity sensor > - NFC support > > ...all of which was successfully tested on the Xperia M5 smartphone. > > This series depends on [1] for the MMSYS support. > > Plan for step 3 is to push upstream full display support, which does > already work on my custom tree ;-) > > [1]: https://lore.kernel.org/all/20230309102618.114157-1-angelogioacchino.delregno@collabora.com/ > > Cheers! > Applied all but: 4/17 dt-binding already applied 7/17 dt-binding not applied 8/17 we are missing the dt binding Thanks a lot for the great work Matthias > AngeloGioacchino Del Regno (17): > arm64: dts: mediatek: mt6795: Add Frequency Hopping Controller node > arm64: dts: mediatek: mt6795: Add apmixedsys syscon node > arm64: dts: mediatek: mt6795: xperia-m5: Enable Frequency Hopping > dt-bindings: i2c: i2c-mt65xx: Add compatible for MT6795 Helio X10 > arm64: dts: mediatek: mt6795: Add nodes for I2C controllers > arm64: dts: mediatek: mt6795: Add SoC power domains > 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 VDECSYS and VENCSYS clocks > arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs > arm64: dts: mediatek: mt6795-xperia-m5: Enable I2C 0-3 busses > arm64: dts: mediatek: mt6795-xperia-m5: Add Synaptics RMI4 Touchscreen > arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer > arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer > arm64: dts: mediatek: mt6795-xperia-m5: Add Sensortek STK3310 > Proximity > arm64: dts: mediatek: mt6795-xperia-m5: Add NXP PN547 NFC on I2C3 > > .../devicetree/bindings/i2c/i2c-mt65xx.yaml | 4 + > .../mailbox/mediatek,gce-mailbox.yaml | 20 +- > .../dts/mediatek/mt6795-sony-xperia-m5.dts | 166 ++++++++++++ > arch/arm64/boot/dts/mediatek/mt6795.dtsi | 245 ++++++++++++++++++ > include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 +++++++++ > 5 files changed, 550 insertions(+), 8 deletions(-) > create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h >
On 02/04/2023 19:26, Matthias Brugger wrote: > > > On 27/03/2023 10:36, AngeloGioacchino Del Regno wrote: >> Changes in v2: >> - Squashed the addition of mediatek,mt6795-gce.h header with the >> commit adding the MT6795 GCE compatible. >> >> This series further enhances the support for the MT6795 Helio X10 SoC >> and the Sony Xperia M5 smartphone. >> >> In particular, for the SoC support, this adds: >> - Frequency Hopping support >> - I2C controllers >> - Power domains >> - IOMMU support and LARBs >> - GCE/CMDQ Mailbox >> - VDECSYS and VENCSYS clocks >> - MMSYS support >> >> ...and, on the Xperia M5 smartphone, this adds: >> - Frequency Hopping with Spread Spectrum for MAINPLL, MPLL, MSDCPLL >> - Touchscreen support (Synaptics S2726, fw id: 1898977, RMI4 protocol) >> - Accelerometer >> - Magnetometer >> - Proximity sensor >> - NFC support >> >> ...all of which was successfully tested on the Xperia M5 smartphone. >> >> This series depends on [1] for the MMSYS support. >> >> Plan for step 3 is to push upstream full display support, which does >> already work on my custom tree ;-) >> >> [1]: >> https://lore.kernel.org/all/20230309102618.114157-1-angelogioacchino.delregno@collabora.com/ >> >> Cheers! >> > > Applied all but: > 4/17 dt-binding already applied > 7/17 dt-binding not applied > 8/17 we are missing the dt binding > I dropped the following patches for now: 09/17 and 11/17 due to missing 07/17 this break creation of DTBs. I also dopped 14/17 and 15/17 as buidling the DTBs gave the following warning: arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts:104.21-109.4: Warning (unit_address_format): /soc/i2c@11010000/accelerometer@0x10: unit name should not have leading "0x" arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts:111.20-114.4: Warning (unit_address_format): /soc/i2c@11010000/magnetometer@0x12: unit name should not have leading "0x" arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts:104.21-109.4: Warning (i2c_bus_reg): /soc/i2c@11010000/accelerometer@0x10: I2C bus unit address format error, expected "10" arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts:111.20-114.4: Warning (i2c_bus_reg): /soc/i2c@11010000/magnetometer@0x12: I2C bus unit address format error, expected "12" Regards, Matthias > Thanks a lot for the great work > Matthias > >> AngeloGioacchino Del Regno (17): >> arm64: dts: mediatek: mt6795: Add Frequency Hopping Controller node >> arm64: dts: mediatek: mt6795: Add apmixedsys syscon node >> arm64: dts: mediatek: mt6795: xperia-m5: Enable Frequency Hopping >> dt-bindings: i2c: i2c-mt65xx: Add compatible for MT6795 Helio X10 >> arm64: dts: mediatek: mt6795: Add nodes for I2C controllers >> arm64: dts: mediatek: mt6795: Add SoC power domains >> 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 VDECSYS and VENCSYS clocks >> arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs >> arm64: dts: mediatek: mt6795-xperia-m5: Enable I2C 0-3 busses >> arm64: dts: mediatek: mt6795-xperia-m5: Add Synaptics RMI4 Touchscreen >> arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer >> arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer >> arm64: dts: mediatek: mt6795-xperia-m5: Add Sensortek STK3310 >> Proximity >> arm64: dts: mediatek: mt6795-xperia-m5: Add NXP PN547 NFC on I2C3 >> >> .../devicetree/bindings/i2c/i2c-mt65xx.yaml | 4 + >> .../mailbox/mediatek,gce-mailbox.yaml | 20 +- >> .../dts/mediatek/mt6795-sony-xperia-m5.dts | 166 ++++++++++++ >> arch/arm64/boot/dts/mediatek/mt6795.dtsi | 245 ++++++++++++++++++ >> include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 +++++++++ >> 5 files changed, 550 insertions(+), 8 deletions(-) >> create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h >>