From patchwork Fri Sep 6 08:57:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianeng Ceng X-Patchwork-Id: 13793722 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74265CE7AEC for ; Fri, 6 Sep 2024 08:57:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jfPCPDyI1RrKAFi5i8oSogBSmIZBHNxCV6AppJiq/Hs=; b=bYnEH2/RwPE71AdCrpHZdhIGRX y0g5ITV3lFh7sWE3eIT1RcCPvtJJpcL2gqiOH0ktAv0Mshslzc48oQJguVX5KuiORh+li8P8FaYTL VZiNTAxniwt+VyNGdvFz9OhPgItVWF/m3fW6Ix/QxzrvroE8g4H5C8206N4FcJodRpLufA9Wxbv6N g1OvRS7Usz3jdpFYeT20hR+ayIPfb9YRBgDm5j1WAFhwihoj9YPrat+qGpO41yekAxjdUu223on7D pgFmfaMo8PbJw/ar+4GtYYcGsr6Q1y5R3NY81n0ukEUcIgO2iFBI+5vWAwPTv6bp9O2DwZ1ieSJbW IigPdAYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smUn0-0000000BQxS-3XFe; Fri, 06 Sep 2024 08:57:59 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smUmy-0000000BQw4-0MGP for linux-mediatek@lists.infradead.org; Fri, 06 Sep 2024 08:57:57 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7179069d029so1229006b3a.2 for ; Fri, 06 Sep 2024 01:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1725613075; x=1726217875; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jfPCPDyI1RrKAFi5i8oSogBSmIZBHNxCV6AppJiq/Hs=; b=ifxNAvquZ8LfvTY+BgHXfwropxhsHzzv6lbLb4iEQWUOY+l7i08gnoJwrbLABp1xr6 4Ak9vXCGBQweoJQyaytGeV2gKkrcQYnWZ9xHrVr5dIzWbv9KD3KffGgISspwBHAKEVlH dS1rheGOb8gbdYjfEToKkt4VU9vz/KwOLzlTyCKia71VQUDB1w4ElBtUal6ap9lsidnk nheVSA0Sb/LXkT9J3GrUdf+Q6bSAHt27NRJ3t9lLRFs2UP1V31bez3QonSEDlLO2evF8 ZCHXfLboaSQBC/TRRPLJBRcVHhIIK01c1x7/s0MdjCnEFtL1PtLDQkVhGp9SVlvHywLw 7Irw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725613075; x=1726217875; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jfPCPDyI1RrKAFi5i8oSogBSmIZBHNxCV6AppJiq/Hs=; b=RwiemVy6pkTK5Ds8ug8rSRYgZiUeGsbmCCrcHUDB1p4CoEDNH5SvrsDEihDqwfsRGA 7AWb8XCOUr4RPdk8h/9Q/jteK2XoWqozaU3xxlLpgUL4fHV3GW7x2B/EebItabk4Cx/h 2uKW+InG+jEVjL6UWDDP63RzOM5ij+izzJKQKIDNRpNdM7k/+2GlnG4YJXmfZy9RT0M7 cIxE0p3U68hIro3/YbnKQmJbQtSxYoQc/Gy7/7jMWZrqzutoWAhtSzW0SYs6m5i+Dlan 5OA6Irm2ytfiyArr2YzRNuqL8GHM7g/IQd7boRkbxESr7yl4t6Ld2Hm7LzoU/borafHT Wm1w== X-Forwarded-Encrypted: i=1; AJvYcCUsZ8cDPA4Jlmj6sCQZegqZr5QLto6NTDKmjrivlL59vtz4Zj0CkOM8TjBxYaU/rdQAWH7XkQfSgEyTMNbcgw==@lists.infradead.org X-Gm-Message-State: AOJu0YzyKOitBNM2LM5JhVOdFHtpLn+PRFqam8AienzsfXIC8G3k3lhP US/c/21/iCc+n0yC5iG4vsvIF5BIM1Kqh9U1Ve1FC2TNiWVE3NHsm6B0BZKW29A= X-Google-Smtp-Source: AGHT+IEQknbzHq8Vt5pY2Z0mPW8VsXzjXllMF+wnb/G0zbnfo/dO7wl0slgZX4oz+k9PIl8B5XeZGg== X-Received: by 2002:a05:6a00:ac6:b0:717:9462:8bda with SMTP id d2e1a72fcca58-718d5e16866mr2039277b3a.12.1725613075015; Fri, 06 Sep 2024 01:57:55 -0700 (PDT) Received: from zjn.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71798286219sm1439166b3a.57.2024.09.06.01.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 01:57:54 -0700 (PDT) From: Jianeng Ceng To: angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, knoxchiou@google.com, hsinyi@google.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Jianeng Ceng Subject: [PATCH v4 1/2] dt-bindings: arm: mediatek: Add MT8186 Ponyta Chromebook Date: Fri, 6 Sep 2024 16:57:38 +0800 Message-Id: <20240906085739.1322676-2-cengjianeng@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240906085739.1322676-1-cengjianeng@huaqin.corp-partner.google.com> References: <20240906085739.1322676-1-cengjianeng@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_015756_151948_F323D854 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. 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 Ponyta is a custom label Chromebook based on MT8186. It is a self-developed project of Huaqin and has no fixed OEM. Signed-off-by: Jianeng Ceng --- Changes in v4: - PATCH 1/2: Add more info for Ponyta custom label in commit. - Link to v3:https://lore.kernel.org/all/20240904081501.2060933-1-cengjianeng@huaqin.corp-partner.google.com/ Changes in v3: - PATCH 1/2: Modify lable to label. - Link to v2:https://lore.kernel.org/all/20240903061603.3007289-1-cengjianeng@huaqin.corp-partner.google.com/ Chage since V2: - No change. --- Documentation/devicetree/bindings/arm/mediatek.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 1d4bb50fcd8d..4bc1777b9ea6 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -257,6 +257,17 @@ properties: - const: google,steelix-sku393218 - const: google,steelix - const: mediatek,mt8186 + - description: Google Ponyta (Custom label) + items: + - const: google,ponyta-sku0 + - const: google,ponyta-sku2147483647 + - const: google,ponyta + - const: mediatek,mt8186 + - description: Google Ponyta (Custom label) + items: + - const: google,ponyta-sku1 + - const: google,ponyta + - const: mediatek,mt8186 - description: Google Rusty (Lenovo 100e Chromebook Gen 4) items: - const: google,steelix-sku196609 From patchwork Fri Sep 6 08:57:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianeng Ceng X-Patchwork-Id: 13793723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6ECACE7AE8 for ; Fri, 6 Sep 2024 08:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3EfFBp1wXhqXGQ0z4fPZf0mQEpxoDBgUaigKfKC4KO0=; b=BNKb3jYkax7MoiwPK6n/sB4gaw agSOjdj2TnSzBV5LMGJZHQMLYhgDwGkqx7gEKpTfw5qRaPQLe+oVGy/Ff/SZ3oPRAbhc/b+7IdOJN 4Js0zyNaeZK2Dv6d+azMF27FCKC7ypeeobR8407LC21yahclYWSnI7TEOt7zGK77zwUEABbnHznkQ g90wZAvpABS7sPOFSyTTYiK6qDkdlG/ZRuYfpSUmVVx6LKkeKGbjkJU/Shi6bOVW87NgtHPmJTV9M Cmr1jt7sdsJOUVwiVKuh3ecq4zWR48goAfTVLhX6usIMqej/F22ex9IUpILUF8O9FUrA0MlNcMrNT NuEWNYFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smUn6-0000000BR0v-2Lvc; Fri, 06 Sep 2024 08:58:04 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smUn3-0000000BQyg-0VuI for linux-mediatek@lists.infradead.org; Fri, 06 Sep 2024 08:58:02 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-717877183a2so1324134b3a.1 for ; Fri, 06 Sep 2024 01:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1725613080; x=1726217880; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3EfFBp1wXhqXGQ0z4fPZf0mQEpxoDBgUaigKfKC4KO0=; b=WNg20nXEKzN5qB2HIJNQQwPjmRySOGdiLY7SwSxI+k/MZUSJ/vl+1BDzhxVuKJk3to ZTvu/CKxsPL3/LNrOCu7fHDZCRNwBTMJEYbB+Of141nh2YqxkMoy0SswQgfqt2rHkcuh BNyQqJoua7BlNSbF/AeTrBHwjMT80kmlt1jwUzb/0DiUxoY3hVrVgNMRfxIcgk3+FAQ3 OzkFgI8DTPIEEhjY8FtQf31eQNaDZZBCyqPWz1iHYIZudiuFGOkNSuyVLyvQgqz2bOGY L7Vyyh+ohqLleqgxenwa3gFkLFQej0Uh+dLYK3hk6jMZW65K0bpjC2idmBKnMg+SQgcJ V5/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725613080; x=1726217880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3EfFBp1wXhqXGQ0z4fPZf0mQEpxoDBgUaigKfKC4KO0=; b=XfDrBpbrznbMUlrZ22iPJnK1Rd1osS0bHQ287EdWJO0AdOo7wYQ6Kfnjhn5BQEWBF2 ALTuNDJM8a7anhcsZGXRTXFzr45sqOw6uOAlPcGhj8K2t8YOyvzUXs5Kqfh84dhWYgGm Iq59K/C7/ig1yRHbpV5xxmmirvluIWx0jvO3sXzYnuTuSdF6Ra9uKI6nVzJRG7lLC4ry 97DfLdnaX82YdsNp4z60LewwDg0Gbcuqb9GWtOV79ng94vZz9P8kHaZGSJazaskY9ptd C+UqLMT7Nf0T0cMaqpR71D8d2rvc4zsdf0yfKhywiL8PlxU9AfpCnFbicPUlz1fIJdQK 4GGQ== X-Forwarded-Encrypted: i=1; AJvYcCU4yzxxUAZ9EI+wgEJpqlmumWdCNBEpot/WBt5Ggvf5E7ph78ymVX6QZ9xJUfxPoSmjXwbwwa6uvOAcr1Sjiw==@lists.infradead.org X-Gm-Message-State: AOJu0YwClb9pi+sg4IXG6kF6uUudRsQ1rKOh5/hujhrruPtkIlUr9hYC 4k9mluuum5Lss1TvM3KcdmpnryQwc2s3CnJhw+U772wioES2hPu+Gv4HCwJ1eK0= X-Google-Smtp-Source: AGHT+IELjKKId1GfQ6rqctJGD5Hb0LtWyeY8naC4jG0b4b3bdC01FFjBil7M4pihEGBQJ4DfSlKJOw== X-Received: by 2002:a05:6a00:1141:b0:717:94d2:43c3 with SMTP id d2e1a72fcca58-718d5f32cfbmr1725255b3a.18.1725613080132; Fri, 06 Sep 2024 01:58:00 -0700 (PDT) Received: from zjn.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71798286219sm1439166b3a.57.2024.09.06.01.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 01:57:59 -0700 (PDT) From: Jianeng Ceng To: angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, knoxchiou@google.com, hsinyi@google.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Jianeng Ceng Subject: [PATCH v4 2/2] arm64: dts: mediatek: Add MT8186 Ponyta Chromebooks Date: Fri, 6 Sep 2024 16:57:39 +0800 Message-Id: <20240906085739.1322676-3-cengjianeng@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240906085739.1322676-1-cengjianeng@huaqin.corp-partner.google.com> References: <20240906085739.1322676-1-cengjianeng@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_015801_191767_31B437EF X-CRM114-Status: GOOD ( 13.74 ) 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 MT8186 ponyta, known as huaqin custom label, is a MT8186 based laptop. It is based on the "corsola" design. It includes LTE, touchpad combinations. Signed-off-by: Jianeng Ceng --- Changes in v2: - PATCH 2/2: Modify the dtb name without rev2. - Link to v1:https://lore.kernel.org/all/20240902125502.1844374-1-cengjianeng@huaqin.corp-partner.google.com/ --- arch/arm64/boot/dts/mediatek/Makefile | 2 + .../mediatek/mt8186-corsola-ponyta-sku0.dts | 24 ++++++++++ .../mediatek/mt8186-corsola-ponyta-sku1.dts | 27 ++++++++++++ .../dts/mediatek/mt8186-corsola-ponyta.dtsi | 44 +++++++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta.dtsi diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 8fd7b2bb7a15..50b5cf04d3ae 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -58,6 +58,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-magneton-sku393216.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-magneton-sku393217.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-magneton-sku393218.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-ponyta-sku0.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-ponyta-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-rusty-sku196608.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-steelix-sku131072.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-steelix-sku131073.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku0.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku0.dts new file mode 100644 index 000000000000..87e8368189d9 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku0.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-ponyta.dtsi" + +/ { + model = "Google Ponyta sku0/unprovisioned board"; + compatible = "google,ponyta-sku0", "google,ponyta-sku2147483647", + "google,ponyta", "mediatek,mt8186"; +}; + +&i2c2 { + touchpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>; + vcc-supply = <&pp3300_s3>; + wakeup-source; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku1.dts new file mode 100644 index 000000000000..203ee109bbf7 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta-sku1.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-ponyta.dtsi" + +/ { + model = "Google Ponyta sku1 board"; + compatible = "google,ponyta-sku1", "google,ponyta", "mediatek,mt8186"; +}; + +&i2c2 { + touchpad@15 { + compatible = "elan,ekth3000"; + reg = <0x15>; + interrupt-parent = <&pio>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + vcc-supply = <&pp3300_s3>; + wakeup-source; + }; +}; + +&usb_c1 { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta.dtsi new file mode 100644 index 000000000000..59594022331e --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-ponyta.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +&keyboard_controller { + function-row-physmap = < + MATRIX_KEY(0x00, 0x02, 0) /* T1 */ + MATRIX_KEY(0x03, 0x02, 0) /* T2 */ + MATRIX_KEY(0x02, 0x02, 0) /* T3 */ + MATRIX_KEY(0x01, 0x02, 0) /* T4 */ + MATRIX_KEY(0x03, 0x04, 0) /* T5 */ + MATRIX_KEY(0x02, 0x04, 0) /* T6 */ + MATRIX_KEY(0x01, 0x04, 0) /* T7 */ + MATRIX_KEY(0x00, 0x04, 0) /* T8 */ + MATRIX_KEY(0x00, 0x01, 0) /* T9 */ + MATRIX_KEY(0x02, 0x09, 0) /* T10 */ + MATRIX_KEY(0x01, 0x09, 0) /* T11 */ + MATRIX_KEY(0x01, 0x05, 0) /* T12 */ + >; + + linux,keymap = < + CROS_STD_MAIN_KEYMAP + MATRIX_KEY(0x00, 0x02, KEY_BACK) + MATRIX_KEY(0x03, 0x02, KEY_REFRESH) + MATRIX_KEY(0x02, 0x02, KEY_ZOOM) + MATRIX_KEY(0x01, 0x02, KEY_SCALE) + MATRIX_KEY(0x03, 0x04, KEY_SYSRQ) + MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) + MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) + MATRIX_KEY(0x00, 0x04, KEY_PLAYPAUSE) + MATRIX_KEY(0x00, 0x01, KEY_MICMUTE) + MATRIX_KEY(0x02, 0x09, KEY_MUTE) + MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) + MATRIX_KEY(0x01, 0x05, KEY_VOLUMEUP) + >; +}; + +&mt6366codec { + mediatek,dmic-mode = <1>; /* one-wire */ +};