From patchwork Mon Dec 4 08:40:10 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: 750154 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="gP3euRbG" Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD60BD51 for ; Mon, 4 Dec 2023 00:42:39 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6cda22140f2so4145623b3a.1 for ; Mon, 04 Dec 2023 00:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701679358; x=1702284158; 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=9ljd2T3j+VnPx33d4ekX7y2D1w1JW97BW4rSuy9Dt1c=; b=gP3euRbGZCwntW1zC9Bwhj1piBkxvxHGyJn8R2GxW6qn3A8P6zLcxXZ7XRWnffD1tD qXei/XynG3toU2wxcjX19n8RzccgvBEcRc/TFCaR/K51Moy3ZmVpA7fR6PdbXh6HHcp4 QyMJ8udBKlOT5XOokhYKisi77cdCAfGp1qLcA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701679358; x=1702284158; 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=9ljd2T3j+VnPx33d4ekX7y2D1w1JW97BW4rSuy9Dt1c=; b=PXrSBwxUOnLH6Q8nZb//jYMo7OHUZZ/6D/QxvPTWOE0lxVWzCcCmF+1FTlCAIl8OqI cMDUwTvvYJFiywRAe0tAtnn8HIUwz0/tx55lbF7GU5goX22Swf7xpMSsvf/873kOYDf+ 2GITjeM4F9s71X9uP6PbnXRTVf1n21WJr02Xelw6Aa+JsQm2qejvSlPJZ0C7IjQ6+drq id5XTl4L+fcSg6rGlYHl1senYGR86k5oHTzaK9ZyxG6TXrQr9k8t9G5mattNlpsM1rsl 1ZdVJL4Mb/qzkd4PSZ/oU99rtRIajF9U4Siz72aYbe/0N0x/BP3YXrGUFLqrMEBd88O1 dfHw== X-Gm-Message-State: AOJu0Yy8PuMmqO1jYqSTyLCliHlrxKvjLoRRgunL6wIE8OYs22s/kfNH 6dJrw0GQ0j8Sfqevv88qv5R1JA== X-Google-Smtp-Source: AGHT+IG/GF8Pm6cp3cedzDbB0NGJWF0gnZO6NRRQ4bKoSNmp32TEAouKqNXVEdPy5ZsKsd52VrR9qQ== X-Received: by 2002:a05:6a20:938d:b0:18f:97c:6165 with SMTP id x13-20020a056a20938d00b0018f097c6165mr4702348pzh.98.1701679358550; Mon, 04 Dec 2023 00:42:38 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:42:38 -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, Conor Dooley Subject: [PATCH v3 8/9] arm64: dts: mediatek: Add MT8186 Steelix platform based Rusty Date: Mon, 4 Dec 2023 16:40:10 +0800 Message-ID: <20231204084012.2281292-9-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231204084012.2281292-1-wenst@chromium.org> References: <20231204084012.2281292-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Acked-by: Conor Dooley --- Changes since v2: - Picked up Conor's ack 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"; +};