From patchwork Thu Jul 21 13:42:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 12925184 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A583C43334 for ; Thu, 21 Jul 2022 13:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NgSf4U/KNaLsgriA/1sZZaHwzRVkgfTnM+vk6Qg0uAE=; b=TVMTU+VdKf9xk7 bJDdhFVX+sb7yONaZZLj/E2Z2QwJlkqajt30j0LO2HBNeMm2lZFCdIxj+wSjh43u98eNy5tv4vDUY +GlwOV0AtS3vCKdGDBt/Xto/4UiH/6arqBGKk/IkXmYrRcg92XgX12BIdw1ZwIwgeFlWNZBXblBi5 XVRfGD7XQAJialiwiTjCuwnxEgI5h44THm91QMSV1bV1Ra8Za0iyn3FiAtoGEPRLkIYgmrhsFLQTf tUrLkNd1m+ptHtCxtPzXuHGCgdmWXcZrDv7ftv2SD35Y7/08L1HjLMXX6/vRkI3t+ZoIB4TQK+nT1 mmwRsUWIkdTIanBRSy7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEWTp-007Da0-US; Thu, 21 Jul 2022 13:44:42 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEWRo-007CK3-UA; Thu, 21 Jul 2022 13:42:38 +0000 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 799716601AA5; Thu, 21 Jul 2022 14:42:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658410951; bh=wRl0FWql7SruDU8aGm9IKXSOOX2TEFrtCqKWy8np5Z4=; h=From:To:Cc:Subject:Date:From; b=NipOXKPc18jWkAdrlwLnO+2/dY1GOenBw/1QcgxCac+Pjumpbt4O7EVTJnPX0/V+N yy9lDpUoFpM/s49G3FbAlv9nwmfVYEedeoaeW9O9qys7HnQx/b6Nd3H4M9qGkwpqLD 8JN19S4eo3OdF1XxpjXEXVRnmL0iidZMSbrhDYGTp5NixMQiE9MHiAz43t4y3M+7Pq xwjeDncQOHGynU1lkDcLcAkn2fdRF+YNPy2AzMC6/h5Z3Lk6Y2510/3S+nbpfve4cE i4UW60QiDXKh8cvjYvN5HaPwAv06dKEVUut8aye92L+55isZm5flHLlXxxceWFZj5C bZKuIIGH0ndaA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 0/8] MT8195 Acer Tomato - devicetrees Part 2 Date: Thu, 21 Jul 2022 15:42:20 +0200 Message-Id: <20220721134228.310178-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_064237_179945_AA28762E X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series enables more functionality on the MT8195 Tomato Chromebooks, bringing it to an almost usable state. With this series, the device is able to boot from the MicroSD card and is able to communicate with the EC for various functions, including the enablement of the Chromebook's keyboard, battery charging, fuel gauge and other standard ChromeOS EC functionality. This also enables the Audio DSP, codec and sound card and adds support for the regulators found on the SPMI bus. What's missing (coming in the next part)? * Format: feature (location) * * MediaTek vcodec enc/dec (mt8195.dtsi only) * PCI-Express WiFi card (mt8195 and mt8195-cherry) * VDOSYS1 (mt8195.dtsi and mediatek-drm/mmsys drivers) * DP/eDP outputs for external/internal display (mt8195 and mt8195-cherry) * LVTS Thermal Sensors (mt8195.dtsi, driver is missing) * GPU support (comes later, clocks implementation is in the works) ### NOTE: ### This series depends on MediaTek's MT8195 new device nodes [1] series [1]: https://patchwork.kernel.org/project/linux-mediatek/list/?submitter=196333 AngeloGioacchino Del Regno (8): arm64: dts: mediatek: cherry: Enable the System Companion Processor arm64: dts: mediatek: cherry: Wire up the ChromeOS EC and GSC arm64: dts: mediatek: cherry: Add keyboard mapping for the top row arm64: dts: mediatek: cherry: Enable secondary SD/MMC controller arm64: dts: mediatek: cherry: Enable Elantech eKTH3000 i2c trackpad arm64: dts: mediatek: cherry: Enable DSP, audio codec and sound card arm64: dts: mediatek: cherry: Enable keyboard PWM backlight arm64: dts: mediatek: cherry: Enable MT6315 regulators on SPMI bus arch/arm64/boot/dts/mediatek/Makefile | 52 +-- .../dts/mediatek/mt8195-cherry-tomato-r1.dts | 10 + .../dts/mediatek/mt8195-cherry-tomato-r2.dts | 10 + .../dts/mediatek/mt8195-cherry-tomato-r3.dts | 10 + .../boot/dts/mediatek/mt8195-cherry.dtsi | 403 ++++++++++++++++++ 5 files changed, 435 insertions(+), 50 deletions(-)