Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2554485rwl; Mon, 27 Mar 2023 01:41:53 -0700 (PDT) X-Google-Smtp-Source: AK7set/P/RfaKTG1drOr6e5LXKZm6VLggODFRxXkgSJAfZv6htc99gEs/KFAjdlVEW2Saok79sAj X-Received: by 2002:a17:90a:9485:b0:23c:feb9:2cea with SMTP id s5-20020a17090a948500b0023cfeb92ceamr11958325pjo.42.1679906513602; Mon, 27 Mar 2023 01:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679906513; cv=none; d=google.com; s=arc-20160816; b=iIbNb6gYbJ2LRMItsPeHkux8WKpCSv6ip3nwAbk2erBUnDHv1igb5B8M7QTCKwyTYa ZIyXAm45MK3tTUzLLSEP5+YAVUIYrQ1klwZIzrS/TqImLebz8bngl06qx0Jr53TU0hxR Nry5yKQjJDJDHpEKC6chLtnB1111y/oo/cr8iWlSwM5wt23YEQKOU6nmvNk5b7RLkaru nCPgJOauGgrP9jnElL6fuuuX5BdVFnTI87YAdNRX0xdjvRPDYKUr1exMKSabEUvH2UpR Mx6M9V9PPqqiM8nikp6sss3PVjDk9sXSPgOwzGTvQX6oJCo5BSxFxtlSbHErDoUpUvXC PwEQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg3-20020a17090b300300b002343565e8b4si5518650pjb.122.2023.03.27.01.41.41; Mon, 27 Mar 2023 01:41:53 -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 S233383AbjC0Ikv (ORCPT + 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 ); 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 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.40.0