Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2566609rdb; Mon, 4 Dec 2023 00:42:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IExRUxA4kCPFT07IS93NvtW0zVpG54a+zW/bN1iuUXOpn/EFacH3f1G2Qr+9GTINW57ryqj X-Received: by 2002:a05:6a20:8c08:b0:18f:97c:8269 with SMTP id j8-20020a056a208c0800b0018f097c8269mr1168260pzh.115.1701679345760; Mon, 04 Dec 2023 00:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701679345; cv=none; d=google.com; s=arc-20160816; b=luSOP3li9+QeCE5g/dq7ubP/Sqiff1O8VLlZ0zQvNwCPpbWJzINTnMPRPD1QgVP6sM BtaNND6wZ/2OLt4zHW7rUo5ihY9yl3KFNPquSQbI4E2920V1R52qw5TVZysx91VGcZri 9zqqq2n+BQ0aTB6iHz710ycOLpjEQoFKBTMqN3Vc+Q9YW5c3SKJsSv90JiA5aTfDfIgT fdV++J0mFfA0paGIjHYgsBahzkiUmtD1aIZ89UoClk+BuN9iopqGfyGR9EK4gPVarXiY XnjOTF4hHJxGB/2o/XqnKIxC0n9XwCRrItwquICxP3PoqEmb2Klw3dinSep75GlE1TDk o76g== 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=OSbK53fPx2M4UyMXuvtFTsva3e/34kZVsYfj7kI8Z58=; fh=MjSKQhBpUby1rxrAk2lYQV4SnlwAVQgSsOk2fysyUJc=; b=K7XwiZLU/4NeGllDLmDeu0sKsllVvHJpGLqYZ+LIKgLk3z+E8ewDK0r0L+aX1At5sU 6YvorusO9EbPPnzuTXoUIJYw7SAnFBM8CVxp1PyhzN04jLsHkhvd8+OYYX7eDtObo+WA CbWkHq/VoWwMjrhl/cMYz7aMyms3BKREG5rXXiiSUvG+wUaBIQ0I/109+H7zgtHzy2tZ UBMTe3+A+J57OyMyZl5QjKSAZVwhc8vyyOQNydLorRuJQ71u16lBIbbA0LZD5PsqxLt+ c8a/vLHu4PzTt6pR7lnLCU7PlyiD1BKetJtRk4hyL6o/AaJcJOUVa5SbbsvX2Bikqygg 9eqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mDM7P853; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id dl4-20020a056a00490400b006ce555313a2si922413pfb.382.2023.12.04.00.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:42:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mDM7P853; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 66C598090F94; Mon, 4 Dec 2023 00:42:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjLDImO (ORCPT + 99 others); Mon, 4 Dec 2023 03:42:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDImN (ORCPT ); Mon, 4 Dec 2023 03:42:13 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FAFF9B for ; Mon, 4 Dec 2023 00:42:19 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1d076ebf79cso3903885ad.1 for ; Mon, 04 Dec 2023 00:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701679339; x=1702284139; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OSbK53fPx2M4UyMXuvtFTsva3e/34kZVsYfj7kI8Z58=; b=mDM7P85356O/KQnDccOSvdlMU+vA3WWSfb8QiPElBBtSAWJElcgh1uOA+virwK3i6p 6iAf4eXHH7inq2SdCZKKml6pgztzns5rL/ZLHrSCd9ZRVuCys0Ja/L46KPJhsgmULQqA QfjzHtZB4XEQ0zAVFw/OAPOXSCuJfUL4j9qU4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701679339; x=1702284139; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OSbK53fPx2M4UyMXuvtFTsva3e/34kZVsYfj7kI8Z58=; b=sM10ai1gezuEgauvmDl/Bh4CLzugvTkIAxg+JggLQzrzN1BYVxNCrY/OsdSfNW0PAT WzYxniRy2Yhl98tFdzYTsFhEAtZNse1QgrYeYGORJc2FH8ycbX1ic10JB89m62F7VVAw cz1ThOYXhWReEWiW6T2wuDKICNBcSZj1XmeOJeX4LZ6VR/ipFKcdbc9Zr/gmNWV6T2xl iZGxwpD7yPHBcifCh7cjm7bBuySphgvB3uyO9KyPJSpNi7bkTEg8s9aegrPKA7Q0CMGM RNdVVdQ5dqh9IfUE6GBAjvM6S8xxngNdhSZ6KifJSnRhz86J6qJuCHT1RaOt9rxh4zmq Cf6A== X-Gm-Message-State: AOJu0YyHNFP95Wg4Y0dUg+1LsI69vpIT91Ib30CrgZQz5tuzwOfak9sn khdN8cuIE6e8wb61guILDft9yQ== X-Received: by 2002:a17:902:7c8a:b0:1cf:fe32:632f with SMTP id y10-20020a1709027c8a00b001cffe32632fmr1320665pll.22.1701679338791; Mon, 04 Dec 2023 00:42:18 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:6084:72e2:9ac2:f115]) by smtp.gmail.com with ESMTPSA id p14-20020a1709028a8e00b001cfc3f73927sm7871795plo.9.2023.12.04.00.42.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:42:18 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/9] arm64: dts: mediatek: Add MT8186 Corsola Chromebooks Date: Mon, 4 Dec 2023 16:40:02 +0800 Message-ID: <20231204084012.2281292-1-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 00:42:24 -0800 (PST) Hi everyone, This is v3 of the MT8186 Chromebook device tree series. Changes since v2: - Picked up Conor's ack - Renamed remaining "touchpad" nodes to "trackpad" - Dropped pinctrl from tentacruel/tentacool second source trackpad Changes since v1: - Reorder SKU numbers in descending order. - Fixed pinconfig node names - Moved pinctrl-* properties after interrupts-* - Switched to interrupts-extended for external components - Marked ADSP as explicitly disabled, with a comment explaining that it stalls the system - Renamed "touchpad" to "trackpad" - Dropped bogus "no-laneswap" property from it6505 node - Moved "realtek,jd-src" property to after all the regulator supplies - Switched to macros for MT6366 regulator "regulator-allowed-modes" - Renamed "vgpu" regulator name to allow coupling, with a comment containing the name used in the design - Renamed "cr50" node name to "tpm" - Moved trackpad_pins reference up to i2c2; workaround for second source component resource sharing. - Fix copyright year - Fixed touchscreen supply name - Mark missing components as disabled instead of deleting the node - Dropped reset-gpios from touchscreen nodes - Drop status = "okay", which is the default This series adds device trees for the various MT8186 Chromebooks that were initially released. These are the Tentacruel / Tentacool devices released by ASUS, and the Steelix / Rusty / Magneton devices released by Lenovo. The device trees are taken from the downstream ChromeOS v5.15 kernel, ported to mainline and cleaned up. Corsola is the Google codename given to the MT8186 platform. This platform has two reference designs, Krabby and Kingler. Kingler was not used in any actual product, and is therefor not included. Steelix is an alternative design put forward and is effectively a mix-and-match of the two reference designs. Most of the core design is shared between the variants. The differences are on which external components, such as the display bridges, are used. Patch 1 cleans up the current list of MediaTek boards. The entries are reordered by SoC model first, then by board name. Patch 2 through 5 add DT binding entries for the Tentacruel/Tentacool, Steelix, Rusty, and Magneton Chromebooks. Patch 6 through 9 add board device tree files for these devices. Patch 6 also adds the corsola dtsi file for the commonalities between the designs, as well as a dtsi file for the krabby reference design. Currently external display support is missing. Audio is not working, as enabling the audio DSP causes my test systems to hang. Please have a look and test if possible. Regards ChenYu Chen-Yu Tsai (9): dt-bindings: arm: mediatek: Sort entries by SoC then board compatibles dt-bindings: arm: mediatek: Add MT8186 Tentacruel / Tentacool Chromebooks dt-bindings: arm: mediatek: Add MT8186 Steelix Chromebook dt-bindings: arm: mediatek: Add MT8186 Rusty Chromebook dt-bindings: arm: mediatek: Add MT8186 Magneton Chromebooks arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool arm64: dts: mediatek: Introduce MT8186 Steelix arm64: dts: mediatek: Add MT8186 Steelix platform based Rusty arm64: dts: mediatek: Add MT8186 Magneton Chromebooks .../devicetree/bindings/arm/mediatek.yaml | 180 +- arch/arm64/boot/dts/mediatek/Makefile | 10 + .../dts/mediatek/mt8186-corsola-krabby.dtsi | 129 ++ .../mt8186-corsola-magneton-sku393216.dts | 39 + .../mt8186-corsola-magneton-sku393217.dts | 39 + .../mt8186-corsola-magneton-sku393218.dts | 26 + .../mt8186-corsola-rusty-sku196608.dts | 26 + .../mt8186-corsola-steelix-sku131072.dts | 18 + .../mt8186-corsola-steelix-sku131073.dts | 18 + .../dts/mediatek/mt8186-corsola-steelix.dtsi | 195 ++ .../mt8186-corsola-tentacool-sku327681.dts | 57 + .../mt8186-corsola-tentacool-sku327683.dts | 24 + .../mt8186-corsola-tentacruel-sku262144.dts | 44 + .../mt8186-corsola-tentacruel-sku262148.dts | 26 + .../boot/dts/mediatek/mt8186-corsola.dtsi | 1719 +++++++++++++++++ 15 files changed, 2489 insertions(+), 61 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-krabby.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393217.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393218.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131072.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131073.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327681.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262144.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi -- 2.43.0.rc2.451.g8631bc7472-goog