From patchwork Wed Apr 21 09:05:58 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: 12215749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24736C433ED for ; Wed, 21 Apr 2021 09:08:52 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 82AAD6143D for ; Wed, 21 Apr 2021 09:08:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82AAD6143D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=qJi9nqt2/9g2XYU+Wy3MFca7fYaxCTlut2aMK7N4yk4=; b=ar8edtX+YWzZMulwWa1knD6xi M6GG0bbIt3SrdjBnNdLyAFsb16JC2tMs/pvrkH3Q0+d3+bcl77f0f9DF9fmogvDBWEc/l+tSDu8hE B687/Ib5HGf/HZrkdFEbCcor8wjntFm83ly+mxQborQ9g7xkeMZp3ruYRC7hdBCRh7tzveAn5uf03 vvmDIPOkTDH2rs19oBvDUxyZovTeUFXNDzgLFjJSY6NlBVObeD57IdJkq2KvDRgBvCITSuK791RxR NP4gXxRjeqi6L8rmnAbeOfh49ErcnN7Xp3wfOq5HcimTuIWu7hNaJDDgG4WuVtxVUDVkP7xrUMZwD DbKTIFERQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZ8qa-00E3VW-KW; Wed, 21 Apr 2021 09:08:36 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ8oT-00E2xW-RB for linux-mediatek@desiato.infradead.org; Wed, 21 Apr 2021 09:06:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=hAjIGxekuyAA7cwweyyVFB1n6+uBzXOB8jhxw225zw8=; b=CclDGKKfpSlqTu9UnkxJTuRkFg 9ymMpdkIDuG16ATDbdaA0hN0LYYPWzCY0z/IYvHxzv9h9NQ01VP/MuuHXKS5Fll9MGDGT9OiZz2zm CgABeJ8x4GMh40e8xeWVrc9flhKuWL5Gql/Y8CiQb91PhJP2OdP/TdBWj6Y+yGr2509YtXbe3WoUY 7hWcaICpGADQSzThh/vzDsb6KPU2Rq1KRkbuC6OIplNHJeVWCkiMREhNupLkcD84NPRdDDD/ZrtoA uwChocPe7R36lhCKvfmCo0dWUfZL+SQSlnnzmgJf1lrVkkqr8AfjXLoDr1up5wH6Tu1RUSgOmR7dy yVxms/BQ==; Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ8oO-00CjgL-QH for linux-mediatek@lists.infradead.org; Wed, 21 Apr 2021 09:06:24 +0000 Received: by mail-pf1-x436.google.com with SMTP id c3so9346745pfo.3 for ; Wed, 21 Apr 2021 02:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hAjIGxekuyAA7cwweyyVFB1n6+uBzXOB8jhxw225zw8=; b=GZyk77PZAYerJMI9C7HUNI8XqR3ZaN4WDgZIO9bgwTRKJSo1yEOoMT6N9Fqr1kxMh+ ZABhOMRYXruV6MBiQPuwt1vRsV6ZvS9QuKLV23yUG/hTBplsHUl23vEL0wrfrcaB+/RI csOVmdILhNQr2rb+P4HQ/rwYZDqo2dhy/TM28= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hAjIGxekuyAA7cwweyyVFB1n6+uBzXOB8jhxw225zw8=; b=QEI+39qVmHX3XVqXLPuTzYEw6Srj0Jvu0HUNq35krgWEmqu+P6/NT4rC/QxXyQauQt qW+NgD2hcPIR1u6u9itNV1OVgJ1YgrXy0Sv40qQq51D+z083eokWy+jdeEecaEyL/B9f J/OWLEs2lmyybAxB3shEHrtJ9qGUVPwZvK40/0bA3Sv0YtuWI/ykQTa8DaxixegNqA7W /QdHB3fok/+GMOC/99tiBEd1GEu4B/39uhjLkJbgyep6pbe0xWNhMipCE7nSlCu5bITV ynyQLtIh8jNrl8yzqX0xf6S/oFQOp8dob5LtgApVVIPHHs4Gc472x2WyZG1GgdYnLKhD 3KoA== X-Gm-Message-State: AOAM531T6g3/sHEyEiG/BKsJLinPEWYPsDvDxL00BND2AVgcF3azcCOo H2A9xFA038dhnMDZs5tReNPn9w== X-Google-Smtp-Source: ABdhPJz3473fVZTsBnKmOW4FOjUqYl8PKnmrIzEG9KRa91PZwY6PVdaFgMDg+lti3LhmrG8DWeqrjA== X-Received: by 2002:a17:90b:50f:: with SMTP id r15mr10028613pjz.39.1618995979076; Wed, 21 Apr 2021 02:06:19 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:60c1:887e:ac53:9b5c]) by smtp.gmail.com with ESMTPSA id jx20sm1495889pjb.41.2021.04.21.02.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 02:06:18 -0700 (PDT) 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, Sean Wang , Ben Ho , Enric Balletbo i Serra Subject: [PATCH v3 07/10] arm64: dts: mt8183: Add kukui-jacuzzi-willow board Date: Wed, 21 Apr 2021 17:05:58 +0800 Message-Id: <20210421090601.730744-8-hsinyi@chromium.org> X-Mailer: git-send-email 2.31.1.498.g6c1eba8ee3d-goog In-Reply-To: <20210421090601.730744-1-hsinyi@chromium.org> References: <20210421090601.730744-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210421_020620_858481_7E65B2A2 X-CRM114-Status: GOOD ( 14.07 ) 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 Willow is known as Acer Chromebook 311 (C722/C722T) Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/mediatek/Makefile | 2 ++ .../mt8183-kukui-jacuzzi-willow-sku0.dts | 13 ++++++++++ .../mt8183-kukui-jacuzzi-willow-sku1.dts | 12 +++++++++ .../mediatek/mt8183-kukui-jacuzzi-willow.dtsi | 26 +++++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index df70674949ce..5f43bbc2ea72 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -16,6 +16,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-damu.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-juniper-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-kappa.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 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku272.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts new file mode 100644 index 000000000000..281265f082db --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-willow.dtsi" + +/ { + model = "Google willow board sku0"; + compatible = "google,willow-sku0", "google,willow", "mediatek,mt8183"; +}; + diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts new file mode 100644 index 000000000000..22e56bdc1ee3 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-willow.dtsi" + +/ { + model = "Google willow board sku1"; + compatible = "google,willow-sku1", "google,willow", "mediatek,mt8183"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi new file mode 100644 index 000000000000..76d33540166f --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" + +&i2c2 { + trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + + interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_JUNIPER"; +};