From patchwork Fri Apr 16 16:40: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: 12208205 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 E6020C433B4 for ; Fri, 16 Apr 2021 16:44:58 +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 76F7C61042 for ; Fri, 16 Apr 2021 16:44:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76F7C61042 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=Yi9S13976eCncwbDqLjNUPAEGoa4elOcCII5/B9wO4M=; b=HwTUZngi4Wkj1odvbqAa99IO6 /S52QjJp74TB+fK8BcetiXMTXAG3gfVLuMWlqgGgqsaVRO6A+he7Jj3wcyUCa8LL6yWzLeWj+Uzsk MLfJcHcv+O0wCkVGAzidIaGK2dS9UgQ3+C3VBWDXe4OXRQIBCdp/rnVgev4AfgzK8i5sZAvL15/Ix SHG1iaxRC9otNFZ5YFx+M5W1mXioSA+IzWZvioJYiuoWEytbF0cdMghmdqg+//5U6+v0Gxa5nkhd9 1/E7Cc8Hu5pzZ2u6KJD/6VTpZMNPvfqqZsN3saw+HOnBqZiL/0yUVvtZWKED4K4K8ad48LQMGDU8o s8Cfeckqw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lXRYO-002p2W-Ap; Fri, 16 Apr 2021 16:42:48 +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 1lXRWt-002obv-ED for linux-arm-kernel@desiato.infradead.org; Fri, 16 Apr 2021 16:41:16 +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=lZMOmO5LN0ke3Gr4hXLuwWjBNhQf+GYhYKHtL/Hu3is=; b=Rf+XOSZQ3RFelZwgX55OO4lFK8 Ah9nItncLBXlkmHP3wAC/1ovjfuykte+4IrjzNrCiTPnvhr3emwjoEPPsXdB20INPMPvuLon/9dt2 cIWGjNy0JWsXoqJUA7t8oxQhrO3q4K1BkUbKF4ZLyD9YIKh/BhS38IFD9eQwAAm79WYDVrJvjzL7N z4MBYaU+NuCaA7w5JpyRJEofxHmY4gDrfB7Z5mEjwiIfRjJXw7RXTF4I6DU0bNBs5cMAdhsmuqC7f d6x6zEul7bAyjhgxkAkF4lfp9/kvNeFTWXo9qMKe/Zg9MXwGJws2ljKEwlwo/kS9lJsQePZoxnxYM hEqJlVOw==; Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lXRWo-009YzA-Ba for linux-arm-kernel@lists.infradead.org; Fri, 16 Apr 2021 16:41:14 +0000 Received: by mail-pf1-x42d.google.com with SMTP id h11so1056070pfn.0 for ; Fri, 16 Apr 2021 09:41:09 -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=lZMOmO5LN0ke3Gr4hXLuwWjBNhQf+GYhYKHtL/Hu3is=; b=mJAWqjHklkMTtKytyF5E9inqF42WAwm+wP/AtT0DcSPSM0pAcbOOwfmaKJPSKyMLiM RT+qKRj3FedE5AbJxnvK6hDF9VdiFLJz1V+hM7H5TIhyYKI6fHiOOHrnjzIU+MBKa4nt d4CWCmGjeeydCjyB9iIHjHjtizeDxwnmTTCr4= 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=lZMOmO5LN0ke3Gr4hXLuwWjBNhQf+GYhYKHtL/Hu3is=; b=qaCQrvN8Q2pbvnMKwF+h2dcGF2R+tbzLlfR6MebNfKixtFShvyDQO9f6/AeJ+qMdAe 5K5Zf7XU0uVn2aXRTzCDYfWXBNU/SbDcSpeOmDae7GCTCkDesKi3wyrH2mOgX8WYDykH X3b6oYmkxNnZXelEX0WDEmoChyjSjKGhMOqPb9CMg96gCIqiyjvXOeV8xgkFoaskDbRR DV5T4EJIObch/IsUFMqM21T34eDu0FY3Mcw15e+IWU7oGpoOUsyGIQv2PMeACn45Qhwd mFR0yqPy4l09xrzhMhsqTqyLCOrDkAVT2BvRg8dW0U5ooQQIQDMybvb9Lv44icPd+Kuw 7uyg== X-Gm-Message-State: AOAM531rLgkJepKIDqfF5GDJlWGHWbwWU/T5kjmUoI6+v86W4Sa31AfF Lcsrkf069MEz1qnmKq1jHqD3Rg== X-Google-Smtp-Source: ABdhPJwYdZttMSn0r6BcUdOMYSvSo48ucJ3fXtdCmNbN3RvQyiXm/NIATHP5LRRKrWaCGXB76VaRcg== X-Received: by 2002:a62:1c88:0:b029:255:fbb5:f79d with SMTP id c130-20020a621c880000b0290255fbb5f79dmr8939219pfc.51.1618591269144; Fri, 16 Apr 2021 09:41:09 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:ccd5:218f:365:b90f]) by smtp.gmail.com with ESMTPSA id g14sm6187186pjh.28.2021.04.16.09.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 09:41:08 -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 v2 6/8] arm64: dts: mt8183: Add kukui-jacuzzi-willow board Date: Sat, 17 Apr 2021 00:40:53 +0800 Message-Id: <20210416164055.3223088-6-hsinyi@chromium.org> X-Mailer: git-send-email 2.31.1.368.gbe11c130af-goog In-Reply-To: <20210416164055.3223088-1-hsinyi@chromium.org> References: <20210416164055.3223088-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210416_094110_416104_A1F16CC7 X-CRM114-Status: GOOD ( 14.95 ) 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 | 28 +++++++++++++++++++ 4 files changed, 55 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..3204c1abc4ee --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" + +&i2c2 { + clock-stretch-ns = <9500>; + + 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"; +};