From patchwork Mon Dec 13 16:28:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12695944 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 C891EC433F5 for ; Mon, 13 Dec 2021 16:31:10 +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: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:In-Reply-To:References: List-Owner; bh=IYbpf7IgYD+QeNmYBmvXraFgcG4L6tXsZuYG8jJYks8=; b=Z6bUnmOfXlTcak tf9MIVOcyzbub0ZqwZtYOZjMrHvQ4CknrbDxzMAQZncqKKRpzQWVbL0Lp/i943IC3NP5r2MFJ4rFD eLT303mBMAL+qSVXhE7nd0Ex3sK3Pm+zZMCJEEagGao2YvnGJgcSBqLMPk/AuJPuDW4B35+ysM0D4 3PNwzOMPIHsGvnheeH/dIC5u9r04qujhfX33gZ0pdbCaRO+F0jNjuJxFHOaM2pxk5Ygl5SDOkIxPA xiJ4Y5sRrwrqbRLGvPQMSKzbaXw3uOT5HldbGl/BLovc5LhLuInzv9gcTVsJBOVsWSt/qFN8eUudK Bn8RKBi6763WOdhimghQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwoCY-00Ab73-EK; Mon, 13 Dec 2021 16:29:23 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwoCE-00Aaz9-04 for linux-arm-kernel@lists.infradead.org; Mon, 13 Dec 2021 16:29:03 +0000 Received: by mail-pf1-x429.google.com with SMTP id k64so15361496pfd.11 for ; Mon, 13 Dec 2021 08:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=biiS4C+lzKL6rUA1uy2e/g9FiWgrw/yETmDilWklXNU=; b=ZNU/Ru1HXHA2pan1cQDKzDswLSjrFIllZ81BXCYBuYNczkeO21KelJQO+wLXueWJT0 NwAYq4Cqdw9GeoFHo63gUB6MjRyclPXlwv3iK8k1YCpfUHhOQsGaB4lcKDWqOnCdH5Fo dBFPlXLOwc2Z5ZaNzzlzQbyXZnBwHEz6FlR7s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=biiS4C+lzKL6rUA1uy2e/g9FiWgrw/yETmDilWklXNU=; b=ewkVnHnmLTO+ZVWiHMkVD0T88sIHbHVl+F0l5gPLpnZK9rS9eV75aZkoF7fmf4ZMDg uw81pjnEAcTsRBZxKK9uwkwhHhR8hoGu/ZNvzAdPPB9SRgHr2yVGB7bGayBH0dn8CzSZ Tbrm9W3MOY9W630mPBo3cbVJowh83VavcAo+kGGue/0gkj0QFPTp5682ShMtAjD59o2R Xtn43+QgBqkWKqKMdCH/RG3FCvejYA3aasa9MDdNEVY33ps2MZMz3blj/XXlT4T+GClY RETphrFtwaqYd1fliYL+K2Lv6wmcsjdQwmx/eRY1i0unLTV/BeY1KdeOCfPeVI38Yk8e 7mNg== X-Gm-Message-State: AOAM531nvaQxLWwYuM9mzgdExk+DwPd+mB4B8KXqh/4+NkQpw0Cfdhm/ JoO4KpgnUwRCiC7fUagi7/w9Eg== X-Google-Smtp-Source: ABdhPJzn6LYGfIvTwksk0xQNlW/W3F8r99EJcrlLsE/jQtJCtI4G4XKP/gnT/rT6mUIH5J6AL5Drzw== X-Received: by 2002:a05:6a00:1385:b0:4ad:580d:8a8 with SMTP id t5-20020a056a00138500b004ad580d08a8mr33932528pfg.10.1639412940703; Mon, 13 Dec 2021 08:29:00 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:9447:edff:ad23:1bfc]) by smtp.gmail.com with ESMTPSA id mh1sm7803802pjb.6.2021.12.13.08.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 08:29:00 -0800 (PST) From: Hsin-Yi Wang To: Matthias Brugger Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] arm64: dts: mt8183: Add katsu board Date: Tue, 14 Dec 2021 00:28:53 +0800 Message-Id: <20211213162856.235130-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_082902_115496_C069402B X-CRM114-Status: GOOD ( 14.38 ) 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 Katsu is known as ASUS Chromebook Detachable CZ1. Signed-off-by: Hsin-Yi Wang --- This patch depends on [1] to add Himax8279d MIPI-DSI LCD panel driver. [1] https://patchwork.freedesktop.org/patch/462468/ --- arch/arm64/boot/dts/mediatek/Makefile | 2 + .../dts/mediatek/mt8183-kukui-katsu-sku32.dts | 38 +++++++++++++++++ .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 42 +++++++++++++++++++ 3 files changed, 82 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 1613259b686576..c130518c3293d5 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -28,6 +28,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 00000000000000..f923b8c3c49c36 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "MediaTek katsu board"; + 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>; + }; +}; + +&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 00000000000000..1ab14096a279c6 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +/ { + model = "MediaTek katsu sku38 board"; + 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>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +};