From patchwork Mon Dec 2 03:20:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13889949 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 173D5D49795 for ; Mon, 2 Dec 2024 03:28:39 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GouYOcgcE/dgc8yVEQqkmDyQoDCGAKL39BpZuNuexD4=; b=e29fiI2UXF1d70CkJJ4NjRvvl8 o4nDLDy74I881zQ+4Abv2OumzPB111zB3hPDc51R5t8HE5x7qDb1ptahBv0yQgNodKahd7SKtGSnq B3CCOhbdnpdpYJR6HxZqSxMZuTa6gBj8h1x1OPGLQKZQBYmI59DMkrVowMCfGTqh2diZ3PHNdrCrp NLDGqwhie4Cwe4zyzvf+BO73McNGGbRP050oycNKCz3ltqXR3QhPluUJN4vmcQuiWOY2tySy5IVtk VAZj8KHQs5Z4F5uwxp18NxQ9yuoYp+iEF7ZDiBrxnbMEKot5YWi2Ly2SPzHu/j4Pf6kHmHcI+cYH8 w0tQypgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx6s-00000004wYp-34AZ; Mon, 02 Dec 2024 03:28:30 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwzj-00000004v6X-3kvT for linux-arm-kernel@lists.infradead.org; Mon, 02 Dec 2024 03:21:08 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-215564e34acso3113685ad.3 for ; Sun, 01 Dec 2024 19:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733109667; x=1733714467; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=GouYOcgcE/dgc8yVEQqkmDyQoDCGAKL39BpZuNuexD4=; b=CY7kVEiDiSIDK4Esk+I14Z+wVvyUgdBBc7cpDeGgsWC0+FXUJYU90zOO7Ik/XOD0hl l1x8dhhm1STX01mgQFK7LcHxVqosfIuc7Iu96yN92W9g3nZtbXshmYwch2f2Tg312XcQ S+YEs6vOq0LaSbSjfBEdFfIhBp7hmfxl3IpJ+fsOuElVmldX4diDtNk7c1se5cYCiB3H NhVamGD8r6x1nxTM/o46HqZD9MXPt9e7MPTp+4OTRxxCOCn1WXM4YpE3mBBNGgNDC8aG +1rcBFp7Kveni4FJHwcXryEvWehVOehWuTv1cADw/HmEid2kSLZ3rmNqkfrug2tzUOrT OrXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733109667; x=1733714467; h=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=GouYOcgcE/dgc8yVEQqkmDyQoDCGAKL39BpZuNuexD4=; b=emaAHbYuUh6tx8oyrtSVdlmA9jpWvyI3MQEb5VuYx+Hrh6ZWEpJ44DibA/vo4LicvW weec5eSvglQeKz6KRnGBilG7YxpwRc0aGtehvfGBx4FtrbmAnSrYeB0cmqrcEHydiaOa 8nS00u7BWrGqtVZpEl6EiKavWoLvqKHILshuQLyhPu9a3G60b3ovx++QR4Q5Ii5FtTGm m7SDlQZMhwarRamDiXnmXyGCyuypoNvqs4LEj22UePRLKILKtYOjzfKPQTI3O+F4nP58 fZQG6JyH7WJ17tKWEGCjz/yTETEUvy98AyCvlZT7YirhMiEDk9Afe2hOCYhgBDegKQDT ogBA== X-Forwarded-Encrypted: i=1; AJvYcCWCyBJwRLStXCMqG4Ul+iBveUpCZEqvVhNk1KbYptFNHsmCphymyEJMR0jARM0GjMBAv98SpVOZ6cHQnXDqTBeP@lists.infradead.org X-Gm-Message-State: AOJu0YzcsLCwZVU2/WOGueEmc64dbNo28BSUV9w4SsQNLxx7YWBHrxdA W300daEkeaXVSzMsOxVzohlSW1rmb1OLo/h67eg1DUtGsCincEaA2MuwrBE8/fQ= X-Gm-Gg: ASbGncs/NbtL5fYJ6YtQ8tA8Zy7rsbRkG1MVe9WWDXajVwN3fubcTQDftFcRfCtNWBi omSa+10I7IOdu+D472THb49Q88MKfuK/07wYHKVIlm/vDmtzArQEXwJyicIFwpINMvcvvpP/ZzS 21V2pvEdYfOZgaxAZd6uXAdazy3aso2Cmhc/z5wArV7rokqlA+eAT31e0s4DBkr6K0cGjLcbnLI QfJhLYToFLUVsPmGSsyKWF6qc0l7QNipQdIMvrvXFEpaBXxi3jbaldlcj9SHkaIhNwfH6DZDXCb JHTwZTh4b5PeNQ== X-Google-Smtp-Source: AGHT+IG1juPxVoOQhPapzHNQkFJhJwBvKjBtiOLjbNYz3Lf0IR6DiUN4N76jIyqAurE7D9qaEV6q9Q== X-Received: by 2002:a17:903:190:b0:215:94db:1287 with SMTP id d9443c01a7336-21594db1560mr11596255ad.3.1733109666817; Sun, 01 Dec 2024 19:21:06 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21521986004sm66305725ad.184.2024.12.01.19.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 19:21:06 -0800 (PST) From: Zhengqiao Xia To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, dianders@google.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Zhengqiao Xia Subject: [PATCH v4 1/4] dt-bindings: arm: mediatek: Add MT8186 Chinchou Chromebook Date: Mon, 2 Dec 2024 11:20:32 +0800 Message-Id: <20241202032035.29045-2-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_192107_932758_5DEAB2D8 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. 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 Add an entry for the MT8186 based Chinchou Chromebook, also known as the ASUS Chromebook CZ12 Flip (CZ1204F) and CZ12(CZ1204C). Signed-off-by: Zhengqiao Xia Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/arm/mediatek.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 1d4bb50fcd8d..3efab59b8a73 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -239,6 +239,34 @@ properties: - enum: - mediatek,mt8183-pumpkin - const: mediatek,mt8183 + - description: Google Chinchou (Asus Chromebook CZ1104CM2A/CZ1204CM2A) + items: + - const: google,chinchou-sku0 + - const: google,chinchou-sku2 + - const: google,chinchou-sku4 + - const: google,chinchou-sku5 + - const: google,chinchou + - const: mediatek,mt8186 + - description: Google Chinchou (Asus Chromebook CZ1104FM2A/CZ1204FM2A/CZ1104CM2A/CZ1204CM2A) + items: + - const: google,chinchou-sku1 + - const: google,chinchou-sku17 + - const: google,chinchou-sku3 + - const: google,chinchou-sku6 + - const: google,chinchou-sku7 + - const: google,chinchou-sku20 + - const: google,chinchou-sku22 + - const: google,chinchou-sku23 + - const: google,chinchou + - const: mediatek,mt8186 + - description: Google Chinchou360 (Asus Chromebook CZ1104FM2A/CZ1204FM2A Flip) + items: + - const: google,chinchou-sku16 + - const: google,chinchou-sku18 + - const: google,chinchou-sku19 + - const: google,chinchou-sku21 + - const: google,chinchou + - const: mediatek,mt8186 - description: Google Magneton (Lenovo IdeaPad Slim 3 Chromebook (14M868)) items: - const: google,steelix-sku393219 From patchwork Mon Dec 2 03:20:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13889962 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 889A0D49798 for ; Mon, 2 Dec 2024 03:29:43 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xZmSxfw6nyYlr1N0SeEZZkOd74QVehY23hQABxiqjvc=; b=2aJd0NFswd7ucpt9EknUw2UzgR cz0vkKK1oISkmFuId338cyi/0rX4bo9VQaCj8DEcgVPIGOIFyDHinEQ9jwDAFrxxYgs8BqZNx/EmM D99Snd5KQTyjdsWAXV2GkDgc78uClPm4MsTXmh7Dgqw2ZOWY5pt/TsXzAx9vCmTYIh3WBM7NDB3Oi 1lDbj3PoDzGEh1+eKLykRu9okhZ7e4/LbkEAhczRj3apSy48Qr95sSikO+wSunuq/W4Xd+1Ca0hC9 wYGvaIY/igB4GUCrljjtDK0Xe8oZST2HJN9/tNaD3KkcP6GfOc3gsczXZeOMpqB/l8abtqkF2peUF A0NTvHYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx7q-00000004wv6-2duR; Mon, 02 Dec 2024 03:29:30 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwzy-00000004v9O-2hcZ for linux-arm-kernel@lists.infradead.org; Mon, 02 Dec 2024 03:21:24 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-215564e34acso3113865ad.3 for ; Sun, 01 Dec 2024 19:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733109682; x=1733714482; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=xZmSxfw6nyYlr1N0SeEZZkOd74QVehY23hQABxiqjvc=; b=pBfW72HBx84XMv+AbysSZJx0PAM0DYiA/OGMtmfKXau8yqWEVZo3JSP4XlLg8KNvkS Q82XSD3FNhKm0xyCYPBXSLeAZ0TCv+Tqd5TTfU8SAipKWVa8P6+mfcD6ac8dq4DT7Cb9 +yqPUR5wtkGDWUQe8D1QJLnOs/yG1BYWjD78XL2gimuzTZC/IctaQjkTxZtRuiOg7ukW hn0yk/3co0uQaFjh1WAwI8W0KZZFgTxUPX5yu4S6NflgyFu4Eh4NKUijSzBANGT+BM62 BfHjfo7sHBTYp9+dhbum8saQPMMvNQJQOEyoWuU7m6PrjfRQ+Bj320ITnH/MP09OjT0m ihmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733109682; x=1733714482; h=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=xZmSxfw6nyYlr1N0SeEZZkOd74QVehY23hQABxiqjvc=; b=ROB++zOBcE1JnTiGuYQtvrgc6T3iB7LE0s6Dx63Nv22WVVAmqRKXXPu/vUiz7CMDmT x5xkMgmZl5Fkn7ce6mNpRJ68vSH4XFCVoAy5WzWHQWlYXT5db8BODA9Lc/MBIBZgxw5G Z/rGRxj9GHsF/aigVIbKee5MRGMWS8pnJBkbQAd0SBRcGtPiLR2oUGHuAw8mI3GorEvs +9N7VrRINJaA/oNG8+vQzTjnFKg7fQt5DbguyWYsrRv/gsXyRW/h+wuC3+KJ+bw6MVsV HwCELsbDgyF8cqK7FZpfkHUQ9mstiMc2gwNq2qXeGzQuPaktaGY26HJPWyAniEUi60cJ TyBA== X-Forwarded-Encrypted: i=1; AJvYcCU4VkDfQ3+Sk1SbYiFp1j4HqdcqcfxFqJHi+Zz6d9eFVc565WVaKl+36V5brZwuA+/2QUxK7NVvAWAL8Gc/0pCj@lists.infradead.org X-Gm-Message-State: AOJu0YzF3MuyHwjjaRWRassOEroTF828ks1DJ6G2CQ6jajXTNmMXy6cW 5K1RXdAZjjeN7LIEiKkZEsBjmPI0Ae2bzmVJXM7I+ryu2vM90iuXhJaaQQ23SDWHfGMP43uJOUs VHNU= X-Gm-Gg: ASbGncuwiXUPYRfFlBLeU8tWDKa6VecHGd3tYYaFar3Ckt+7CNcoaS3kdvm1biqt6nP mNUD3kGkzKdd9QtFRqimj9Nq7En6ddWl0oyBoQmgbmPoYhf07avEgdsBe0SawvjS+hrYZnr3DXV 7XQu58TUbWDR7f5Vz/echCzCwE7+ml9ote+KQPiSA1LUOV4hg+6n8dNi1iPgZIeoDZagQtFdIO7 HS6+Fo+w3mb4oXaOBOp2dAo5W1eKITDld8RVva2+/dtA3H/gngFX6Tx2Py104OBmMNoOCpCyhV8 Yjfdem0INk7DZA== X-Google-Smtp-Source: AGHT+IHHxic4Mk6aZM3fWMkuwW5yyrZhG7fPcN7MmynGGDMTgIaww7brG4F2+VRQ5RKaVlgarrcYyA== X-Received: by 2002:a17:903:2114:b0:215:6af0:11d5 with SMTP id d9443c01a7336-2156af013a5mr35029855ad.1.1733109681589; Sun, 01 Dec 2024 19:21:21 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21521986004sm66305725ad.184.2024.12.01.19.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 19:21:21 -0800 (PST) From: Zhengqiao Xia To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, dianders@google.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Zhengqiao Xia Subject: [PATCH v4 2/4] arm64: dts: mediatek: Add MT8186 Chinchou Chromebooks Date: Mon, 2 Dec 2024 11:20:33 +0800 Message-Id: <20241202032035.29045-3-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_192122_688586_01B3437C X-CRM114-Status: GOOD ( 14.44 ) 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 MT8186 chinchou, known as ASUS Chromebook CZ12 Flip (CZ1204F) and CZ12(CZ1204C), is a MT8186 based laptop. It is based on the "corsola" design.It includes chinchou and chinchou360, including LTE, stylus, touchscreen combinations. Signed-off-by: Zhengqiao Xia --- arch/arm64/boot/dts/mediatek/Makefile | 3 + .../mediatek/mt8186-corsola-chinchou-sku0.dts | 18 + .../mediatek/mt8186-corsola-chinchou-sku1.dts | 35 ++ .../mt8186-corsola-chinchou-sku16.dts | 29 ++ .../dts/mediatek/mt8186-corsola-chinchou.dtsi | 321 ++++++++++++++++++ 5 files changed, 406 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku16.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dtsi diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 8fd7b2bb7a15..0db7770e8907 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -55,6 +55,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku32.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-chinchou-sku0.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-chinchou-sku1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-chinchou-sku16.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 diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku0.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku0.dts new file mode 100644 index 000000000000..5d012bc4ff0d --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku0.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2024 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-chinchou.dtsi" + +/ { + model = "Google chinchou CZ1104CM2A/CZ1204CM2A"; + compatible = "google,chinchou-sku0", "google,chinchou-sku2", + "google,chinchou-sku4", "google,chinchou-sku5", + "google,chinchou", "mediatek,mt8186"; +}; + +&gpio_keys { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku1.dts new file mode 100644 index 000000000000..c18f473f6a0f --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku1.dts @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2024 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-chinchou.dtsi" + +/ { + model = "Google chinchou CZ1104FM2A/CZ1204FM2A/CZ1104CM2A/CZ1204CM2A"; + compatible = "google,chinchou-sku1", "google,chinchou-sku17", + "google,chinchou-sku3", "google,chinchou-sku6", + "google,chinchou-sku7", "google,chinchou-sku20", + "google,chinchou-sku22", "google,chinchou-sku23", + "google,chinchou", "mediatek,mt8186"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&i2c1 { + i2c-scl-internal-delay-ns = <10000>; + + touchscreen: touchscreen@41 { + compatible = "ilitek,ili2901"; + reg = <0x41>; + interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; + vccio-supply = <&pp1800_tchscr_report_disable>; + vcc33-supply = <&pp3300_z2>; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku16.dts b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku16.dts new file mode 100644 index 000000000000..eb377de1fcde --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sku16.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2024 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-chinchou.dtsi" + +/ { + model = "Google chinchou CZ1104FM2A/CZ1204FM2A"; + compatible = "google,chinchou-sku16", "google,chinchou-sku18", + "google,chinchou-sku19", "google,chinchou-sku21", + "google,chinchou", "mediatek,mt8186"; +}; + +&i2c1 { + i2c-scl-internal-delay-ns = <10000>; + + touchscreen: touchscreen@41 { + compatible = "ilitek,ili2901"; + reg = <0x41>; + interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; + vccio-supply = <&pp1800_tchscr_report_disable>; + vcc33-supply = <&pp3300_z2>; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dtsi new file mode 100644 index 000000000000..c3835c7c4444 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dtsi @@ -0,0 +1,321 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2024 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola.dtsi" + +/ { + /delete-node/ speaker-codec; + + pp1000_edpbrdg: regulator-pp1000-edpbrdg { + compatible = "regulator-fixed"; + regulator-name = "pp1000_edpbrdg"; + pinctrl-names = "default"; + pinctrl-0 = <&en_pp1000_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio = <&pio 29 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp3300_z2>; + }; + + pp1800_edpbrdg_dx: regulator-pp1800-edpbrdg-dx { + compatible = "regulator-fixed"; + regulator-name = "pp1800_edpbrdg_dx"; + pinctrl-names = "default"; + pinctrl-0 = <&en_pp1800_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio = <&pio 30 GPIO_ACTIVE_HIGH>; + vin-supply = <&mt6366_vio18_reg>; + }; + + pp3300_edp_dx: regulator-pp3300-edp-dx { + compatible = "regulator-fixed"; + regulator-name = "pp3300_edp_dx"; + pinctrl-names = "default"; + pinctrl-0 = <&en_pp3300_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio = <&pio 31 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp3300_z2>; + }; + + pp1800_tchscr_report_disable: regulator-pp1800-tchscr-report-disable { + compatible = "regulator-fixed"; + regulator-name = "pp1800_tchscr_report_disable"; + pinctrl-names = "default"; + regulator-boot-on; + pinctrl-0 = <&touch_pin_report>; + gpio = <&pio 37 GPIO_ACTIVE_LOW>; + }; +}; + +&dsi_out { + remote-endpoint = <&anx7625_in>; +}; + +&i2c0 { + clock-frequency = <400000>; + + anx_bridge: anx7625@58 { + compatible = "analogix,anx7625"; + reg = <0x58>; + pinctrl-names = "default"; + pinctrl-0 = <&anx7625_pins>; + enable-gpios = <&pio 96 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>; + vdd10-supply = <&pp1000_edpbrdg>; + vdd18-supply = <&pp1800_edpbrdg_dx>; + vdd33-supply = <&pp3300_edp_dx>; + analogix,lane0-swing = /bits/ 8 <0x70 0x30>; + analogix,lane1-swing = /bits/ 8 <0x70 0x30>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + anx7625_in: endpoint { + remote-endpoint = <&dsi_out>; + data-lanes = <0 1 2 3>; + }; + }; + + port@1 { + reg = <1>; + + anx7625_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + + aux-bus { + panel: panel { + compatible = "edp-panel"; + power-supply = <&pp3300_disp_x>; + backlight = <&backlight_lcd0>; + + port { + panel_in: endpoint { + remote-endpoint = <&anx7625_out>; + }; + }; + }; + }; + }; +}; + +&i2c2 { + /delete-node/ trackpad@15; + + touchpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>; + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; + vdd-supply = <&pp3300_s3>; + wakeup-source; + }; +}; + +&i2c5 { + clock-frequency = <400000>; + /delete-node/ codec@1a; + + rt5650: rt5650@1a { + compatible = "realtek,rt5650"; + reg = <0x1a>; + avdd-supply = <&mt6366_vio18_reg>; + cpvdd-supply = <&mt6366_vio18_reg>; + pinctrl-names = "default"; + pinctrl-0 = <&speaker_codec_pins_default>; + cbj-sleeve-gpios = <&pio 150 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&pio>; + interrupts = <17 IRQ_TYPE_EDGE_BOTH>; + #sound-dai-cells = <0>; + realtek,dmic1-data-pin = <2>; + realtek,jd-mode = <2>; + }; +}; + +&i2c_tunnel { + /delete-node/ sbs-battery@b; + + battery: sbs-battery@f { + compatible = "sbs,sbs-battery"; + reg = <0xf>; + sbs,i2c-retry-count = <2>; + sbs,poll-retry-count = <1>; + }; +}; + +&keyboard_controller { + keypad,num-columns = <15>; + + 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 */ + MATRIX_KEY(0x00, 0x01, 0) /* T11 */ + MATRIX_KEY(0x01, 0x05, 0) /* T12 */ + >; + + linux,keymap = < + CROS_STD_MAIN_KEYMAP + MATRIX_KEY(0x00, 0x02, KEY_BACK) /* T1 */ + MATRIX_KEY(0x03, 0x02, KEY_REFRESH) /* T2 */ + MATRIX_KEY(0x02, 0x02, KEY_ZOOM) /* T3 */ + MATRIX_KEY(0x01, 0x02, KEY_SCALE) /* T4 */ + MATRIX_KEY(0x03, 0x04, KEY_SYSRQ) /* T5 */ + MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) /* T6 */ + MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) /* T7 */ + MATRIX_KEY(0x02, 0x09, KEY_MUTE) /* T8 */ + MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) /* T9 */ + MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) /* T10 */ + MATRIX_KEY(0x00, 0x01, KEY_MICMUTE) /* T11 */ + MATRIX_KEY(0x01, 0x05, KEY_CONTROLPANEL) /* T12 */ + MATRIX_KEY(0x03, 0x05, KEY_PREVIOUSSONG) /* T13 */ + MATRIX_KEY(0x00, 0x09, KEY_PLAYPAUSE) /* T14 */ + MATRIX_KEY(0x00, 0x0b, KEY_NEXTSONG) /* T15 */ + MATRIX_KEY(0x03, 0x00, KEY_LEFTMETA) /* Search*/ + MATRIX_KEY(0x01, 0x0e, KEY_LEFTCTRL) /* Left Control*/ + MATRIX_KEY(0x06, 0x0d, KEY_LEFTALT) /* Left ALT*/ + MATRIX_KEY(0x03, 0x0e, KEY_RIGHTCTRL) /* Right Control*/ + MATRIX_KEY(0x06, 0x0a, KEY_BACKSLASH) /* BACKSLASH*/ + >; +}; + +&mmc1_pins_default { + pins-clk { + drive-strength = ; + }; + + pins-cmd-dat { + drive-strength = ; + }; +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength = ; + }; + + pins-cmd-dat { + drive-strength = ; + }; +}; + +&pen_insert { + wakeup-event-action = ; +}; + +&pio { + anx7625_pins: anx7625-pins { + pins-int { + pinmux = ; + input-enable; + bias-disable; + }; + + pins-reset { + pinmux = ; + output-low; + }; + + pins-power-en { + pinmux = ; + output-low; + }; + }; + + en_pp1000_edpbrdg: pp1000-edpbrdg-en-pins { + pins-vreg-en { + pinmux = ; + output-low; + }; + }; + + en_pp1800_edpbrdg: pp1800-edpbrdg-en-pins { + pins-vreg-en { + pinmux = ; + output-low; + }; + }; + + en_pp3300_edpbrdg: pp3300-edpbrdg-en-pins { + pins-vreg-en { + pinmux = ; + output-low; + }; + }; + + touch_pin_report: pin-report-pins { + pins-touch-en { + pinmux = ; + output-low; + }; + }; +}; + +&sound { + compatible = "mediatek,mt8186-mt6366-rt5650-sound"; + model = "mt8186_rt5650"; + mediatek,adsp = <&adsp>; + + audio-routing = + "Headphone", "HPOL", + "Headphone", "HPOR", + "IN1P", "Headset Mic", + "IN1N", "Headset Mic", + "Speakers", "SPOL", + "Speakers", "SPOR", + "HDMI1", "TX"; + + hs-playback-dai-link { + codec { + sound-dai = <&rt5650>; + }; + }; + + hs-capture-dai-link { + codec { + sound-dai = <&rt5650>; + }; + }; + + spk-share-dai-link { + }; + + spk-hdmi-playback-dai-link { + codec { + sound-dai = <&it6505dptx>; + }; + }; +}; + +&touchscreen_pins { + /delete-node/ pins-report-sw; +}; + +&wifi_enable_pin { + pins-wifi-enable { + pinmux = ; + }; +}; + +&wifi_pwrseq { + reset-gpios = <&pio 51 GPIO_ACTIVE_LOW>; +}; From patchwork Mon Dec 2 03:20:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13889963 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 3E097D49798 for ; Mon, 2 Dec 2024 03:30:40 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4JKkTbQH3r8XT3o9ORFi7gb1jWbj8ogQLTpCR2fybI4=; b=UxZYoRmxZlJQrVY3Y1laG/Rtj4 qPFpmfQG9MTJpNYtHjqvQTN7Rb5MaAaRYbXI+yPZgPcMo/lOweswSIvjzihSc0F0Vu1LvuB6TKAyO /YtWUJtuaKUf4YZ0F+WhVzov3EJCFTgR4fQAWAGqr8nPHjCZalSV697sY32VL9kvN6XkopWL6zYRA 0US0LkFO4xP4PpPrgiTW/zR/2YuwqzfA8MuhMXGQizVSAD6SawX7P7p9uNOr7Sahe+z36e/5VPMw5 2tUWRTza3fx3awB/PPAuSdSrGXJGTG71EeFYFG3AKfWlYpsOrD0yhAPcYxasFHlhNp3wzE5BakIDY a2uRkYHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx8o-00000004x7k-2MKW; Mon, 02 Dec 2024 03:30:30 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHx05-00000004vC9-2z1P for linux-arm-kernel@lists.infradead.org; Mon, 02 Dec 2024 03:21:30 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-21594d9f540so126915ad.3 for ; Sun, 01 Dec 2024 19:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733109689; x=1733714489; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=4JKkTbQH3r8XT3o9ORFi7gb1jWbj8ogQLTpCR2fybI4=; b=oE+xsZSivW2S1KIg49m57Rs84MOYB3r9rwedw1IuaNQGiCZiedguvcaXsx6hBK1xpk EOwK6cfRMCcZE3sNbqczk6Ny891oCZVI0Jb/BvItH4ZdKTYPIu8mjvE3F+O7cfuV83Q1 lcasmhOOXG9J3LB/IAk29nVJDI1I9PqlNDI/uAe9x2XrkbIEyvRZOs+YH9NnzTW0jAp0 aDR/jfUmplWBE+k7Ufp8Q38KUOkOQxWSSm8xLFhbrrclsXTgSd3dCQpaXAez3qHy8+P3 HePy9zChk2ft8ITo+yqk83xfUvPU/zw9kefnP89NxKHL25dRcRBamKJgqYsUKOoypPfk iI5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733109689; x=1733714489; h=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=4JKkTbQH3r8XT3o9ORFi7gb1jWbj8ogQLTpCR2fybI4=; b=vDjx0DdXD40Hkm9bVcrCtxOgEBIz3FHhW88sO1UsCwj+BhSNnL8HiVyGvXVsdGa+1N MUj9GW/7Ag44/ucWXJ/RC4lBFHPxl+LHKXtNQOwgw+hg3Nf/b1mnfw2cK0hdjucAOxTQ nGDr6yvjVYkEct3UF6xPl6DgN78TzTVn+yC0N4YRs8p8SP+hfp0sThyR3KqS9xvA4p6W z52tqfMrby/oMms6B8hYIoheFMH55ZXu3pFQZSyhiqCJrcz/2PPFkxtUmqUMdWNBZDlq GnkdVI12X/+lxHrELaIrLJhqi4eGgCeo3P/cLP5bm+Y227f1oyHyRybwcWzZ0/5xziSG cZjg== X-Forwarded-Encrypted: i=1; AJvYcCUOViuC5taUjCFqi7HsunNOZbTRj8r5YBjwOhpm8ABZGTZbXm9JLCMPDvmshhgiBSdVZaZMYsf14vyrIVxq5loj@lists.infradead.org X-Gm-Message-State: AOJu0Yw0hFu3KSClxLEVEPAvG4pjHixy/Jj6UrDQgCw9BeCtp1pHv2Zq IQEB6UcutlnHpMqrTmIymbDnhqloU8kWoWRTOhbP6YeoUyWyIubHkQsjHutdhpc= X-Gm-Gg: ASbGncs1DRVR2Akrv7q4C6//r8YLIVW1sUchePB81zKVOG8i2sEsVYPWmCWJvEioI7C RPX8/YpJqCEn1QUlvF6ww7lRw6dW0eZk88LlLGYoWNjZx7Kg8KoJfnh0R0e6Lk3x0+ibWhNlfP3 fFFuVAKyWqUYTb+sJdZy6bRrjBrycdf2oU2/+f9NDg6w3V3ASskZM0sV5sLo9ObR8OnL8JaPlyN if36afygqfd3jgty9gJkefNQ6uhXXZdDF1K+3HvCyxO/FgtfORhw0iS6oy0cOn1QfYJO5ze2SVN UHXYfupsIBISNw== X-Google-Smtp-Source: AGHT+IGl4AZx7btGELbwfsvBPjCZ+LL3bFrNerOHcMEQPSapSZDS2D9CkO8xmV/VxpGUqxWhl5v/xg== X-Received: by 2002:a17:903:491:b0:215:2bfb:3cd7 with SMTP id d9443c01a7336-2152bfb42d7mr78626995ad.10.1733109689222; Sun, 01 Dec 2024 19:21:29 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21521986004sm66305725ad.184.2024.12.01.19.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 19:21:28 -0800 (PST) From: Zhengqiao Xia To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, dianders@google.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Zhengqiao Xia Subject: [PATCH v4 3/4] arm64: dts: mediatek: Add exton node for DP bridge Date: Mon, 2 Dec 2024 11:20:34 +0800 Message-Id: <20241202032035.29045-4-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_192129_757309_754B9E6D X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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 Add exton node for DP bridge to make the display work properly. Signed-off-by: Zhengqiao Xia --- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index cfcc7909dfe6..e324e3fd347e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -424,6 +424,7 @@ ovdd-supply = <&mt6366_vsim2_reg>; pwr18-supply = <&pp1800_dpbrdg_dx>; reset-gpios = <&pio 177 GPIO_ACTIVE_LOW>; + extcon = <&usbc_extcon>; ports { #address-cells = <1>; @@ -1656,6 +1657,11 @@ try-power-role = "source"; }; }; + + usbc_extcon: extcon0 { + compatible = "google,extcon-usbc-cros-ec"; + google,usb-port-id = <0>; + }; }; }; From patchwork Mon Dec 2 03:20:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13889964 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 984DFD4979E for ; Mon, 2 Dec 2024 03:31:39 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LwpNUnjMlFvYQmQxOKj3RBcYwjK66Q7pEDvGTCX7zBM=; b=meDyG8rhyR99upAVRXwDNcy8yt w/9t/BQaEIJsvdulpIQ7ryff3JNb2rDYJJLNR8LreRVf8b8/LA3lRG84LXbLfMje8KmyaC+vPDaWv n7TRa7N5pTMySfBs9ww6LDfGkfmYMfyHGCbdbE+J2gVPCz6snDuA5FHppYzNGghHkIhxofZ8LWPXr sp7tcvAdSPpSTazIK/5w+mGT0DUe67O6RmDcF1nxvzONdAlmYp7bNhcB3cxIwgXXgRPjK5eoy2HjR P9PYD1htMIDzKU75DMn7NBCdqEKwenQRDsZtbdn8RTH5JVH+mkiZDp9wiRLKYSw/R8jW4JOZ4ik2h NFmzEDTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx9l-00000004xIv-3BVc; Mon, 02 Dec 2024 03:31:29 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHx0D-00000004vFV-0TN1 for linux-arm-kernel@lists.infradead.org; Mon, 02 Dec 2024 03:21:38 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-21583eec308so236075ad.1 for ; Sun, 01 Dec 2024 19:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733109696; x=1733714496; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=LwpNUnjMlFvYQmQxOKj3RBcYwjK66Q7pEDvGTCX7zBM=; b=LLs0cd4YED626Q469rSvFeRwlMmWYzZ2YJqamnyWza/tXZchubDP47xvJ2N+w4NfwY ia22gaGNqtpXFWbiy4/RXlyq5CU0DKTdPzL1d4B9IIFgKE8HueNpK85+lT16JNWZh3ge yhepYL1w4sMZY4fxu6ktsIi9RZkx766CDDk9ff42rg1UaPXmiO3TNp7d5dy1jleiNZP+ Cm1Gvwus57E0AwCxtgveFc06RitmSqXg6aEKiA+c3LwJtEo36+kq4c9l559XyONVKIBb QnZVuueUpfZZJXhXr3SLM5srbSFA47JclC/kJU44CGI2Nm4hfwOlTKY9mOd+hdvJ/I9G ZcLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733109696; x=1733714496; h=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=LwpNUnjMlFvYQmQxOKj3RBcYwjK66Q7pEDvGTCX7zBM=; b=cD5LoxPAtguBAIeYrmO5xdk3KCgxKq8poo933Zpf9+0rlH87T8EcYLnkOvowrlAysn pc0CeP1wDI4Xdihrac6Feha6rfOLJxvvSNeDTeBqDFmlAgo7RtMqBUGj2PaKt2DKm3LS lvEhzitcp7wm/SwAH9H52NnVd2KkW2fLHaMfdygmU4VFDmiqFy6CxKfunly4CV1r2/45 JnWYFHsRyt1byg9B2pVI6iozGYS5DJrKPL6xU8NLUSWBY0jd69S9HyC/aV/dpX9ZrFiq 1Ikis5QGS0zjUN4bDGtrQXRST68NNHZdcUvBt2YIjXigmNR/dTc33Do4HyMeKGBlYNW6 fdUg== X-Forwarded-Encrypted: i=1; AJvYcCWqez6iwm+BUSnS8pdOsmFYsaurTpFqYRVSEZ/1afyk2qKNc0ZAFEcUsXXwTQa6yLcnRoNdyw/isG3jajzZfDnp@lists.infradead.org X-Gm-Message-State: AOJu0YzqHuUBdiU5a+RsOqK1GWkjxR7A5duEWItQdBJ4qYQqd4CYBNh2 REwcUpfZOYUHGIU+lQchGJN3UckXXl1TVRcHRg0xoBoOr2MLYU1dpyx5wjfUtjY= X-Gm-Gg: ASbGncvzf+ZgF65k7dMCN9KgyN7UKJyiOeAGzxJrN7wgfzO7N9Yl5+esp2XVMOy2Z6H F/eC0+Wk4ZLmDPKC82iLzRic9DPxztA1ExkzFysNieFMnKogDlNYwfkTOurcgdm6HlY8MxX2gLc L43lXfrOCzCNW1AESv+77u5nxFpoRoOTK5GiUchUlGmW1ldCZJJDGjtFVks7qI04dx5QXubvZak tscWEy5VxLGmx1J62nG0n7H4GW5VpxxAaNRoi14x+QTD+oYrBXnwbnCWtg6rR0HFFeBG6e9hxOi 6VWJj/VXInhimg== X-Google-Smtp-Source: AGHT+IEJN88pnwqqXHYSIyic7eyBMjw0obUFHPnwV3eN7HNKvCq55lxxoodclMDswm8TKyzGp9aVVQ== X-Received: by 2002:a17:902:edd0:b0:215:435d:b41a with SMTP id d9443c01a7336-215435db4a5mr63665425ad.1.1733109696542; Sun, 01 Dec 2024 19:21:36 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21521986004sm66305725ad.184.2024.12.01.19.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 19:21:36 -0800 (PST) From: Zhengqiao Xia To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, dianders@google.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Zhengqiao Xia Subject: [PATCH v4 4/4] arm64: dts: mediatek: Modify audio codec name for pmic Date: Mon, 2 Dec 2024 11:20:35 +0800 Message-Id: <20241202032035.29045-5-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241202032035.29045-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241201_192137_151745_E56B0F72 X-CRM114-Status: GOOD ( 10.97 ) 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 change `codec` in pmic (in mt8186-corsola.dtsi) to `audio-codec` Signed-off-by: Zhengqiao Xia --- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index e324e3fd347e..cebb134331fb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -1276,7 +1276,7 @@ interrupts-extended = <&pio 201 IRQ_TYPE_LEVEL_HIGH>; #interrupt-cells = <2>; - mt6366codec: codec { + mt6366codec: audio-codec { compatible = "mediatek,mt6366-sound", "mediatek,mt6358-sound"; Avdd-supply = <&mt6366_vaud28_reg>; mediatek,dmic-mode = <1>; /* one-wire */