From patchwork Tue Oct 24 00:02:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433751 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 A335CC00A8F for ; Tue, 24 Oct 2023 00:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J47U1soNTTwbM3rGLEnjL+jIEsVEjN4Tcggu6o9hgRk=; b=0LQCjf806meFoL 8519RRBiNvzemJDu4fzurQS0eE7uuyf9uHBZq2fJ7EwaMO/mdT3ST/rl9a88YenWRHlAJ+jovJ2Pk M6IMioRUVKYCKkq4bOZ7qoCY2PYf6bOFli3k6f2wHMamcd148WS9G9/+wPlxd1DO6OWbx+jNGeQei 4oZaJC7VwZRcWZzbPTPvsXTrm0ZtBhNJCrY9ftTF3qFk6QyaWmJOvplGY2MYc40Lg0299Fmshcacx S9OCC1h8IXuKbqOHfKXuzUxAGhrsMkR+dzWdNqDS1gb1+QUCBdrpz9sFxdERswfNmnmsg8pWIFtDN LQoRsE41tQLpsAchKAQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4y4-008V8P-0x; Tue, 24 Oct 2023 00:08:20 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xO-008UnK-1M for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:40 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c9b1e3a809so24368955ad.2 for ; Mon, 23 Oct 2023 17:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106052; x=1698710852; darn=lists.infradead.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=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=RoM2Q+zImIEt1b5oizao58PuAtO12T8gg1lOhirLZeYhhh/YnnbF1FcCIsriWbSq+T UxfLyqqmCeT8uC9Vg+MYnfAn2hCSoysScRx0vHDmLt7+InYG4Bg1usieC9ftbGw+XVzz 8b0PzHV6dgc+XhshyLlcbh5U+eHY1tIQUG6ME= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106052; x=1698710852; 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=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=UfrUwIEg1O/DMX4eA/2LpD6rNrPHJZEsAilKPg0flPDbsZK/OWA1iRIh8QLn5cQ5rn DChQBwr7Ppe8zluMrdjPer/rBqdj0FGCPK2OoUpXCPICNHoEgwoTIBPa7suKxguThd5A DGY6ZuvEx/AynmvXwY8zeVi615jwXhv3uy5u1cHkHtYgKWRrlcyUdlTrtnYThKHSgVtK Q/uQ47FTTkP99FgppFlUEu7ciSVfThwUx2PrSaIWctQLXXRMbgHRfVQiQgn9Gh42ETGU bDvpPwhaz03KcfjB7nkBRPwW+SHoC+Ftn1QgzMXE2c4ft/nl6LVLEnojt4x9WKJjBWQH h+Dw== X-Gm-Message-State: AOJu0YxutbX7lN5qNufNTCMm7kxvCaZ67c+whGOPUgvVDoeHehn8V64F x2i/de74q5zbfkeHgLd9eEWSx8vsBAc6QcWfKps= X-Google-Smtp-Source: AGHT+IFT8y4oceUEuy0SEQ+ul3MihnsSlfHCilt0mzADZwMzgUKtHOU072RmvvZwuEF1XYCziybQyA== X-Received: by 2002:a17:903:28cd:b0:1c3:5f05:922a with SMTP id kv13-20020a17090328cd00b001c35f05922amr7136070plb.60.1698106052413; Mon, 23 Oct 2023 17:07:32 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:32 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/6] arm64: dts: mt8183: Add kukui katsu board Date: Mon, 23 Oct 2023 17:02:25 -0700 Message-ID: <20231024000724.57714-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170738_459480_C66C9C31 X-CRM114-Status: GOOD ( 14.59 ) 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 kodama is also known as ASUS Chromebook Detachable CZ1. Signed-off-by: Hsin-Yi Wang --- .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 44 +++++++++++++++++++ .../boot/dts/mediatek/mt8183-kukui-katsu.dts | 40 +++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts new file mode 100644 index 000000000000..491d04692432 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +/ { + model = "Google katsu sku38 board"; + chassis-type = "tablet"; + compatible = "google,katsu-sku38", "mediatek,mt8183"; +}; + +&i2c0 { + status = "okay"; + + /delete-node/touchscreen@10; + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupt-parent = <&pio>; + interrupts = <155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts new file mode 100644 index 000000000000..595b0afdb2db --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google katsu board"; + chassis-type = "tablet"; + compatible = "google,katsu", "mediatek,mt8183"; +}; + +&i2c0 { + status = "okay"; + + /delete-node/touchscreen@10; + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupt-parent = <&pio>; + interrupts = <155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +};