From patchwork Fri Mar 19 03:52:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12149933 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=-17.0 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 BD3C0C433E0 for ; Fri, 19 Mar 2021 03:55:12 +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 5F9F864E01 for ; Fri, 19 Mar 2021 03:55:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F9F864E01 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=T8UYX8v2LCZySOoSUFjHlAuAWdN0d5A78wESncOQnj4=; b=EVGFLyXxmKvaqRCf+glba8h9P A/VjxLUsO4voOd0siLRS3hqFXYOCeMOQYVu5wXXf5ckT34k66I9pINvu+JbYIyPAbA39+rqbQJO4x FYrjnHuQMWO7DsM2VSWD0TzRu9ZInVL8dMhKkj77kmzwZmJ8rJ1EyhQy+viIDWAD5yTuHWiq0E/cA ddLyIEx27eu2ppYGfEcVchjdPgdC13QWw5us7wmEvIxL1xr5ucKrBmI7Xl6f6TkGZQh/wIeMOLhZl bHpWqIGPhIJiueHj7AaYm6gH/FBousVQZMQWTLaeJ8peB8GJgUPgHQzQw7zoD2Jz3WNKK9CBJhgeo xD5xX/8gA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lN6CY-006Qg3-8v; Fri, 19 Mar 2021 03:53:30 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lN6C2-006Qap-Ks for linux-arm-kernel@lists.infradead.org; Fri, 19 Mar 2021 03:53:02 +0000 Received: by mail-pj1-x1033.google.com with SMTP id ga23-20020a17090b0397b02900c0b81bbcd4so6091452pjb.0 for ; Thu, 18 Mar 2021 20:52:58 -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=0c6ue7k7W+aM2C/ru0d4xrULEj/JDjoLwyUHXQYoMxI=; b=nv1Nx7xsndUI6U29g+m86RII2Symog9Ppe+sR30OmWZ/YOOcqph1L5Jd+xN/HdcFoI vNlvlU4PBDG5QqNvjgjv95u0C5jUqB5wp/yPJQk5dZWi62DaM7wcWqD9KaGUAaKtyix8 TZGSwWcexyzZOPo82x+EhmCLcjZyMOoWlrv4s= 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=0c6ue7k7W+aM2C/ru0d4xrULEj/JDjoLwyUHXQYoMxI=; b=S4/Nn/qXizhDhjIm7g1y5KBFcbYECMwgKIVo32wPSqNZ1xGip6FbZKaSK5XGs6Wni7 xqelSQZ2a2c60GVOhK1ap7GSGCE746MnyB6HuKBYkYw/fUIsoakKNxQduHZIqU5vezcz gaF4C/xL7fPdOKP9L230jJ7eFARXJBlE/fIg36dNwnlThyr6PiQpxkgow74bpoyFdifC HxM9xJgREwPXiPGeP50Fqb0YQ6o2zJm+q7E3uJZFW30ChvSXryyFMs0Admhd2Qb5KBqQ 9Sf2HqtSNPrLSSEj4/uIm1ND6dgo54UyIUcUVLlUsPT+OIV/p/FxANmZEZnprBXOSHw5 3BYw== X-Gm-Message-State: AOAM532xDTSaQ00w5LTS+5FHF97iOhpIz1kRIYAQzERgkTVba9d8IN4+ y9Am2hongWJc7fLnnP4bxwT8zA== X-Google-Smtp-Source: ABdhPJzAsFK+Zh3E/btZHCY105Qrc22+B+j7F68MDjbBqt+1bIvVfKn8q8ZxeM7+VANXIB/a25HmGg== X-Received: by 2002:a17:90a:c588:: with SMTP id l8mr7574989pjt.120.1616125977224; Thu, 18 Mar 2021 20:52:57 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:e12f:5c36:14f:bbf5]) by smtp.gmail.com with ESMTPSA id u66sm3442180pfu.186.2021.03.18.20.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 20:52:56 -0700 (PDT) From: Hsin-Yi Wang To: linux-kernel@vger.kernel.org Cc: Rob Herring , Matthias Brugger , Hsin-Yi Wang , Enric Balletbo i Serra , Fabien Parent , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Ben Ho Subject: [PATCH v4 4/4] arm64: dts: mt8183: Add kukui-jacuzzi-juniper board Date: Fri, 19 Mar 2021 11:52:45 +0800 Message-Id: <20210319035245.2751911-4-hsinyi@chromium.org> X-Mailer: git-send-email 2.31.0.rc2.261.g7f71774620-goog In-Reply-To: <20210319035245.2751911-1-hsinyi@chromium.org> References: <20210319035245.2751911-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210319_035258_856272_0427EF55 X-CRM114-Status: GOOD ( 15.87 ) 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 Juniper is known as Acer Chromebook Spin 311 (CP311-3H). Signed-off-by: Hsin-Yi Wang Tested-by: Ricardo CaƱuelo --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../mt8183-kukui-jacuzzi-juniper-sku16.dts | 13 +++++++++ .../mt8183-kukui-jacuzzi-juniper.dtsi | 27 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 554105d2c389..db4753d82a4b 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -14,6 +14,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb 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-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts new file mode 100644 index 000000000000..36d2c3b3cadf --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-juniper.dtsi" + +/ { + model = "Google juniper sku16 board"; + compatible = "google,juniper-sku16", "google,juniper", "mediatek,mt8183"; +}; + diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi new file mode 100644 index 000000000000..078bc765646f --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi @@ -0,0 +1,27 @@ +// 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"; +}; +