From patchwork Tue Dec 24 08:48:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13919744 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 C252AE7718D for ; Tue, 24 Dec 2024 08:48:49 +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: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:In-Reply-To:References:List-Owner; bh=DKiAgKyzVZ+yVhg6dILJiG6y+QvMidinDetzCMJeF3Y=; b=RQxxIKkxRddRdQJVAICgI6UiLF F37mNDCeZOgf2VqRahFc6HhF0r9q3hItuy2zTbU3mIPKi4NaPDL0iXYSY8xSuKKYpRvz0XPH/Yqw6 xaBmManbDrf6F5NzcMV7S6KifbDQvNfV49OMOAtCbygIMzOnZe8D7CMkOedKgEMWqZiaV65JCWVns P19wBk1i/60d8GENKUGJpSqeiQs64W8y3HD4Pdjh8V5i4RP4sRHtaV5GFXfF5ptKkiC7XDxTt4Ez4 e1MOebofB8UvwUMpQRDevifZZDuPEGJpOkbvhJuOVa839uS10M6pl2CIzkfenyf2TDK74/al05eM9 60q61Oag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tQ0au-0000000BWqT-3nUT; Tue, 24 Dec 2024 08:48:48 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tQ0as-0000000BWpS-2EHV for linux-mediatek@lists.infradead.org; Tue, 24 Dec 2024 08:48:47 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-21636268e43so61238855ad.2 for ; Tue, 24 Dec 2024 00:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1735030126; x=1735634926; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DKiAgKyzVZ+yVhg6dILJiG6y+QvMidinDetzCMJeF3Y=; b=oAXaprXx2ArlsBqzUsGO83yD/YNZAXO7guvpQdvy2TiCuJmsa6t9R8LML8y6jFLJWw eXYCtDcRhhNuo7rQq8f22AF3g9dIF+3Q9ilq7egVBVS+6u1Ne3wzobXGZ8c/XRogB1s3 ze7zod68ndeEX4hspq5e0E74HZ1WJq1JiEAM0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735030126; x=1735634926; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DKiAgKyzVZ+yVhg6dILJiG6y+QvMidinDetzCMJeF3Y=; b=RtsLYrfSZFEHveClyL/DHryqM4Z3e8OeJ0maKQJpopkY5UnawQ3+E8yJKRLQtif2T5 mptsNIkmMNEYJdTwd/Ez6C5h8IWCkUFwBJo9qMdke2v8wyucX9mKkMlYzBGsc/GLMj8E IBJ59qQZJfoFBjbRkjvYX/mvckI3jBTWQAtCFwWprx9V998dA8uw2uvVSQ56WTc1UBRy eqDs62a3GMc3kfZDuqiMfS3q5pD6rRGGCeSc/XtCuYh2i+5AHEQHfEMnzrrGYjEu7GuG 4piYniyfybJ4f9hI13s39HcjWpg/yNME+wf69RsGHvZw45TLS4KBLdBAaRWxlvot0FDu ddyg== X-Forwarded-Encrypted: i=1; AJvYcCVCQPWIsSCh4IxIhFqt3VPGTcqlmearvhIoNv8BmuBkti7hRkwQ+BR/xJOKwodu82EozA7Gp20tMpuSVZ/yhg==@lists.infradead.org X-Gm-Message-State: AOJu0YxM3sRDEJcQtmX0E+i8/LERuFj0cJ6n7H1AA4wSAaMVW37r9CFP pugKYQoR0s2pLcrQSw0NyGPZ5VHe/1dhkKVo9KYV8Deehcgsn96dRRT5jmqUdg== X-Gm-Gg: ASbGncttMIO0Dv0QsxpEcDlyMJNGPi0YPQZTzY7hWSuzaAhmQE7P/mjdFVs3S3IARIy p/YndigfJgzu60Swjw8jXion79+EYaOatGZyshX6lDcwUHEXcshS00xa1lpTxx15RsY2W+MXicA SdGOjdCOCdfCwmirspFXMDAhJdhH0NEaUMtmC5ZnDbwf7L3SRhHW9qWwG2JJA14KKm3IzCn6iRu Rz2fjaQAWU2v+BAAg3v8Iqbw93TKbXzZKqKiP4q5OOjsMAzr3+2o30G+8uAzRut+0zxW2PR5qA= X-Google-Smtp-Source: AGHT+IF6Wy9RxfKZv9MvppV9tdwcrpmy7JICFA5L0xxCj2pW2nZrKIeaOlDyLP7l6hYjccjkEykagA== X-Received: by 2002:a05:6a20:8427:b0:1e0:ca95:3cb2 with SMTP id adf61e73a8af0-1e5e0458eb9mr28926443637.8.1735030125707; Tue, 24 Dec 2024 00:48:45 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:a4dc:753e:e6ca:9a68]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8dbaa6sm9203156b3a.91.2024.12.24.00.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 00:48:45 -0800 (PST) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno , Matthias Brugger Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: arm: mediatek: Drop MT8192 Chromebook variants that never shipped Date: Tue, 24 Dec 2024 16:48:37 +0800 Message-ID: <20241224084839.2904335-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241224_004846_600178_DBFFD74A X-CRM114-Status: UNSURE ( 6.87 ) 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 The Hayato rev5 sku2 and Spherion rev4 variants were designed in anticipation of shortages of the headphone codec. This never happened. As far as our records show: the variants were never produced or shipped, and no such devices were deployed to any lab. Drop them. Signed-off-by: Chen-Yu Tsai --- Changes since v1: - none Documentation/devicetree/bindings/arm/mediatek.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index da6af39caa9b..3ce34d68c213 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -370,12 +370,6 @@ properties: - const: google,hayato-rev1 - const: google,hayato - const: mediatek,mt8192 - - description: Google Hayato rev5 - items: - - const: google,hayato-rev5-sku2 - - const: google,hayato-sku2 - - const: google,hayato - - const: mediatek,mt8192 - description: Google Spherion (Acer Chromebook 514) items: - const: google,spherion-rev3 @@ -384,11 +378,6 @@ properties: - const: google,spherion-rev0 - const: google,spherion - const: mediatek,mt8192 - - description: Google Spherion rev4 (Acer Chromebook 514) - items: - - const: google,spherion-rev4 - - const: google,spherion - - const: mediatek,mt8192 - items: - enum: - mediatek,mt8192-evb From patchwork Tue Dec 24 08:48:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13919753 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 D770DE77188 for ; Tue, 24 Dec 2024 08:50:01 +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=PPDkySt8SMBgbwI9GqZ74rsS7zUg5mbUT5R3oUQV3Ts=; b=htLrkluNbphlkC+rTCUUOqkxMW mWpaxV8nkwhD6WpechpyDy0q14se7t8iWyTyKfjEcvN1hngcSK7vUUAzKtf5hZOmG0wvjhiRSJwlp oDjhVhVoylnZMWm81du30L9yEW0Q2T9VFtHt1syFvizzpHZM/qM2UCy5ut0lrKj3tWV8CAifSl6Qf sF164KU2yIP7DoqydKp40GH0lIngzF0lfv086Ijz4dZZS3h59TnYIQrTB+FC1keE1y1JaRe4D7Ei6 N2z7TTCr0uAHPwFpIS4ThjaolLV/S112uFUIz5W5SVZtRIswja5YWb8QkWdtDU0/F5RoNALsmHSvK qMuKCBUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tQ0c4-0000000BX1A-3q6M; Tue, 24 Dec 2024 08:50:00 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tQ0au-0000000BWq9-1uwI for linux-mediatek@lists.infradead.org; Tue, 24 Dec 2024 08:48:49 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-219f8263ae0so18023335ad.0 for ; Tue, 24 Dec 2024 00:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1735030128; x=1735634928; 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=PPDkySt8SMBgbwI9GqZ74rsS7zUg5mbUT5R3oUQV3Ts=; b=kLQ4oxjNTsUjyR3BXlcHzTR6DXLg7lO4VrpnwhPwbibh/43EZ2+e2C/vvWCqQJMzhF Lvl+yJJFQnTzquLi/fP++XUMq8Jgo52qacHUB7GUeUt32MxTVucrJZYPgo5MJE/NodMJ uVpq0prqImuqOTV6o9AuVA/NwvZwSdcegEgmw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735030128; x=1735634928; 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=PPDkySt8SMBgbwI9GqZ74rsS7zUg5mbUT5R3oUQV3Ts=; b=Z1Y+ocmwK10X9MrrL3yFs3T0u43oyElpZehC1yeqFZ2y0D4YKfvdbdDzmmBN6hthDn SnRFpRh3P+6cKNzeFc7nYoZ4Lk9cxBB0BzaIjN2rNab0nUG//yKAFuKBxdFhlpmAJnGu F/bA9SM0110lLgV+pI6rHtNJQgJh0PFlYSPOKAo1VZSNaY1nvF8DuGDMyHv+fEhAsaui zSd+7MPVkrWad0Oo8SGcaDIwzKwiVayWQ1DjL8neE/iVaEY8R5rCujMa1A5YjXnzNxcq Cnne39MyS4A2liVBbDdcsauDHSTtstJlVvymcYQhaTchedbVb1holS9yVbT2heQq+Qk3 ApDw== X-Forwarded-Encrypted: i=1; AJvYcCUDWMZg68fbTm7ri0sxmWPWkD/z9cRTYSLet1gma7AQf37JYGydaDOPAX817T9wXc0kXat8YE8ZYtHd8Uq49A==@lists.infradead.org X-Gm-Message-State: AOJu0Yyn1h477m+WDiBK5MaVsu7CFrhyF/y7ANIVTUyH7BH06SsESljV Ny/wWJgLAKc20u8TzDSnHAo96/NfWid1GbU/mxyB822wY02AFMVi9+Ayo3OU7g== X-Gm-Gg: ASbGncsERJC0Y0A6yABzZmMM43oD1Q08vp3ACtQBg9tkXekGIGC6FnMvNkX0BN3Zjoi 9RzEeNP91ZTQ/MYOAGOB2s1Wk3b81d/ZDjDys9CNSXE03ZxzBYL/+mEDkF2meMue41B6sxU6GMY XH9S0SeNu9kxIk9hxi+Q08N7xdJ6U3RrZuj59b/SmMma5vyj6V4yaUONYX7K6JUY3jW+BdifVBv 3VIsjOBnvK2CpgBqEgpLnIHbdwcuj/pWGMM7m/4Xv8lwB6HG58lGyKmW5iFqPwrshfTg22gUTs= X-Google-Smtp-Source: AGHT+IFAk6Uxvk5ehKLFgDIpV9hJBhJETnQ7nKluyJfT+5cxYx74NrTmY8yPYKw+PXWYOutAzJ3Z4Q== X-Received: by 2002:a05:6a21:3987:b0:1e1:ccfb:240 with SMTP id adf61e73a8af0-1e5e081d78cmr26108020637.41.1735030127983; Tue, 24 Dec 2024 00:48:47 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:a4dc:753e:e6ca:9a68]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8dbaa6sm9203156b3a.91.2024.12.24.00.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 00:48:47 -0800 (PST) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno , Matthias Brugger Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 2/2] arm64: dts: mediatek: mt8192: Drop Chromebook variants that never shipped Date: Tue, 24 Dec 2024 16:48:38 +0800 Message-ID: <20241224084839.2904335-2-wenst@chromium.org> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog In-Reply-To: <20241224084839.2904335-1-wenst@chromium.org> References: <20241224084839.2904335-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241224_004848_501583_21082E55 X-CRM114-Status: GOOD ( 11.17 ) 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 The Hayato rev5 sku2 and Spherion rev4 variants were designed in anticipation of shortages of the headphone codec. This never happened. As far as our records show: the variants were never produced or shipped, and no such devices were deployed to any lab. Drop them. Signed-off-by: Chen-Yu Tsai --- Changes since v1: - Also drop their entries from the Makefile --- arch/arm64/boot/dts/mediatek/Makefile | 2 - .../mt8192-asurada-hayato-r5-sku2.dts | 65 ---------------- .../mediatek/mt8192-asurada-spherion-r4.dts | 78 ------------------- 3 files changed, 145 deletions(-) delete mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts delete mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 8d638976a2af..7b1fc9839935 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -84,9 +84,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku5.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku6.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku7.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb -dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r5-sku2.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb -dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r4.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-dojo-r1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r1.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts deleted file mode 100644 index cd86ad9ba28a..000000000000 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts +++ /dev/null @@ -1,65 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ -/dts-v1/; -#include "mt8192-asurada.dtsi" - -/ { - model = "Google Hayato rev5"; - chassis-type = "convertible"; - compatible = "google,hayato-rev5-sku2", "google,hayato-sku2", - "google,hayato", "mediatek,mt8192"; -}; - -&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(0x02, 0x09, 0) /* T8 */ - MATRIX_KEY(0x01, 0x09, 0) /* T9 */ - MATRIX_KEY(0x00, 0x04, 0) /* T10 */ - >; - linux,keymap = < - MATRIX_KEY(0x00, 0x02, KEY_BACK) - MATRIX_KEY(0x03, 0x02, KEY_FORWARD) - MATRIX_KEY(0x02, 0x02, KEY_REFRESH) - MATRIX_KEY(0x01, 0x02, KEY_FULL_SCREEN) - MATRIX_KEY(0x03, 0x04, KEY_SCALE) - MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) - MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) - MATRIX_KEY(0x02, 0x09, KEY_MUTE) - MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) - MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) - - CROS_STD_MAIN_KEYMAP - >; -}; - -&rt5682 { - compatible = "realtek,rt5682s"; -}; - -&sound { - compatible = "mediatek,mt8192_mt6359_rt1015p_rt5682s"; - - speaker-codecs { - sound-dai = <&rt1015p>; - }; - - headset-codec { - sound-dai = <&rt5682 0>; - }; -}; - -&touchscreen { - compatible = "hid-over-i2c"; - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; - vdd-supply = <&pp3300_u>; -}; diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts deleted file mode 100644 index 5e9e598bab90..000000000000 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts +++ /dev/null @@ -1,78 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ -/dts-v1/; -#include "mt8192-asurada.dtsi" -#include - -/ { - model = "Google Spherion (rev4)"; - chassis-type = "laptop"; - compatible = "google,spherion-rev4", "google,spherion", - "mediatek,mt8192"; - - pwmleds { - compatible = "pwm-leds"; - - led { - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - pwms = <&cros_ec_pwm 0>; - max-brightness = <1023>; - }; - }; -}; - -&cros_ec_pwm { - status = "okay"; -}; - -&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(0x02, 0x09, 0) /* T8 */ - MATRIX_KEY(0x01, 0x09, 0) /* T9 */ - MATRIX_KEY(0x00, 0x04, 0) /* T10 */ - >; - linux,keymap = < - MATRIX_KEY(0x00, 0x02, KEY_BACK) - MATRIX_KEY(0x03, 0x02, KEY_REFRESH) - MATRIX_KEY(0x02, 0x02, KEY_FULL_SCREEN) - 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(0x02, 0x09, KEY_MUTE) - MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) - MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) - - CROS_STD_MAIN_KEYMAP - >; -}; - -&rt5682 { - compatible = "realtek,rt5682s"; -}; - -&sound { - compatible = "mediatek,mt8192_mt6359_rt1015p_rt5682s"; - - speaker-codecs { - sound-dai = <&rt1015p>; - }; - - headset-codec { - sound-dai = <&rt5682 0>; - }; -}; - -&touchscreen { - compatible = "elan,ekth3500"; -};