From patchwork Fri Dec 1 07:07:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 172293 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp932596vqy; Thu, 30 Nov 2023 23:08:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8K0h3+TPBoCViPGxU45pKmA2mDyn2FJbc+Zxm7W5VEk42jq1fYtWRGla8GjldFNj0nTHa X-Received: by 2002:a05:6a20:840e:b0:18d:2748:ea22 with SMTP id c14-20020a056a20840e00b0018d2748ea22mr7149860pzd.17.1701414514023; Thu, 30 Nov 2023 23:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701414514; cv=none; d=google.com; s=arc-20160816; b=r0oLoCCVekHMg762kmyYnzVdolx3Q9jhyq/Z08n/G2EcxzAPp/MEs+5RVhU4i5vNwE 9EmlGjSk2okcGFtMtHzqCajJhNy+LiY3cdZ1PYCFjGvBxqbHBnf8PQjraix02OotmlHd pRotRCEiIMUwy8mAnZNtgc5EDankZAwg4CUwyIG50fTV1HP/6kFLhKMF0iUhW+dWWkiB 1Pf/C0JRoDg3PocdM86jGtbJcNw2XI4CnwTnJ/yw2aITe9SOGdRgdz3plKT6fgoMRm+9 /GsIe7cvdqTwp8ZXnq0+nHEjdpa7TuhNvNk/8TbtD9QgmmKmA0+oZGgPlV+6RLFZouoK osag== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eaC0buh7aEVblHqvJfrsnZTUVZcIwutzgrSrvSUna1w=; fh=ozUc+Kv5N17AfI/qHB2FbMG+hTd56NCl/ZR03jXHGLs=; b=DfpGkJwaUhRPQt0PzJhCFp+Hd+OTbDWU7xLZC0eO0Zn4lvzyH+8hznkYr9Kx0XDJZU BMcTwPGOYoJI6RfdPQ9gL2InxxjRyfrQ1PBIyXukf89hOTVRfGm3HkobtK1/gFBi7xHj t1EK2HmFQtKI1deBpF8BddLkqig0cnq4LwqykKrlOcOxU7vc31v+dymgCeH9gKMgAILl EbPag41iKpIPfGNdoMN1Sbrq3OR4x79Cx8Jd0VaSxhICAZXWXBwIq6tU40nDQOuyg5v9 lTp+VKutfZIlUMfXNz0/s43K8BL11E4GAP3lNhIAJUb+P6mIclp/OXK3aTsACqxY6b50 7UBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fUvDD4rz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id p13-20020a056a000b4d00b006be26c1be4bsi2896852pfo.73.2023.11.30.23.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 23:08:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fUvDD4rz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 6571C80FE2B0; Thu, 30 Nov 2023 23:08:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235237AbjLAHIC (ORCPT + 99 others); Fri, 1 Dec 2023 02:08:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235194AbjLAHHw (ORCPT ); Fri, 1 Dec 2023 02:07:52 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEB6F1BC1 for ; Thu, 30 Nov 2023 23:07:55 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-53fa455cd94so164018a12.2 for ; Thu, 30 Nov 2023 23:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701414475; x=1702019275; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eaC0buh7aEVblHqvJfrsnZTUVZcIwutzgrSrvSUna1w=; b=fUvDD4rz8CslmK5eHEUGTZzX+fbbYy1V54JONtRotWeHBEnJnGRI/O1Iy9eDOcKw5z +4jJ2tDcgAkRPG1hImwF1REq69VNfJYLfpqXsviMLEu6F0qPsYcDfptCiLQ75u9fRX9S xJzhLCirkB2nOg7skUB40YEiibdN4I2wkPYe8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701414475; x=1702019275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eaC0buh7aEVblHqvJfrsnZTUVZcIwutzgrSrvSUna1w=; b=NNivS3aHPh632zAYW8ezzKGdzNmRLHRLV8FuzT15sISGovCVOzYWwlWxlvrN03mWPV Hdf+ZF+ayW6qJj5gbAvbKiQjPdV8VGrLB1YYSmheRihz0Pum9tYK6GRMQrHloJhknCTQ rGM39bOMHlo+fWHY6FS3wNEBjMs0LzbK4a9ICUl6rqWxOreeRyS1K/OtjPVRBrLyS0fO LiGXe7ASwnlPpVHiyxsaoD3rlpaVTOkP9gl23aPFdCn7X2unjClRmgwK4IZYZvuzKZTl 1YPpfNY1QIDLarAq1wSs8Fd2PrUqjzgwVNPTTVIx+cu6pXiZBZEAo+wPIiON6HEoJjSx hhZg== X-Gm-Message-State: AOJu0YzS/2TDdIQQySZvFjWitbmIBedHkKF97xec6lEXCif7TxTX1Rzj fw4i4DMgSwGmvhxKgePBIxYfhQ== X-Received: by 2002:a17:90b:1e4f:b0:285:a65c:64e7 with SMTP id pi15-20020a17090b1e4f00b00285a65c64e7mr18456103pjb.18.1701414474776; Thu, 30 Nov 2023 23:07:54 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:720a:d435:c253:2402]) by smtp.gmail.com with ESMTPSA id y10-20020a1709027c8a00b001cfa0c04553sm2558684pll.116.2023.11.30.23.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 23:07:54 -0800 (PST) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 8/9] arm64: dts: mediatek: Add MT8186 Steelix platform based Rusty Date: Fri, 1 Dec 2023 15:07:12 +0800 Message-ID: <20231201070719.1229447-9-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231201070719.1229447-1-wenst@chromium.org> References: <20231201070719.1229447-1-wenst@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 23:08:20 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784062425341445022 X-GMAIL-MSGID: 1784062425341445022 MT8186 Rusty, otherwise known as the Lenovo 100e Chromebook Gen 4, is an MT8186 based laptop. It is based on the "Steelix" design. Being a laptop instead of a convertible device, there is no touchscreen or stylus. Signed-off-by: Chen-Yu Tsai --- Changes since v1: - Reorder SKU numbers in descending order. - Mark missing components as disabled instead of deleting the node arch/arm64/boot/dts/mediatek/Makefile | 1 + .../mt8186-corsola-rusty-sku196608.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 7bd9471b89f9..6b05f1f2e645 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -43,6 +43,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku32.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-rusty-sku196608.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-steelix-sku131072.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-steelix-sku131073.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-tentacool-sku327681.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts new file mode 100644 index 000000000000..731b0d60228d --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +/ { + model = "Google Rusty board"; + compatible = "google,steelix-sku196609", "google,steelix-sku196608", + "google,steelix", "mediatek,mt8186"; + chassis-type = "laptop"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&i2c1 { + status = "disabled"; +}; + +&touchscreen { + status = "disabled"; +};