Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5375231rdb; Wed, 13 Dec 2023 07:04:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpH7YkqSosuTnPeiIeaf3OKH+jWoJRtPboSgteDBIuORTGac4tYGHJ/XUZUFN74uvJNlFj X-Received: by 2002:a17:902:e54b:b0:1d0:8388:3701 with SMTP id n11-20020a170902e54b00b001d083883701mr9486060plf.100.1702479894842; Wed, 13 Dec 2023 07:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702479894; cv=none; d=google.com; s=arc-20160816; b=xGwk1bEecb3aGKzwYva0IXdkhqsjjKbHLpKlVosFQqS23DFROAr6Nq3ZcEUzI9ttIs t0VUDT+SvRpzTCNMXTYlQXr7CNKRlL8pkgVlQuQaTjr2dpa1ODVqcevYsJmwezK7D3LD LXNjl320LrgbAZKimv0GHlJvCDe4riftWKbY3EPuwTDOCef8bmDYAewnKpprhozOLMGo Bv7Y5NRJLsxqZfLPWt1jxYsnuEjBX8qWVb9uhEeTj4zCMnpzaxf4ph7IbqmOlrffOZGU hTTI+/ztPPX86ssIeC4Y9KYZxfaziYvHZ+7m9O1Xbtl/V+FEBzN9rShA0NbzP6MJb0NW WoXg== 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=g5L5MwV7oIEpjp+BC3SquVGWCmTt0XhfETFBuojKbpg=; fh=hpPrJIcpvHvNwSo+NiclAucWB1ETDfaBAv1j7riz0Rc=; b=arAyhrP78wTOXi98Ermwz+EOOl0e1lQmVk+nBx2xjOBVSVWK2lfsiBfjnDjpEyAqAt I7EeTQlpKxnbLLYVqbkVM1G4ifCUtotvfpm7KhSCJpoQC16Hq8T2Qawd6UoQF89w3YWS mMAgi06UPVrodbBHRF93Iu3i9jzh8I1qnDOAbhAan8kUeh2xd37dBdew58ihKVoksbNS fK3Iir05D233WmwEhKdAS8jFkPLr2bxxO25fNiqb4iyswvOZCaCfhyCq0A+ey5pwscK6 FbJY8dKgql6xMY/V3F1DzI5WtjUUBTVAQr49T8R2oSQB6SlknvGA7pO5ttdP4pG03Txc I/Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=P66102IW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n37-20020a634d65000000b005c1ce3c9608si9333354pgl.756.2023.12.13.07.04.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:04:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=P66102IW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 3B3618031B38; Wed, 13 Dec 2023 07:04:53 -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 S1442091AbjLMPEm (ORCPT + 99 others); Wed, 13 Dec 2023 10:04:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442073AbjLMPEl (ORCPT ); Wed, 13 Dec 2023 10:04:41 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBBB4A0 for ; Wed, 13 Dec 2023 07:04:47 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1d337dc9697so18515435ad.3 for ; Wed, 13 Dec 2023 07:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702479887; x=1703084687; 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=g5L5MwV7oIEpjp+BC3SquVGWCmTt0XhfETFBuojKbpg=; b=P66102IWZGTv64SmOvyYRH8Z96ig9eJos5TaVsOXYcODJ+CO7YyHKPH4UVpozcYlKo lA1rxbaXidlIqGNROV0xXYsFMy702weXsxIPDWMq8K3DG/tGVNHx/6WkYhT+tCfYAYg4 Tuy2zoK0ulrukaJRwurap+hGog+3+6ooYN+k4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702479887; x=1703084687; 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=g5L5MwV7oIEpjp+BC3SquVGWCmTt0XhfETFBuojKbpg=; b=RGPUV3YwPvSjTMJTA/hPUuQQmpfa6SaM22ykdVmM5p1aLmaNU8kHk3Tv1YtuNMYOdI vGenAo0lTLBYCJXdeazR5UTEld9tAus/EZSllkPm2mRBjOXVGgSH8TOYRwb0yaUJosb/ HEUAE4w4HSEbuiok2s4sN76qG6vuuVeKB2vHw8om8FSikJhCke1J3nZEAlSIIdpSWTFa wziC6n0B4U1qn1opj0e4VPKM9jq+gPJBZqapNcoeSvgCt/V9pfs9b17XV0TJSMFq6jTZ gq/k6OL1zvnVblnXD5+4fCrkeVSTux84vNSbX3UQi2Dmmi+GBsW4IUpuy0IBPK6Y00Cp ft2Q== X-Gm-Message-State: AOJu0YyuTBzAsoDDL/niJP6U4IobGYAFy51ScCXYlk7iLgJ5BMVSEvlu DrMyOXUku/H7KOFB9y/4ayBoxg== X-Received: by 2002:a17:902:ec8a:b0:1d0:d18c:bc5a with SMTP id x10-20020a170902ec8a00b001d0d18cbc5amr9776871plg.121.1702479887120; Wed, 13 Dec 2023 07:04:47 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:1974:9e2:4915:58b0]) by smtp.gmail.com with ESMTPSA id z15-20020a1709027e8f00b001cc2dc61c99sm813808pla.22.2023.12.13.07.04.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:04:46 -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-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Eugen Hristev Subject: [PATCH v4 0/9] arm64: dts: mediatek: Add MT8186 Corsola Chromebooks Date: Wed, 13 Dec 2023 23:04:24 +0800 Message-ID: <20231213150435.4134390-1-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-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_NONE, 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]); Wed, 13 Dec 2023 07:04:53 -0800 (PST) Hi everyone, This is v4 of the MT8186 Chromebook device tree series. Sending now in case you still want to apply more patches. Changes since v3: - Collected reviewed-by from Angelo - Reorder some properties to conform better to the newly proposed DT style guidelines - Drop unused labels - Rename bt-sco node name to bt-sco-codec - Drop i2s*-share properties from afe node - Drop aud_gpio_tdm_{on,off} pinctrl nodes - Replace interrupts with interrupts-extended in tpm node - Enable adsp device 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 | 1707 +++++++++++++++++ 15 files changed, 2477 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.472.g3155946c3a-goog