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: 12215731 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 41E15C433ED for ; Wed, 21 Apr 2021 09:11:11 +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 92E4B613DC for ; Wed, 21 Apr 2021 09:11:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92E4B613DC 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-arm-kernel-bounces+linux-arm-kernel=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=JwB764fGKoAMubcyI6HnaqKPIsYNzl6idPloe8GuYb8=; b=rKQglzj3Y89KvW9e3DUsc7dFg SXsnfFIlauJRpkrdm/ZLPh37/QFLuhJAaoy/9gNq0V+/e8O9MGe/vogFClzLC8VTX93KWyg1llCKX sIAp8DDtULj7IRdEb+vyskOvr+CUF9LaUD2O7+vJeNAiBBhApqRpEH3xiz/WRnJkIbHuwTCyTFHPl bgVH6qp5LNO30mxkuASrFopYhGSg/O3k0PWx3E06ZUvRQ/n74mP7F0CU1rnb2s7AnGbR/+LrMx5vz kLbTMNsIcCqtSKzYwblxROFvc7dfjtyX06WO2hFrBBud2dAOVGHLoimDnh848f1uU5+Oiw8mjCfaW gA/pfa53g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZ8qg-00E3Xr-5t; Wed, 21 Apr 2021 09:08:43 +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 1lZ8oS-00E2xC-MI for linux-arm-kernel@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-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ8oO-00CjgM-3J for linux-arm-kernel@lists.infradead.org; Wed, 21 Apr 2021 09:06:23 +0000 Received: by mail-pf1-x42b.google.com with SMTP id q2so3804969pfk.9 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=XhnEtGVuzq2YTgeCposHV6rSlwYfqVk782yrpwKWpXEyfUvCI3xDzjzmKIegJ1wwqg 6MGsTqfWDg2YM91ssTT4v2hALIdBuZkGLS9hzeDzsAoWsig0JkITTczxAylR1XhK9CSd d6nHRpaVfhqfmvOOj0HCWKgjh1ewEOP41X4HSAcnTEc06S1jI1oygoeYMytY78CCXGZf mJowPf0c0x86IGM1vNRchxxM+m7M47TtqhsCKOFITDIdXCQgE4oZoQhXjlUVNdhrAlDe Ww72xYNDgvZHgHsuMu9LHr3x1RNEaZQeulNyUiXuV/7BAsNaORI+JH3LSR6r5iZkj69A JScA== X-Gm-Message-State: AOAM530D7WiYnYmbaWy9gjzAaQXRo8oEDKNwt1vnKSZE9s/KTFtquKYD 2UKSP6KnwhBf31B5QQtPhVDA1w== 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_158442_564AEDB1 X-CRM114-Status: GOOD ( 15.42 ) 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 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"; +};