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: 157151 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1625803vqx; Mon, 23 Oct 2023 17:08:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3swx3JjhN86Kfc5yS2g3j4VXbgjdLQT9imLRkgk/3XquAKy2KwGL0akEDvqHD8J2ei66h X-Received: by 2002:a05:6359:7301:b0:168:dc4a:c96f with SMTP id ux1-20020a056359730100b00168dc4ac96fmr4655522rwb.16.1698106099063; Mon, 23 Oct 2023 17:08:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698106099; cv=none; d=google.com; s=arc-20160816; b=a3hCUwE2I/vp+k3kBBJmwAUlh1MucJN6WueS/jWfUN516fbjds8FBfK5wap9Fi8iiH Mgvc6O4YUJYIuQ2nNQmqI+PHTiXXozWUK+91IdTDk9MceHUfF59obImDMrTKj7o6Nqs4 68Y2daZDUEEOUgNNx4cbyz+CgGYZ58vDQsjZrhKVxdvP/7JRvwfSFrZLLQdOnIQ3VM/b XYYPp41rHuIDGejwRGST7jSCguvpzM+H3SqFg9bdNtLFBjvsdC+LdUVay6ALNXPAy5r9 LDkCOuYhSJeQloddAA+TdRcDZ0MXarwqvu9qrieK/3Jz/Y1uj1s+rzlhdk2AgTSpEwVa ERvg== 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=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; fh=JYgivQZbHJn+dUmowJkYQXVHkiZ5P7Q4GQsKaNgIK44=; b=J1eDklkEu8pKzWcWF3KvnZcnO0BmiQKt6KepgTSoM26qZyD8Xv2THtRdShiNYZRxzH OqUi9xzRAQhf76FZhsVgErk7DJH33M9ruq/J62Os56+QZe/nnwg3/u01AURKhl0f1M7t W0ozfebMJxpjhN2tIpclyeaYEjC2egeYZweZDi+qvYDapiTiYOU5iHd4fQYCA5JltsW8 PbVkA9dOpQbuvEDmGIxcMJwix6afPji/kUVjltTLbZgJX80v1rPUy4pHXJhbu0y11uFs 7Zgn1+XXE2RI7lvXWNPwlOpRrMcETsWDrthMYgaWapfxD0dRW0aXKvKyQD7u/HSNRxxk 1oQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=P7SEjy8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l184-20020a6391c1000000b005aa998ea599si6690903pge.510.2023.10.23.17.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:08:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=P7SEjy8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 1A252809B47A; Mon, 23 Oct 2023 17:08:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231598AbjJXAHq (ORCPT + 27 others); Mon, 23 Oct 2023 20:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjJXAHe (ORCPT ); Mon, 23 Oct 2023 20:07:34 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2B6DD78 for ; Mon, 23 Oct 2023 17:07:32 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1c9b1e3a809so24368965ad.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=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=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=P7SEjy8rShTQ9tKrWrt3Ka6aQZrN2D2sFhA6Tq5QLHKXd0FWyfuT8gBpMTW/RE7yEA nQ1AUGy54mciQGH95XQIAR/FlRNtN8x298guJ2QHcklXTW47MyYBoZLxvm66UczWgffg 71KeNTPVnBtCI4trNAWhgye9u5p3NSL9MNE1I= 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=U2XIf5biHfiTnz++YD0UAo5gARizI/Q07wAcKSGQkqHFuZlEMV7yDIQlmjR5Wg+ZbW 87VsjVmQsi00mJDln7la6fEt//xLkLQj4uhQ1Fl7oHPyykDkXOAVce6reje7/oa3Rrjl kaypQDMthqQ24Ga12Vm9WAoHN8Rd3AruddsMRkccEWZ3nhkArARxpF+poZqzLE0qccxl dbVSt8oz6X8x5hOwcVg3dMRTIZud6t6ow1CspxUFNKkuKyvidU0I616QT+AT7+InLkKV FGS4VygUEKbA56XKjSQgvQNnEKvdmkuVtydXGf+617EbwQSoWdYOfFiRvB2WfPLd5XXQ qgMg== X-Gm-Message-State: AOJu0YwYdK9lyACDMHvOKo2OtT75Z8bL2DadIm9Rq0y/bUwEes1WJG3B jMwjjipxeNsVbfjutuio9ovaHQ== 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-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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Mon, 23 Oct 2023 17:08:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780593301006948346 X-GMAIL-MSGID: 1780593301006948346 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"; +};