From patchwork Mon Oct 21 02:59: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: 13843515 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 ED892D3C938 for ; Mon, 21 Oct 2024 03:03:42 +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=iEsUo4lrwpljoR0FPBQuFvw1WkkxvZeqCHqf7QaSpZM=; b=fNYCaQ5+UDJ+Dho7IqnFL2uXDU UzlqhvD1bciuyVKS/qP0SihiUFkPsJQk1nSL5PExpTvFMfokNrRZeV+Vz6l/OSf6wX09zmGEwHA3P qOi4Sibc96HHwpPJe9RAQotIp7A2x53LFlmomRWU7OhYSi7u2yuMXQ6foVib27ScoXZYJWD0hjLgE 7CnVaNvWwsMxkCV2OPoob3e9hzxyFxQgOiNuuTNQtrYe/sjt+c69CUPUhusEw6M6ZAmOhvOV2bIdo SLZRQ5GsjHuupmh4jMWBi/4iXsNdwD1q96Q8KOt4XEF+3jWiTlyyErs9ho1FkhZQYk7UOWrCuarnh suw1b0KA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ihp-00000005vHj-47Gk; Mon, 21 Oct 2024 03:03:41 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2ig5-00000005uqC-2fEu for linux-mediatek@lists.infradead.org; Mon, 21 Oct 2024 03:01:54 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-71e67102283so99856b3a.1 for ; Sun, 20 Oct 2024 20:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479712; x=1730084512; 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=iEsUo4lrwpljoR0FPBQuFvw1WkkxvZeqCHqf7QaSpZM=; b=VLfB5eMQqEXfz215Q1zObC08HSUosKEqmDV9SVCOzoYrlrNlYgd1g2KE+tappPRIey 3/totGId9i+4Db0nTIV4+y9iwrJh16jx4OCCDktZa6VDADLJ0TceKG+npOHqEvMOJjNj haErNpQbno7IQbqMTLKFli0xLDZoJq0Ew5PSgVYuF9rH7FfgdxL89Ztf6S/Fjyn2sUZ6 +/JP9l8faE018d1XUQjz9+zs1n4Al2x9ww1W42r0njzwTm7LwscWu5Em6McEFo5LQGAQ QJyR6Kflj6kdrvU9tSI/hCKwLuNcvZa7kj/3oy/ljlblYTf8i8ZTHwDP3qAhGd7zhpOg KrmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479712; x=1730084512; 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=iEsUo4lrwpljoR0FPBQuFvw1WkkxvZeqCHqf7QaSpZM=; b=Pu8jvmJCvg0TjjRr1H0kzxwUYnzTihpF52QqHG21rJWfVpNc5oqN1Ji8t3CYpnj1ZX gbiXtJcNks3GtVZkVYRpzgFLoxclfwxHwZ+TBp4yrHvNLoYpVrS9+50eXisDtFYHFki7 YFbvELQUpMqiAXfltSy8LRl29gEZTTV9nbh+EgvVBugOFU104fiH9ElUFqcovOhhh3nr xROtXpXZ7uFItWecVXuNPftwTnx5xRQnNplqpR6wwfbEw6sLzS2cNuBhkgoSi3lGxPKL g6FqrE79d4W7v5UK6TF2t9rSCDxmkDCD49SZQqFxGiqlnihC4vIG9Tu790hrN3mjF4d4 iKrg== X-Forwarded-Encrypted: i=1; AJvYcCUMpC8NknSp1BwjwriOouIwQEpJCBy98YDZmuNT6B+RZCaAlm/SPGOer/qt3MVWXwpRvzPbj/0EH2BkFeHZ9g==@lists.infradead.org X-Gm-Message-State: AOJu0Yx7IGRHgD23mi8vxaB28V/PgXsSqJ1C5xJIqpzT7Z0YV1I5jJiA KbW+hwFWJ4vVfexjG6I6/9L9/GhRdbBEo3+bmrHevmiAekIz/wkO+/o/CBi2NeI= X-Google-Smtp-Source: AGHT+IGDe3DRRdpAyKVZRtaEWeATYT7/taYp+e9vwdg8Vef8+J128rMKxDPUIbFSJXh1jcZ7xUMuRQ== X-Received: by 2002:aa7:88c2:0:b0:71e:4ec7:aece with SMTP id d2e1a72fcca58-71ea3267be7mr6165936b3a.7.1729479712451; Sun, 20 Oct 2024 20:01:52 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:52 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: 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, Zhengqiao Xia Subject: [PATCH v3 1/4] dt-bindings: arm: mediatek: Add MT8186 Chinchou Chromebook Date: Mon, 21 Oct 2024 10:59:35 +0800 Message-Id: <20241021025938.676-2-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_200153_685577_014284AC X-CRM114-Status: UNSURE ( 7.43 ) 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 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 --- .../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 Oct 21 02:59:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13843516 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 58FCDD3C938 for ; Mon, 21 Oct 2024 03:06: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=Js96B82vpvasO7dH54aWNj4yi7wPO0A7/Og4/faXgF0=; b=RtLBcjBnTX1NqNn22zwSDVk3fP YXgW0xv8o0HB1SVlZlwNrajEo8Gq0oSj8X07YxWlZyVQHLcP9jXMQUT3UdYz+ybvtDxuWA/DK3Iiz ETWX67KhOv2aZQQl1gqsrh8Q61h059CD9IaI1hh63SVzT9YTaNcXF6ahMGbzpgrN1UTPGeAVmdFIO BcfEGrVGek+ZWz3r9MqajcJWmYtSFlflSi7SPiy8Li1D99nTafdI1WHHhcwAVrhePyXv1uoDr5T1o GMN+dK6jGnLNjK9237nev8ph+kNT9amOZCfFh0PzEUmQhQjMBSc8EFxEIMhXsKysIAHpTmg3JP0yn oXq7ZJ/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ikk-00000005vlO-1XKL; Mon, 21 Oct 2024 03:06:42 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2ig8-00000005ur3-2E4O for linux-mediatek@lists.infradead.org; Mon, 21 Oct 2024 03:01:58 +0000 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2e56750bb13so389261a91.2 for ; Sun, 20 Oct 2024 20:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479716; x=1730084516; 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=Js96B82vpvasO7dH54aWNj4yi7wPO0A7/Og4/faXgF0=; b=cc/b5LKF8AGQ3ebPThrlBh7+b9LpJOnpkXhoHbCUAQAAmLKth0lrnM+8YTl8FuxGWz 9ycaY6RI3g+gJa9A8xbobc966L0XtOBoQgf1dtkK391dXdVotPdUcmrdKvLHvwp3EaOI IxnyymaCEvd9D7fVJcZrKkhExPPZthn8vr8oL1wavw9OS7oh6fP1zw7bUrYZSRNDUqCx cEx9K6vqOLOztVcGzOxs5MwDZe6FD48s0N0b2NON/6CwT+QFExCY59XLk/tjd1B5v6JG zLhb/vn7z57BmjOJOxVW7B+0FFnPdane1II8AoZ2nGhk6EV1SY9XFnpR+QBHo9pFMe5x g2PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479716; x=1730084516; 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=Js96B82vpvasO7dH54aWNj4yi7wPO0A7/Og4/faXgF0=; b=R/G8Phas0GIKEtQH7mvSmxqHjGAzto8wecTZd3aGnoCss71hISaPOEANlLDrnU+FgA ySi67woY7PDdZRSqg+qpEnRXeg5pWi5Zfpl6gw6P/dE9z68xhlm3DOr8ry7qwvuK/AsC PSGCpql7fi8JxbBzDaKH/ioISmWiq9AHTSUqyo3yIjWVxdQiv2Y++ofZkSm28YS6fvJi ZFmTZvSpZLum00OMbP5f1knoGK3V/U3tBB+BY2nrl9/nUkK9x7gzSCNJmINQi3MzOj8a UNtvRQN9pFLJObra8qnyOCoLn/gBpxFE9dDzf1Mt3u7mPojkEaGNL07+l1iH6lRzHorw S8yA== X-Forwarded-Encrypted: i=1; AJvYcCVckGRXP3u+amkJ2vUDkWgbXnWkWT/B53fZAt8uOkiqZj3mZyBoAQaxMdiIVyNT2tkc/dtAjizCiy3WFg+VJw==@lists.infradead.org X-Gm-Message-State: AOJu0YyvjMWm1yUR9+V22+jRAgw5mu8EIrRgmFgwKGEqoscwbqwCMGKZ pzVoZZWT90gMt18faFQHOeSZ/+R9FXVxF6EPwcd78L8inlT98ZIbzDOmcVrQ5IU= X-Google-Smtp-Source: AGHT+IEropSwSiXjGPEPP3gdGjV/9w69XLqrlsjwkQlFENyURw427Xf8jTZcFWEvnHm4E7Z1UulvkA== X-Received: by 2002:a05:6a00:1797:b0:718:e49f:137a with SMTP id d2e1a72fcca58-71ea33341eemr6056480b3a.6.1729479715644; Sun, 20 Oct 2024 20:01:55 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:55 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: 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, Zhengqiao Xia Subject: [PATCH v3 2/4] arm64: dts: mediatek: Add MT8186 Chinchou Chromebooks Date: Mon, 21 Oct 2024 10:59:36 +0800 Message-Id: <20241021025938.676-3-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_200156_591199_465FE4BD X-CRM114-Status: GOOD ( 13.45 ) 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 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..389f8b66e968 --- /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 = <&rt1019p_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 Oct 21 02:59:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13843526 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 66354D3C92F for ; Mon, 21 Oct 2024 03:08:13 +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=XkkT1YK08fvvBnsXdekTj1dlk1F6WdJ88gbC//Uv2Rg=; b=QgoaFQyR0PQqtx+8wPN+uluF3L ap+VxfiFLFPSV7O8rX9+hRzYXN1iS4XnM0CGG0nx0yLzlyc3fOmMTgmrHLKNXPS6AYKjHVPabUzlW E4stEh0yPjcNEVoSeTBal36ve8wI2Ec9cTQBeeLzv4vGZXjFa3+/2wbApv+evZhv23vrcaa8bWbww 7HAEdHeYdM6eHaiMFvt2G1lZHVNOtxYK9aT74xAxH1QVaRUHyaOlZxPcHVz53WFA5yqfADTvUJNnH C2IhlmpCZiSBdCOnV4gWIQuo0Ab2SgMPvAiy0W3a/9HmagUPa4cJC6BopXQAIbEt0aV8k8MogZhP0 sATX82VQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2imC-00000005w0N-2W3v; Mon, 21 Oct 2024 03:08:12 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2igB-00000005urv-3xMI for linux-mediatek@lists.infradead.org; Mon, 21 Oct 2024 03:02:01 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-20cafd36ed0so2767075ad.3 for ; Sun, 20 Oct 2024 20:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479718; x=1730084518; 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=XkkT1YK08fvvBnsXdekTj1dlk1F6WdJ88gbC//Uv2Rg=; b=v2Ac98dzMoRzki7czZo2NdnBnG6LK8ctPUfM0soX7E3kaWQXelh9jTFL6a7Xmc3lvW BdCP6US6kh+ZPgfOcvDpLYCPbnFkEk5NQMoYaC7gQfVVb4sNFJlVk6mdHb8NnIySh857 Att4GQ6rIwiywUdhKrU6yXL/5NCk65vOEvspTE0V3HvSvnuchF3Ps9Bs8tm6YneAf/82 TJJHGCFlpuoLvLxcoA+XtATlcGMSean4mHs9MEPLqV9mmXXU6ar0svGhKPxBEmBfbOZx gaxFBTt4kCsmxQWYVWG+QpZeBct/v81yKihTN12u5sJJyQL9Ylpc3ZCSTftJtlqVQ/Hf MP9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479718; x=1730084518; 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=XkkT1YK08fvvBnsXdekTj1dlk1F6WdJ88gbC//Uv2Rg=; b=uXKYxWob3hqkfIJaceoyVU2J7M8v3wWXTv9J7yHdNhYzCwuqwg4vaVoP2X2wt9P9Dw j0GI08+mlI4zLwKIUoeglnqe3VgxWGlMbxWivFX9xgA6fR368207IfUWGQiiDJ3SPvG7 CygzSuRdU078ZbxaUga+OU4IYD6DrubXmKoTOvAQPtDk5ga7PyH1AWxfA1bOo4MV8U7o qM8IdgLp/3RzoEC24kA7mQQt7t1lZd3dSB3mRW8YsM4MpDwG8MTrEtXPD0uvPp1mHz3t NqIIYlXeNmQkqFUxJkLsvmhnIW/kRdYADkrmeKCc1hK4p5LaecoV2A0YqHOWBhwilHJ4 /VUQ== X-Forwarded-Encrypted: i=1; AJvYcCWxJISO/oyzeu86B6IAYvrWmNwmIheWMlyt6gQ3mRPLX2NqSqVikDNsRYFCEfFUZLj8gGIZ7LgFUzjhLT+KNA==@lists.infradead.org X-Gm-Message-State: AOJu0Yyry857RQLn1DnodZFwDjxb5gQfoDkzp1+3RKzrGAQF1IfV8UJl DAyrgrCMsRvhS4qMac+9D4Np+gxDiq0Hq1KezX67i3IMfYD6UGGHmVJDJK1bgw8= X-Google-Smtp-Source: AGHT+IF2l3fvw7cZnTVlJG1e6ibKKbfgh+RtTSulFnAnUTynhu5L+2rzXIOyMTwakDpVOl1YUTgIEA== X-Received: by 2002:a05:6a20:4311:b0:1cf:4c3a:162a with SMTP id adf61e73a8af0-1d92c4ef619mr6775462637.5.1729479718621; Sun, 20 Oct 2024 20:01:58 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:58 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: 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, Zhengqiao Xia Subject: [PATCH v3 3/4] arm64: dts: mediatek: Add exton node for DP bridge Date: Mon, 21 Oct 2024 10:59:37 +0800 Message-Id: <20241021025938.676-4-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_200200_012347_0C153DD8 X-CRM114-Status: UNSURE ( 8.72 ) 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 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 682c6ad2574d..943837f20377 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_HIGH>; + 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 Oct 21 02:59:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13843527 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 C3A40D3C938 for ; Mon, 21 Oct 2024 03:08:13 +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=RwvmpL8qKj3SLwmzOmr8dF0fJatg9G7HpxkdxZupeyM=; b=vTNwI7Y4lsS214vM6FwuEbEmMC yKC/XWSS7s1mu+lqfwbkeqAplf7lts62INsHT05TXRQnwTQNYz60flt6TOw+EImxDJAWW+/bePlEo K6vpwGozaD6d5J04kDbNmQ57ThMUUwhb1mzvuAg5Do3TeRIrYO1m8r6ugb8fDzsKva7c2j5dc0VnN LCZeyqHQpbmFS61SaskKQU46bM/KAYDKi5awYnEH6jGrS45ktiw4BlvHzBppIkr3SXIJJ7v9BnsZk Qvp/WM1BN6m6z6Me3QTO2zOj7tm2QiFAQEG5kUdSs6VmqOiKEBo9HjZeg9Y3ZYqug7TzsMcbvG5gR SmWdl7Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2imC-00000005w0f-3pJa; Mon, 21 Oct 2024 03:08:12 +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 1t2igE-00000005ut4-0rje for linux-mediatek@lists.infradead.org; Mon, 21 Oct 2024 03:02:03 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-20c804409b0so3536035ad.2 for ; Sun, 20 Oct 2024 20:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479721; x=1730084521; 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=RwvmpL8qKj3SLwmzOmr8dF0fJatg9G7HpxkdxZupeyM=; b=oNe0aAQLv/4DsZgtU2/xGp8L+JVgaojj33jHF6nvKgbd8oTs+ZyGuS32DjwglWQxVr qzBh0uuB69v+fKGn07RVjll9Yf8SrstzKUSPX6uBYn/vYjVNHghHWa9YXs5dAM44bRuH +gl3uVxp18VuLPYmSoNK5Wt85Hcq4zm6VJCcgsqgbcEYYtRGhOIaYLrFm8kF1RDI8zL0 GUnLbZlRyowiOJeT+6LSxDVB87zeYGA/WezrHfNwOYJk36qaWT5z/poHqNax4aKGXcUy KlmRFIGzRrzPKM8BGRN+9GE5Y4RQYcmd8mVCOonlWjRDI8fejcNqUH54OdleoE9yPgy/ wPEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479721; x=1730084521; 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=RwvmpL8qKj3SLwmzOmr8dF0fJatg9G7HpxkdxZupeyM=; b=Gax6mmIxK/Po+K/QveTKNzLwqMqI1VZNEeQnsIsnWQwXnC+Kr85qdTRjeSd06jUngV mT8WA+RUqFIsU5e1f1w4OhqXZrWt/7X1XTE5rq1ndKwdyMUblG2k+kQaV2rc+w5/x6zR iJpr5QH+DMlM8hfGPS2blaaOoJgFaQYVFpDVuyc7GS78cBdJdziI596nZP+mJlLqC+Ng ln+ov6oEQ9HhW9D6sdqUU2ua5aQA7GTRy7n8Ze1NVIlwO9k0L9NPdiyUrnlfngtssb9O ILfx6JeHgVZDfvBHQcv6Se/pCBT6Q1Xm70fzey3Cv0LPWuDxslHvj6jfn9b78Fh5fWO8 s7lw== X-Forwarded-Encrypted: i=1; AJvYcCV4Z6cpE3GePhSTeR7CTtfvNWqJCAXlsSKOGBfLrd/RnK+P8sJG5RSw76FMx1QSVRSuhmKeMgMTBL/fhw7rMQ==@lists.infradead.org X-Gm-Message-State: AOJu0YwvmZrGZJtDndBNftXXV3D0BeWJdATDTBLXRnAxxJYXrlqoU88Z dznpMTr63/9vI6FvhlSIigH9504etm6seRBXAi4bAj69jDywarIOUQJWpoqwJ3c= X-Google-Smtp-Source: AGHT+IHbWlSXkhTf+Zn+HTAPr4tp/WE5z2N/4rjBqzeFRCPxylG6iEA0iZI+/xW79NLFCM34qxB4fw== X-Received: by 2002:a05:6a20:3941:b0:1d4:f5e4:6a9a with SMTP id adf61e73a8af0-1d92c592a15mr5971583637.12.1729479721426; Sun, 20 Oct 2024 20:02:01 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:02:01 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: 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, Zhengqiao Xia Subject: [PATCH v3 4/4] arm64: dts: mediatek: Modify audio codec name for pmic Date: Mon, 21 Oct 2024 10:59:38 +0800 Message-Id: <20241021025938.676-5-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_200202_275198_32A13934 X-CRM114-Status: UNSURE ( 9.60 ) 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 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 943837f20377..13e464dac1be 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 */