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: 13748489 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 49B95C3DA7F for ; Wed, 31 Jul 2024 10:48:01 +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=vWsW4q0Gs3RJYG3cwJO19KFN6r 1AFL8+An416eUMbWQV5vnpiY/aMxph13+Cd2oplnNpb5U7GpqGK0S6Im7/ONRXlhzK8tSkNVZaIf7 C4SW98I4/o9ljfwUkBRl+JspiIoIgRr/TOIt8Fd+VsZaBkD+URzYkr5of1XuIF7Pw/YlFkmld4aqv Mcd589h7mB9wA1WSekbphcS2y/mC9iwZTrelXfSErMEqQaPQuP3+ILFuGqsUmw+SAZmp2Y1fge9vT roh5GX39uuHghXKI3ZoN6nlDjcXH/LMvPgd9swTbfBwFV5Pakzo4mInWLmgplLwsb9jVCzDW8L8LU JgTW1YgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ6sC-00000000mXc-3yTo; Wed, 31 Jul 2024 10:48:00 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ6rk-00000000mPC-44x1 for linux-mediatek@lists.infradead.org; Wed, 31 Jul 2024 10:47:34 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-264a12e05b9so3537739fac.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=lEHwkMjwvJfM+uoSn3bvGytFraljOhHG3DJcleJ3eZPqS3y3Bb9fOT5jJri9a+Up+B P3hEO1S+4JIOtV8yMRofl5DI15pPAZEaHLWVOVkstjPbed5+CfspIeqQ7IYSgYiAQJ2u /KjoC/57I8qiFEKkr44FqwgpFmknM+5sL81VxEGJ44TXOKs9cnSYl4+O2piid63aSvep y3skSwcE54wds0V/17oz4LzfrkKIQKjlo+Guq6vlyAYoC5e58qE/pbddUL6C2S5iNm6Y d9hQCseigCFtbmzAw1aJVZtbJ+1HdScO3VMmVBi94VGwX9LhmUTylV5lVFvZF5VA8eit xfrg== X-Forwarded-Encrypted: i=1; AJvYcCXQqQkc5bBUvSsqKy2bi6If2qPnjSdjc58+1qmjrlmJGFoTxbOWxT/JKmwJDmm6DEo5P7JZkEPGHyf8e3zdnwIx2eHn3k+0ZxWhsDp/P8HOeIzR X-Gm-Message-State: AOJu0YyAVm+xYdeMaQ7eOMN9M+aESxD0F8vnpTAcdDfw0FMh7V1NTCiP f1wIEBMK08vsinrfoGaCKqMCZ2dPB1AG03+8tUqm7rgO0strqIZ6c0It088Mqw== 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_052986_FC81931B X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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"; +};