From patchwork Tue Oct 24 21:22: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: 157699 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2211970vqx; Tue, 24 Oct 2023 14:26:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFc96Rf9DMY7zcpExqbmjWShWw2EDiUKrJ+gGn0Dk5dmS+Jw34eq9HbvMSzG16cQV7oIEbS X-Received: by 2002:a17:90a:20f:b0:27d:63ae:f378 with SMTP id c15-20020a17090a020f00b0027d63aef378mr12192089pjc.42.1698182808950; Tue, 24 Oct 2023 14:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698182808; cv=none; d=google.com; s=arc-20160816; b=Xe/OsG1IuI8NyOCuKp+1yVVBvxoU9O/mcK0pUftWfh8wvqxhi+5ZPyiRA5M+1XhTa8 l8r09BWNSfZ4AKqy4a3H74y0Gihx9azyUod3ri18kZWH7Pw8J14dc5yM7h3w+Nn45GqG QmCIAZsKb5+TVKW526mJPcUHFNNSEBFf7WtRIp6XxzmtFPsls3tL2e2OWTCGXWCAbdOe tTU1Kb0bwodWMgOI/Sevm9KznWuQIBdYGv/cK6anBZh76C/T7sBG+JucsL8AezD4+jFi 0BkqKMhrmX7Sr/H6Zb8tJZEZ7Zi6B+zPv/KuFyyGUBBcgng/PeUIvyassRorqr4agdQn b6Gg== 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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; fh=JYgivQZbHJn+dUmowJkYQXVHkiZ5P7Q4GQsKaNgIK44=; b=LDob2yiPJsQ9EJjWVnymtQpepw63NJDLrLUKeEym9hmEB+lbJ7ouvfJhLAs/avxlb3 oNDoelJhIuLUhgF/onVsBQsU6HuvWb8iT2TeWGxYabjCFVgwb1Wy5dgMW1mtxux3ToJz MiiDKZpr55x3d2hRSwn0+Q3d24/5K80sV8OHZqLwofgV3wr9h9d3QiI/+Uqr+6cFgMVy /5ZUqHVsB7jucJ2fckx4A/aNOldH83Bd4MeQi28qtT8Eflx8si0XrPXFBDQcNdcB5arg a9+/YwzzOdE0V8RnVWmPprQUEQzCouqa8706FPGbhdnwfTSZYDluvwvvjSx/7ey8F5Kc zAAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=H8ddV685; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b18-20020a170903229200b001bbb6f4cd6dsi9480594plh.334.2023.10.24.14.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=H8ddV685; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 8F5CB802887D; Tue, 24 Oct 2023 14:26:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234968AbjJXV0k (ORCPT + 27 others); Tue, 24 Oct 2023 17:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344178AbjJXV0a (ORCPT ); Tue, 24 Oct 2023 17:26:30 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89C6F133 for ; Tue, 24 Oct 2023 14:26:27 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c9b95943beso41592665ad.1 for ; Tue, 24 Oct 2023 14:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182787; x=1698787587; 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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; b=H8ddV685psRdKA+QUvxMhpWR8rjvzBH9uZfIoIzoL7s8+9QqdqKlPrNBBpe1Ov+xV9 8scNWvHAkBYHS22afjQ5Xs65Y0BGVEVP5jujjw8CEBkbQcL8EkXKlb3hdMEmpEZulsY8 a8MgaRZZAjlSRdKH73R/1nhMyyvYeMV6/FQKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182787; x=1698787587; 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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; b=mLQl1GkIVdb0gzsMSqI6rwP1aykzK4A89ZGnOc84v9UsXActjDQLXJ67m4YBAbdPpp LEHJF2c5OUZ8vPmLJgb/O/nsopDgIe9wk9EXPupPCEcVy9qXzYq+YCjGXrWCLifpctZK mzbfwNKPYyXpnemLuOjmlgxbIGy15orfSSokOGBX63q4UwHoBxFrqOPwZcmR0xQA3+Pw s/0fC0Nxmnjkv6gwvEQZoFYEGvnaWAKD7NsBS+HAG5snAxKluth0zKesZ4v+/7kXY5lU c1emjL228E0Gs8F/j1AF3TDWuCUbgG2+Ba/UKRm0Lwm16Euzp+FevUCzdkoRnAUa/IDL bOaw== X-Gm-Message-State: AOJu0YzRAuZuOqa3PyEsSswP/Hem7nCQH02pVvyCs1kFkhym81VaBoWZ DjNCNxOKyM1QsjcplPKFtytHOQ== X-Received: by 2002:a17:902:c942:b0:1c9:dcea:33e5 with SMTP id i2-20020a170902c94200b001c9dcea33e5mr14179872pla.67.1698182786986; Tue, 24 Oct 2023 14:26:26 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:26 -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 v2 3/7] arm64: dts: mt8183: Add kukui katsu board Date: Tue, 24 Oct 2023 14:22:25 -0700 Message-ID: <20231024212618.1079676-4-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 14:26:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780673737169555460 X-GMAIL-MSGID: 1780673737169555460 katsu is also known as ASUS Chromebook Detachable CZ1. Signed-off-by: Hsin-Yi Wang --- v1->v2: non sku38 is sku32 --- arch/arm64/boot/dts/mediatek/Makefile | 2 + .../dts/mediatek/mt8183-kukui-katsu-sku32.dts | 40 +++++++++++++++++ .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 44 +++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index e6e7592a3645..a13419e67e8e 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -36,6 +36,8 @@ 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 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu-sku22.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-katsu-sku32.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-katsu-sku38.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku272.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku288.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts new file mode 100644 index 000000000000..9fa205c06c74 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.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-sku32", "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"; +}; 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..472a5a3ea25c --- /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", "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"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +};