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: 12208211 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 0F578C43461 for ; Fri, 16 Apr 2021 16:42:43 +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 889AC61042 for ; Fri, 16 Apr 2021 16:42:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 889AC61042 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=PUGkc0eFFPRT1pEvaJPxkf+xlYrylSLLpr2s5NZ5jRA=; b=ncPS8iD2R0IHekNeQddwqgCNx lv2R+BA+zARuMMAVAv2T5aJOnk1rntmwXiXnxVVknNcgz/Y8RbnW9gZZRlZ4bJjHUcdqibTozsZnZ ywWWx/9hwBDp4lOWqPrMgp9o5v00ooEJxUY2LTGgZDERPLDaEwEiX43rlL2u2Lmf921KKx4oG+IUy 5+Il7uU0BQQYZelcYspqxJuYB02l86g02BijoH1oCbY1z0Nq7h58PlRMrSHkslFVXhXEKQzykEvXK fc/NGhj3SYte7CKYUfoMhCVs63IaT5VOGaf0o5INfqym+/xDjXGugkLluullhjXPCQfzEWIsvyq+R dGS/+G7aw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lXRY4-002ouM-TA; Fri, 16 Apr 2021 16:42:29 +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 1lXRWr-002obd-V9 for linux-mediatek@desiato.infradead.org; Fri, 16 Apr 2021 16:41:14 +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-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lXRWo-009Yz9-Bb for linux-mediatek@lists.infradead.org; Fri, 16 Apr 2021 16:41:12 +0000 Received: by mail-pf1-x436.google.com with SMTP id p67so13757269pfp.10 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=ONpeX18hJIkPqbVzju2OodFNPT5bTn4+1JSrg+dx2Wl7zxSW3DJlytG8ExrWm3fbom 6H5zf+CadCTGLjcqVue4NCmTT5DpGTig+/hHR4pfBiYt0EnXCxUkPsyyI+IipbjdVRCR 8cVsImOM9X4wad9g2f9Njhp93E64sLP31DS/6iGI1rOcBznHVIkABqB4IgA37IoWYj9e VZLfauwisnu26CqhVqquCS7lmsHKxuUOAfZpXdtpxK+TImVheVmJO7gAx0FNmoRUp/jP ZwPpJww5GSXjtfNA/xORheudqQWZN53CSj4dZ1M4PBJ4tqxXfb/k1FWAMnaN85D9ozAs QXoA== X-Gm-Message-State: AOAM532J1ltUejilwApxsG+/sgnL35Y7MTMuuzsYFGriOwDNmXPXvFlU 8pa2w3ypt8iSgxlrNBcyz69ycQ== 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_419768_9BF2A195 X-CRM114-Status: GOOD ( 13.81 ) 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 | 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"; +};