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: 13889944 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 03353D49795 for ; Mon, 2 Dec 2024 03:28:32 +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=q80dzoBDMu/VEMeXg4ZAoWNpeR drnsq04rRbDABxIWi0m1EeCW0Pai5P9xjclgIanlgs4G8qsd33o1VnYPhzpHMo4ix1ZLbSLM1wmcs q4Pz4ekwrz88EYNIKrz+SLChgmRIJSG8NCl146lp2u8UmqsgXxGvUw84M38bpptjAS6us5gQP0Mwu NKTlmm16yJb2WxzAmimCZTYpAQbC6Lab9hWbxWGIEck5KbA4H6FB0g99jgna42kUPkCb3c+stLEh4 6tOe9y9V79l1C9AAhRoyqWQcj/Epx0PueNW8lE8vGgtit0UWxqlVSCQuc79RR9V7EOo56f2o8iBcO gwg0AsCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx6t-00000004wZ7-0wGD; Mon, 02 Dec 2024 03:28:31 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwzj-00000004v6Y-3l0M for linux-mediatek@lists.infradead.org; Mon, 02 Dec 2024 03:21:09 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-215564e34acso3113695ad.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=mLQHxaHbE2bCbku2iTP6XuOAFlfEq9p0bQz/e7sfQOV8RSJC5N/qo1ttBAr3HakU/2 qsMpf2Pmy7nIm/g4LcGh/HMD93dt8nYqhEr7RzIQ870MGG9TSmJWqfWYmon4YL2qROgm WYQdhRl1cjilpj8aTaW6desqf17XWQvT+Fy9hJHTtpTKk5xqe0SnvuZ9hz0nd4ouOcFI psGUPX1AFj/AmeK0AR70tkP+LdZ42uRJe3OU7ffZJp9Wf7KsgbCz1JG+QWTJ1CGVmL/0 YBEcmFk2XrGfnubBjGuX/yrKkV6fKlZo49N1RylFCMUHtfk1OeZJEgfcixb0Yg00owzA vwmg== X-Forwarded-Encrypted: i=1; AJvYcCU2O+HoUc2Ybh5CPe0Z/KtG5ZGSBnF8AEhmNnxaRrHQZXpoxsItcB34XoV0qV3hpm44c9yQvjqLNNO6BprAew==@lists.infradead.org X-Gm-Message-State: AOJu0Yx/jMRY9XIXQw8kKchpqv7kN0cSbLlA70PE+z7tfMMLBiFkfmXl K0nxmMrcFNpctFWPXLu3oSubyAN9ii/3xpSVgW9llhRLkKN1GPE6VpzdJYwyY50= X-Gm-Gg: ASbGncv9AmOJohrnZeuhzv9xiJtx1HWojqq4gdCljM2PA94Y2AiDELNurBgd0vd4F6F GEAn3P9CNz0IZCjP+ZBz8zsOlr2sC+oqjc6HQboDGo5ZRA0ZDr89ZYi0PPAOaeSypzA6etCCAKS BmDspS7bNE+d0aOE6zYq9ao5HO9CK+bZfojxL1iUWT19iM/r5kcgRegNDe2TXLwkBmk4UnM34RL SZwLd1kxrAJmnRtqzLPckYiElzNhijUJ+LpuKCMqaOsu4Aj3zh77Jg4TrmIH5K9uNl9xEUZem7h STTICQq8Nr8BBg== 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_932905_3E90A20D X-CRM114-Status: UNSURE ( 7.26 ) 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 Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../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: 13889958 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 EEF32D49798 for ; Mon, 2 Dec 2024 03:29:31 +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=ebDq4Hn9PJ4U/J1retSJgHvzmW vpffB3BfEvgg5k+NUMLfr42QFBjzIDmv0u93VNWj2hTIizRvd3fRkFg7vqV3zPnxI4WGYGXHO3w51 tpBuAKh5R/z5gdd0k2kVpUzMa0unDMS5XQbJVlSEh+IlfOfZJlQD74MRxsKFT8uegF8i8JszNjKWz ERwDnY0OLldt/uzFBgv9GmY02Dd3+k0Ob+jy5hYLW3Brx+zAdiUT0H2ER2HjebJjdL8HKe1o9ZGFx eoC5eAQVlVjdecFfg84Bb+voj0qrIuX+IVuLIjrxLE49sJbT9rigoOfr0/ufvTGJQPUA99Xv+7TYz 3qeT0bOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx7r-00000004wvA-0VlR; Mon, 02 Dec 2024 03:29:31 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHwzy-00000004v9N-2hQS for linux-mediatek@lists.infradead.org; Mon, 02 Dec 2024 03:21:25 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2155c24a499so3159975ad.1 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=kbhKMl0BggbJDZkOBheffxPVf6h5cqamYVhwo150b/zK2Q+R12CG6UjCJXAdbrOGNX TBTdTcc11wWV5gNjJO79BVIVyEOCPmBhxup5kKSYEJF8tANz5xOqngu8U12Jwm5aJ7zz QgpDRW9fopi8EvN8xnugJ0+BWiPzMkrbxomY2J0nlRjaOU3wJGA8ffzeNQzKY1fcHDBW KJ6NqGPkoQ9uCST5tFxPu4rrU5rKEfxLdiFzDF5LYztNkZ14viL+H7q7s6m+/wHHomG0 EQ19oosKFvN2PAaQuPyKcCpfQZojzmdOfBzOevT4walURcxNJM7g1UxjYAyZ2Tju2UHG X1SA== X-Forwarded-Encrypted: i=1; AJvYcCWzI8gM51K7OPjAbQwg6rRfS1she1ifiAIAba4n2JDR4B55nSXm2ICJkyjrlvFpKLdltrA9GN70auMjvrB0KQ==@lists.infradead.org X-Gm-Message-State: AOJu0Yxzabb46RlKne7v6HXscU/Lj8/FklOtdZKtkeiAswtIb2iqhvdb NkYBM48+Tkz97u2t+d+XF7PuOhZk7tMf+BWr7LHpLGrkPMcVVklh1qYQK8oRySE= X-Gm-Gg: ASbGncvH1X42edGWoLBzUUOO7OqVREtFW4HHethto0BuMyPddtuN8y9JtMtO4hlFBKP ltSFJDRDOGUmq5IRVgKR8801oNUbMzXmoamJHun75HcfO2VlNqgwVRBaIVpozH3pbPqSDse6dox l9Oxw/qT3LQ4DVG17t0AfmBh+19QwWj9Go1pJ/5+2uS72eVVViOZhHnPcpxquY0sU3fEwGeYYNa +IAGy0dbS9Vd8bMWJD1jtM2uZVkGgZRqYcMX+/vN9n6A1TJkk+8F13VdfJa4PiDSGs5+zS2YpqX 6SAPYoXh06KTLA== 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_689855_BCB8C0DB X-CRM114-Status: GOOD ( 13.07 ) 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..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: 13889959 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 CD903D49795 for ; Mon, 2 Dec 2024 03:30:31 +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=ixMmLKMg2Qx9m0ZFBvPRCxBoYj FhTISxW+efVaDpSnzePX4lWyB1fdUlm4+xyyHdUR4oRDN6jlUzR4tDnHgUq9kzm7vDW+j5VJeKS6z DHP6F0pNUCEWoyN/3+rCdjA5Zg9zvqa6MGu3HdtAVVuwv53gzaRor5ZXkgsFtEq47iCIwXLHquHBZ n8E4qpa/wRxeWR2Ruuq08SM4S0AcehmjeDTcemn+VfvxkAYtH3krIWMZVUHbb9oh2W1Wg+RUPmETA ZsVQgbwgPtk4KeddwFwSLDsGYceRLeYfa3Ttn21JWn2egqM4myPzreT9+NwtJGzoRqMVqMiPWqup5 W27yqRxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx8p-00000004x7r-0Jhk; Mon, 02 Dec 2024 03:30:31 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHx06-00000004vC8-0S6a for linux-mediatek@lists.infradead.org; Mon, 02 Dec 2024 03:21:31 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-21583eec308so235925ad.1 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=JBjVhSH8BrSx2oVFYYLCgNiXba0+A1e5vZYz6X6xtnLfl+cY0tCMBbi99ZNOwO8hLz 5KPdXysfEjm06cW+KnUoqH1zV+4t/3KOGxcsrGbaV+gnZTuCGr9EIprP9jaULXpEow3P vAekjhHD/0Pv/095I6i7XpuXbj4B4lASB6iag8UQga/9wkw/NAoLoM1R1ZWhWz81tpuD Ri40ecQwIgq82fFX40sT0L5aqDAZI3/EnUDswPQjtPm0DkBSilJaAiLZbKQavswx6xUA p6HMyYNCDVcutUWgwvmM01ECWvBe919jjUvtiRjLsX6a6giui1oRDypHSLF1wd4RvCph p9zw== X-Forwarded-Encrypted: i=1; AJvYcCWnfLIJ08oBGnQXg/Gb1cN/k6GoujbEqo+Maq7jrzJuggPPdfRUD//ProUZqK+1WZ1rH2VhXFDv+RAhMYJrpg==@lists.infradead.org X-Gm-Message-State: AOJu0YxqCJUe9+lUD5NE2ShjoE113pIO4XEsu6y7NIr+4lI6HwfJeqRS WPQ1p8dPjc8tWkw/QUbnKBEo1se3D8ecK1XYnOpZtWzd7aj2EDcPUTuuyrY+GwI= X-Gm-Gg: ASbGnctY+0VbXveDDx7CkqFQAnXIjRGJZKmDAhevfwSepNo0wkVvS7onMP6goJSPWT4 f9g4BIqn587gVpeudyKGDns0yUOriEpBBqCnJzBsc0V8+quNLesgKSAV+CC0qfSfdckC3thJ8CS dKas0g2jX3/erIZIz1/FF3sKbUFXKfQFaxkuHF9Uv4hlFv6r5SpbIzglqbusR/hlVAQ0YFMMfaj zIuq1undpImFFTaLu7dSjibA3txrDeFsXy+J1zU2HlipJ/xQDqbplNxCWBKknJB/XwGWcot1RB9 i/QQvCKhSDha2A== 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_192130_143409_1A12E7D4 X-CRM114-Status: UNSURE ( 8.54 ) 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 Reviewed-by: AngeloGioacchino Del Regno --- 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: 13889960 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 F1432D49795 for ; Mon, 2 Dec 2024 03:31:30 +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=bB+XzGmlWu2GsbdEd5zV6o1GjE 771Ux8Rfy3kA4EyF7D3hr0mlJgt+YfCzuFrDlne+4d4fh45Z7QwXWqXq7gYz9HJtDCoxxufBJw+dm zgBjm6lWkBKlDAbDd3fQH2gki8SAK9Rju7/IpDV4X4eJrS1DP859qvmrt+ZA+CtDLQwZ5s5L/hKTP 8as7qAGJDzOEoWI/stH8AliD95z3o5Aae2IayA5V3dR5IOu0LprNLCjdMnl8vndm3i6IyUmFCuVoh CTCEXcfrdQsQCJ5XFcioq2Q+b66zO6PhK4rVkSenO4BvMtQJXBZ20lFJobJUnKsrJcUls6tJfax2h XJJEUeZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tHx9m-00000004xJF-15ro; Mon, 02 Dec 2024 03:31:30 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tHx0D-00000004vFW-0Sll for linux-mediatek@lists.infradead.org; Mon, 02 Dec 2024 03:21:38 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-21589aa7913so189955ad.0 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=jnDaSYT/LOWaN9IHWLUQ7UGf8UzvVw3PcIE2LBeM22T3OiyK0EdRTOhE39Zy+AVUDN 81IsIkY66sT7+/kvYsI20pzhsqV2yHYGHOPbLW4Xemua/+JdabVuBzKoqvy1L7Y5jByl RKhNgpaYkeMIgyTQuPxvg+C9sABtjUWhmD39FPMXa2Mxf59t7Z3C7crEOaUS5iBiQDyO wVp+iidTHnig19/59eG4K67IltoxSxy9AARCD5h818YZixWqv+MAdFo1ddN0Gqtm9DV7 n4biWpcGbWgOv2/hs5SWCztv1Vzr45rTfMOxFAzu3B9hzcG3OLWzXVi31Ed6gJBh/Nd4 Oxdg== X-Forwarded-Encrypted: i=1; AJvYcCVzSsrZpKRcy/Tta+FoTDhNq5/ApG1o6Hy5iRQldLlO4xl0NmsrLb+lKEXUBfKMKgYfCb4rJXFTIRIeUlvujQ==@lists.infradead.org X-Gm-Message-State: AOJu0Yzxi3+QOJRdGZMsTnD377SN6G4QXQ2x+mvLRkumdf0Rm/Sm9V0H 2tG72etEtaQnFTaaKHk9BLDQwF8h0wv5IavvQV9RkJpFc8rPKJPeeFavD0l/w0s= X-Gm-Gg: ASbGncvu8uJS9MgNH6TzuQ/ZLtCMkNsMtT8d9xHFaCEvbjpf03naJBGdyVIU8CXVhvC euLRfgnboEWpUJx9znHdz59/Yf4ceYfYBnlB+feJmp/peJ0ade7haRJnWT65jObeXzpPX1AtYPO RbfWjy/hEYUFESATj3laWDXoZyE15XOkmEKkJghRQcNcradZjFwvDjpmJFQiCY007kJYH9hPweo e+gqxeSnMCcySlFncAJLBXG7wUWZhm15VBLdzViGddytb0GoMOjF/a+eQzGKv5IAq6qNrl2ZTnf luSayANg02lHng== 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_155863_F225F461 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 Reviewed-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- 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 */