From patchwork Wed Jul 31 10:47:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13748507 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 8AE90C52D1F for ; Wed, 31 Jul 2024 10:48:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MEQr2Dd1qiYbytxX7TJlBlAQtD8h05Mk/ovq2ZyI5Tc=; b=l0xyfMm7GA7eO6muTUcOs/Kmev X7ArlcMlxmyod8Z4Bm8pabSQOaKQG0/uaBiueH/l8P/tHxo+5TEMo2j8OOYIj4K+iqLW+NeD1yaE4 nSYzJVVMatzMhZ2cOzT7BtT7bS2Aq6HVBn9Ft+MfHMWGCiu0rBBzoE5r6LYg0brxdtHoH0HeGyISM R4pmbne7POoEu+Pfupvxsz/ZvBw16KlfX1qk/46eDDqL5WeQn/iE+xA9ncxt5txtnCcxS2OHqEwBI 6Dw/pYLy/fCvQ+2mejENY+kae6vc4zHU1sFQU9BnUnaMya07N2M2R8pGqWHt2tML9+ua5L0ooKzeF VT1sY8PQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ6sd-00000000mfA-0JCz; Wed, 31 Jul 2024 10:48:27 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ6rk-00000000mPD-458b for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 10:47:34 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-264a12e05b9so3537740fac.1 for ; Wed, 31 Jul 2024 03:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1722422852; x=1723027652; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MEQr2Dd1qiYbytxX7TJlBlAQtD8h05Mk/ovq2ZyI5Tc=; b=F1IiZt+CGmdvTWc+5iyMEdIVIQmbFkAq9COLwd4H+mhJ++ZtDTw1TzW1rBPD2nMM0Y iXfbHQBAm85nJnqkmJz66mN4hFJDUCs2fx/MkP1Zhc4kQiOQyDJoxTrBtnwIDTTTj4fd m8PvP69CEc8HHvdYlh6wt5cmJ4+UB7zMrhoqs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722422852; x=1723027652; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MEQr2Dd1qiYbytxX7TJlBlAQtD8h05Mk/ovq2ZyI5Tc=; b=qDkcoNqPWyf99zzWKq7BYfVrGnt4OoAsL/tnorIsAqHKEqUybzABHlrmOQo3V7Sena z2+kB9MIGfncckNw468X1oxjiG214r0gbCW6QFjLVzn1gaoBEedjjzYfUqfJ17f1s2cr 47K2eF5M32SDgLIQ9V4nDjCbmkGFFMZFxizRne5hc6MobXQAqEZ8Tl8Nx6Zg8hBk6KlH FiqKYmQ0dVkp3HhpGjxnwOGpwEf2nQd1aoE8b695oaPq+NZiw84OypbXyUs0vDj/ETIY MKAgSusCi6W7HPh2y+4SZiNwugpsejfoZe1C3Is6kjPYlQ8gA97u8LBqtOZG0RLJknOg K0+g== X-Forwarded-Encrypted: i=1; AJvYcCXGLJOleR1JBcj+rVj5b47W0/THGmbgOTmqxM7PgYIKfE2iw7xZlNSsccB8B8N6LHqC8q1ow0XSP0RbAiJYWOPBfv/f6JF91HwHx/R4/opND7xyk/8= X-Gm-Message-State: AOJu0YwNyVNXpQEJSQzz89kCn40ECqCI6LawaCHkAIqYsZn1hIg3l5bn H4lmIgMZlx9r3cL+gULMyDiocEn4lKvvrK2qFGgN3rusYCWOlsD25zWgMcFRcw== X-Google-Smtp-Source: AGHT+IF+eN+336dq52MziH8dsqFM+I0C8HVxBShL7oDo4ecojL/kUKyLptwk7xM+0upLN5bwQhnwLQ== X-Received: by 2002:a05:6870:f116:b0:260:f99a:ba39 with SMTP id 586e51a60fabf-267d4a1a368mr17504290fac.0.1722422851864; Wed, 31 Jul 2024 03:47:31 -0700 (PDT) Received: from yuanhsinte.c.googlers.com (46.165.189.35.bc.googleusercontent.com. [35.189.165.46]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7a9fa5a0bcesm8788400a12.89.2024.07.31.03.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 03:47:31 -0700 (PDT) From: Hsin-Te Yuan Date: Wed, 31 Jul 2024 10:47:25 +0000 Subject: [PATCH v3 1/2] arm64: dts: mt8183: Add kukui-jacuzzi-cerise series boards MIME-Version: 1.0 Message-Id: <20240731-jacuzzi_dt-v3-1-1c4314e8962f@chromium.org> References: <20240731-jacuzzi_dt-v3-0-1c4314e8962f@chromium.org> In-Reply-To: <20240731-jacuzzi_dt-v3-0-1c4314e8962f@chromium.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Sean Wang Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan X-Mailer: b4 0.15-dev-a9570 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240731_034733_056455_3A4717A4 X-CRM114-Status: GOOD ( 14.94 ) 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 Cerise is known as ASUS Chromebook CZ1. Stern is known as ASUS Chromebook Flip CZ1. They are almost identical. The only difference is that Cerise is a clamshell device without touchscreen and Stern is a convertible device. Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/Makefile | 4 +++ .../mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts | 26 +++++++++++++++++++ .../dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts | 26 +++++++++++++++++++ .../dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi | 21 ++++++++++++++++ .../mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts | 29 ++++++++++++++++++++++ .../dts/mediatek/mt8183-kukui-jacuzzi-stern.dts | 29 ++++++++++++++++++++++ 6 files changed, 135 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 8fd7b2bb7a15..17fbe495e4ee 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -28,6 +28,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-burnet.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-cerise.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-cerise-rev3.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-cozmo.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-damu.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-fennel-sku1.dtb @@ -42,6 +44,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-pico.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-pico6.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-stern.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-stern-rev3.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts new file mode 100644 index 000000000000..c511dd1cc171 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-cerise.dtsi" +#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" + +/ { + model = "Google cerise board"; + chassis-type = "laptop"; + compatible = "google,cerise-rev3-sku0", "google,cerise", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; + +&touchscreen { + status = "disabled"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_CERISE"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts new file mode 100644 index 000000000000..12b97dcaa74a --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-cerise.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google cerise board"; + chassis-type = "laptop"; + compatible = "google,cerise-sku0", "google,cerise", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; + +&touchscreen { + status = "disabled"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_CERISE"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi new file mode 100644 index 000000000000..0cd30b3421ba --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" + +&cpu_thermal { + sustainable-power = <4500>; /* milliwatts */ +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength = <6>; + }; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <13200>; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts new file mode 100644 index 000000000000..19e09da1d166 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-cerise.dtsi" +#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" + +/ { + model = "Google stern board"; + chassis-type = "convertible"; + compatible = "google,cerise-rev3-sku1", "google,cerise", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <0>; /* two-wire */ +}; + +&touchscreen { + compatible = "hid-over-i2c"; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_STERN"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts new file mode 100644 index 000000000000..72de05ffea86 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-cerise.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google stern board"; + chassis-type = "convertible"; + compatible = "google,cerise-sku1", "google,cerise", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <0>; /* two-wire */ +}; + +&touchscreen { + compatible = "hid-over-i2c"; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_STERN"; +};