From patchwork Thu Dec 12 06:20:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13904706 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 3CCE8E77180 for ; Thu, 12 Dec 2024 06:23:15 +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=gmhFFd9OZS3YcXJsK70hE90ScOtfqunHCKFsvNhGnPk=; b=NL/YS1Zet8IxTtWw+cV3aQDfG5 rwuxd8+5w2bGZleJKQV0LIxqgjIhMheUIlsjREma14+I3jpCSdc6g0zqLR/Rc3Cptt5BdnGZx31Ll wAAmwj7UcNN/c0PD1wP+uGbcsVOaSwkV7vHar7DOuq9QLSvy/T2TiPlnqNYqRCc81Hc9aavFSRA68 Kg7a+NsCy4kCvZCdl/jETkuilJezvOaOExICrWcUqVKav5hf7S/OUlvqdeuDbwvrQxIlZrtNVlXcd ar/vZaMd2Q82tGwlJnf8xfl97iLsBMSkJVada21jvTK/Ageia3mdgXHyjpsszsRMjiVitGcpT2HkK GFYr7p0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLcbI-0000000H1ws-3qR3; Thu, 12 Dec 2024 06:23:04 +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 1tLcZI-0000000H1XF-1daa for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 06:21:01 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-215607278acso436015ad.1 for ; Wed, 11 Dec 2024 22:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733984460; x=1734589260; 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=gmhFFd9OZS3YcXJsK70hE90ScOtfqunHCKFsvNhGnPk=; b=pt6CPg6ATFlcfxjUeWMVfaMrTc25fVfM36CrGmIhBeSX+UHDU7cgnoHrolPBOUj4as qTZXz2AIfkg9dUOLMr5Jz5xvfdjeKjXMq3Gq7MxiX6MIqaPoI9kB+KcHW4/ZkK83GJH4 WYYp3NvlQGIbYksacINaTY3YwVTWhRUfCrTvHg4iZC/MT9S0kafNPWyJUvWdj3yWoWj2 CmZdF70ezR3I7Mcu6mGOTh2vtA1O+dwey3yZrM4pjNiWMZ88fxeLwnwyOP/Vg617f6tt 8czJGxQx9X95du3B06HxxkO9kxeCq39sXXS2HI9nXzVdAByDC37DtT3+Anf31tB+fPF1 zM/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733984460; x=1734589260; 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=gmhFFd9OZS3YcXJsK70hE90ScOtfqunHCKFsvNhGnPk=; b=HjL8TN04a6689xjwEbMVAKwrckf9VmvOLJoI6LQ4j13AmbzLNBEVtfE6RLen/KxxZd Qpm/mQHkfArcxviLNaRl6bhQHg5YdVjlk8J1lJ0EUBemKZyvrni3oUCAqiijbCRiSsjg j4AZLZX51NpXNOBB4R7yD29XLyaXfQrR+EwnIjiq0SuatOcwNwrGUtEgSHsDKjC4cIJ/ S2pdcWzQeBf/Le+1ss3x3d8WoQQ2WSFqJN3MVrw7/U06HkMOKkI+cdIxkSzXpG4h+8pr wFJy/G2RzbAhjqhletrRKX3jt+kyMozdkM17sl+VoFfstAcBOCs3wwBUkiy06dlGPAEd tY5g== X-Forwarded-Encrypted: i=1; AJvYcCVpwFZ74+TtI+TQbEGbXpJMbQQk68/OpbidgDcdsf2uQMfRr3YwJZUjHR6RhcWs1HNHEwu+keYNZ9ubnDyii7v2@lists.infradead.org X-Gm-Message-State: AOJu0Yx557wTeGCRs5fr+Z00Yb592cdKefLAWQU3aA6ECmecPu1gEr9O n7P4B6JP76a1oytQTWcQnNNcPPMbBcRxywaNG3YkT/dYOefYnRXPT7U4ALIkF8w= X-Gm-Gg: ASbGncv1HoGH6uDG10isCi4YlhRU8UpAJt0jbZVJZtTeRS1LuCt8YYsFJxdUM8CmuSd gfGvS3cg28+FJHAhWO3M1HacNGUa9uWGsJukArEP6frChuyILDRpQ1+RJ7n0Xd1DoVtjsho10dx oEcyMbod1ElJku4zwPxjRfTMBxQoLy4rFDNBqetOZ9IPEgyTp99kpD1fsODDd1FOUYCs2H7b9Dm sDuAmeSU9u8PBn2rCUxR3do6r7c2RiTuKakJIbt4V08ERwDWaSsdmLVfgdaUer6Kqv0AbSuqSkV dPIKm5T1AjByK4mPB2bp X-Google-Smtp-Source: AGHT+IGNhqg7BDa95UyNmBCMDwuy5gdbsBxRXNYNtSRIJSSwK0euI41N/BGBIkwVFECyb3kJ4tXPWA== X-Received: by 2002:a17:903:32cd:b0:216:3083:d043 with SMTP id d9443c01a7336-2177856a6eamr36242165ad.12.1733984459913; Wed, 11 Dec 2024 22:20:59 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2162c278668sm83579165ad.81.2024.12.11.22.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 22:20:59 -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 v5 1/4] dt-bindings: arm: mediatek: Add MT8186 Chinchou Chromebook Date: Thu, 12 Dec 2024 14:20:43 +0800 Message-Id: <20241212062046.22509-2-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241211_222100_428556_509A6B7E X-CRM114-Status: UNSURE ( 8.47 ) 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 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..d3cc6fbad8d0 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-sku3 + - const: google,chinchou-sku6 + - const: google,chinchou-sku7 + - const: google,chinchou-sku17 + - 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 Thu Dec 12 06:20:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13904711 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 23AD2E7717F for ; Thu, 12 Dec 2024 06:24:22 +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=mJZcXb8dkpO22VJupd+sTy1vZg0+CYZcmocwvBHdirY=; b=jHmDHN5eynpOc+xoUFmBkBXDnd nDb2HEvOQZsIwUZHQSb5M6ALurtuhqO2T6OXB9SPIQIYlbBH0PuIbAQw68oztQrrFfkEygG8vJ+KO jZoc/h/lThyyHvHijDIXkLGizKz8knZ5ZaZFou48I/0JW7MP+qz7R6QEXJoD3MYNSxfe7QuOMwDR4 HlFz4Hl8hZOWhm28uBqg7eF4th0lDzd/RXsJEwpJrZVIPMjUfB8OOBubO/U+dK9UDmzCrD0jRbtC4 h8AhJYHR9nJUQL26I8GQk4HHh0Ca1RcggTpIqTCy7mjPxcyrpT7nXFSvtBSDqMqirLPb0zdk+tIKm 8Ysjb3aA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLccK-0000000H29t-1qE4; Thu, 12 Dec 2024 06:24:08 +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 1tLcZL-0000000H1YG-3Qd4 for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 06:21:05 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2162b5d2e1fso481165ad.3 for ; Wed, 11 Dec 2024 22:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733984463; x=1734589263; 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=mJZcXb8dkpO22VJupd+sTy1vZg0+CYZcmocwvBHdirY=; b=2QshWMLVTikxSGoqGg/QMsOFJUz2cgT+0Y7gBpbINW9/wIhXM2W0aCIpvu/ljs5qLe rA2z4SUsimZf/tN9LjNE1KJEpI/shkAOV5VfWwtyHYjPs3z2iZWNBMEyQ3t3LLy9Y6df Kg34SyLT0qi/oTZHQIZZaRwmlb/Ul5OV9e4mE/MURRNSKeP1UCDuPx7Khg+Z8klzBOYl q4VR6i6UK3DtuXCdptYBeDkyPGEqDkWjkvfEeBKm2imDUVzNxzm3ouui9xF3qw/3JkDM DB9x4gNv1TJA1+q2IQs1ntqolh4s3J9tBFAV8u9veKvy5lnQc6kbDmDIygAwmrCu890d ugwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733984463; x=1734589263; 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=mJZcXb8dkpO22VJupd+sTy1vZg0+CYZcmocwvBHdirY=; b=JgYz8L3kxBrJXDuRcyyeZziPa4x3dPeKw43BFvf3lOgTmlUml415W77L3WGU/RwxNp Qe/K0LoOA+jarqC6DWEqNc44vi09tmvV4zkH09VA+haBgzwH69bSKUvgFlCW6yj4gsgh y629+QJ2WUs4mCUcgBEwgh+wv4Pyd80VrFCgQTzUn0vU2fQXazX5gzJXf9ApSViOoODx +Dy19INCNfT1AftNNOmXr8o8WirXcoQayefpcSAW3t2MUFgvEaiaZWM4NIFPv/3D0lyE 6/A04YXlb9UadOH1AyfzNNda71wPoZEfZQxRccK1TkrS4yv1AB8WRM56lTucpOfDZ+wT ZCcg== X-Forwarded-Encrypted: i=1; AJvYcCUled+AVFfrmX7UGJWtXu2cpER6TCyxgDO5Blzo6rwX5T5qm/d73xHUx27I0RLp9JcwXyRuRox/JHqpXgdn0b3E@lists.infradead.org X-Gm-Message-State: AOJu0YzawI8vTaP7qFpkieouc0adIptDifcKeJf2K9nq03BHGOnG8FoM XTWueOHAQSFVDe4H+5PE+ZdZYkOk5hnbtsGq3HqO8+bZGeVX6L491tcG1TkrKMs= X-Gm-Gg: ASbGncu48rDppg1Pc8mq2LmKrIXmqWtFaSzjpd6pU/DBEPL2M+nAeJDqfJtmg2zjU2e ftCZ9O9J84UItAhO/WMmhbUmYbCKV+RYMDKpp+JM8qirIIPfnKf5ca7JK8CZd3u5tvcifjqvwuK OLyflfOL4rqv9jG9uA5MN3DQ1SXVcEC2PFk+vqOMe7WPOqpvuWKCzgXSCWmEpUUj7VtD7w0Ui+U 2nY1mUy0AzW3tAoynP4dG5czSu3lbnCmSzcYNxvZ6w0DrX7Dib87DXGYTfw7liRmwRSIU5b9rgM EpNwqCSlpO+amnRDiAUi X-Google-Smtp-Source: AGHT+IH2zBdCACf7+aG/i1DP70tweBGTWltkOjk7VBfkMCsvI6QVGRGO+Hyy0JesdskAGcrlpV/xJA== X-Received: by 2002:a17:902:e543:b0:215:9a73:6c4f with SMTP id d9443c01a7336-21778520088mr35332925ad.6.1733984462835; Wed, 11 Dec 2024 22:21:02 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2162c278668sm83579165ad.81.2024.12.11.22.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 22:21:02 -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 v5 2/4] arm64: dts: mediatek: Add MT8186 Chinchou Chromebooks Date: Thu, 12 Dec 2024 14:20:44 +0800 Message-Id: <20241212062046.22509-3-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241211_222103_859006_837ACD90 X-CRM114-Status: GOOD ( 14.29 ) 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..9d6e62af6944 --- /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-sku3", + "google,chinchou-sku6", "google,chinchou-sku7", + "google,chinchou-sku17", "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..800792157021 --- /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 = <8>; + }; + + pins-cmd-dat { + drive-strength = <8>; + }; +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength = <8>; + }; + + pins-cmd-dat { + drive-strength = <8>; + }; +}; + +&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 Thu Dec 12 06:20:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13904712 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 09683E7717F for ; Thu, 12 Dec 2024 06:25:24 +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=OyTPmfk5nlWT6oblaTqVg0NzyCQ779C0HWVuTXhDcag=; b=UcCgrwkSoCKEeHvrChZ78EkhW8 dWhTTSaePqU8iZZayjFovByc69QEwxaj/Iefm/KsS/pF01C77Z3dlWU7HYic8k6ac5vbAxa/XMKmJ tQJ5KU3rPK98h4QzgUW1BABZHtGB8kgwjyQkX9yc8iTpdtORGTIflUeA+b7FQCOsXG99jcou/hWT6 slxTgotMAOtLqcVQq6amP2xfdKMRjat0Xa3L/fJ3M3Xlhb84jWJbBtw6VRARXYExUIU2txc5A8Utq 0lMxEGie+FxFS7OpGegdhqT056dWUzp5zJYVvLbBzGIb0WXh1nYjZsvQDZqGxCp8hPbuuqSc6S1XP yTlquwNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLcdN-0000000H2Mp-0ZYE; Thu, 12 Dec 2024 06:25:13 +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 1tLcZO-0000000H1Zb-17dA for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 06:21:07 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2162699e0ccso536485ad.0 for ; Wed, 11 Dec 2024 22:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733984466; x=1734589266; 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=OyTPmfk5nlWT6oblaTqVg0NzyCQ779C0HWVuTXhDcag=; b=idngwNE4zv1SUxeoRnim0HiGE2vsTJtL2AUgm8+/MfxgjYxtqDqgZZvtEjDRSxC+dV 2kTBtXBJi1YrwqcWGrD2adLDRo8GW3Qvsp/zsY9jeO5Flhd8eC0jGJLAFp9Wn4jscWFF VrcMhipGh7i1CJcSKTHgNgS7C297TPWd0JAhWIPs/5K+Xutqe1O8HPTXIjWpiUXAL5TK rFp/84qm1mUg1tJUKsQUsTgme7FnquVtk0WEeIbEHR8379DP2CzjQEUo5xBEEEcuoHD9 bJwQmTfFHJGk0hUZkIgncgSEIYBz90BhFSFQtVcHQvGImrm3uqNZhMD5qQhvdR1XNuHA q8fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733984466; x=1734589266; 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=OyTPmfk5nlWT6oblaTqVg0NzyCQ779C0HWVuTXhDcag=; b=eq54sUBCVHYM/u3vseeo0nOyLQYw6f9+8+7o3GIigqTMGil3bBPbX+S1lGkpQresR6 /OJUPP1pfp6E3fiWvUe2RJ1frkf4DIOFfKmTStReKgWzyfpmCH5BsRPJBs5LaWxPaKe7 On4IQeM09pGwlxLfksUgo1VI/Geu5gWhQVtkaK9r014w5E1hpaynFU/0SpDLSYr3SivS KE/qSE04PWAKxi/ldB0QNDiGuSNBb86cuchSZgZrNtVcJNW1lbFZqhcupMLB+peMIukV Ikxjq7sPffbBpJAz97GW61m6S2UNvE8ffEMPiH4ys42QTAX2KorX20k5oPieTlKhqwUH ze8A== X-Forwarded-Encrypted: i=1; AJvYcCVi0W4DrB0807n/HjDF9Z1MV75nMfXib94OjPOPTe+UbalV6vIBhRf8TKAQZofYb80LgMNBR4qGFwWB7R22+WHP@lists.infradead.org X-Gm-Message-State: AOJu0YwVI5ywi0isUiRnMHFpRYfAaXT8npmYyKcgfPB75ac7EIicWgWs oUIJkRFEP0taU+UdJNnnkyEe7USSzLRB6ao2Mh/2HFXzT2p2+oG/lMt1x6bgTfQ= X-Gm-Gg: ASbGncuROOTfQkI67y/J6lw+Yp+OPHhgGPRuWcxVZ2xiOJ7B95etSPu87pnSpcdi3sR 4PzeDU1+9hugmsuuP4noAmJlvwsArZQjG3+2deLylwsnp8injMnY8sYYOvX+FLZgKurebr1XDST aSHEcLS32Fkfs1VnDsCaZTaPnx1RpJSxYniA7Qpc38EQETaqX1C9s6UeIqPfw0RFJ5ysfJC3VU7 QJW/fC08l7beHUKv3TOl3V2RVVD7ZA0y4nfHZo9WaWvV2LVsIKFVVYg+vi/XVeT8a80KGrzCkNO Wfxj6s3vGq5vnpz5MZYO X-Google-Smtp-Source: AGHT+IFTcByLcObOG6og87W+8MmWO127PMV4RjfGUn4gbh7uXS5H+igPgK+lk69avI2I3fCZBkEIxg== X-Received: by 2002:a17:903:186:b0:215:2bfb:3cd7 with SMTP id d9443c01a7336-21778592996mr34393885ad.10.1733984465748; Wed, 11 Dec 2024 22:21:05 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2162c278668sm83579165ad.81.2024.12.11.22.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 22:21:05 -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 v5 3/4] arm64: dts: mediatek: Add extcon node for DP bridge Date: Thu, 12 Dec 2024 14:20:45 +0800 Message-Id: <20241212062046.22509-4-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241211_222106_301349_FF7B9017 X-CRM114-Status: UNSURE ( 9.55 ) 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 extcon 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 Thu Dec 12 06:20:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhengqiao Xia X-Patchwork-Id: 13904713 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 B5B24E7717F for ; Thu, 12 Dec 2024 06:26:29 +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=LfBkU5xN0WacDydGlClNsMc9BslSTszE5PxuLZUJYg8=; b=e/0ZKw/QCoyjQ7gKUpWxUYf+op 1BkvcDjpla2CT7XPzCpDQHflnUaO17eQsJq3cL9KbyGPo623Q4ZhXLidyMBUFGR/c0gQ55XnpECwg 2C1DzIV+yBTpxlyQuMUbtz93n99e9ewKdqHsI3JFtShZ8ikO5bhI/Swn/blvQl25bcDLfUD2lxQss 7B+eA6MM50yq6ZZJPU06Mwfza1jEqzr0LJ/7mMvEj2Kb4C9wlx2LufHgi/fKHXrJiY6rJs4sUk9or lXxv3oIe+dnO+rQezl646U9YMLhhH7MIxRm5tF3fJMLaUjymPZoiz3FoiwxdomMpyp6r5QtSwBuhm dVQnDb+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLceP-0000000H2XE-09Gg; Thu, 12 Dec 2024 06:26:17 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLcZR-0000000H1av-0skj for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 06:21:10 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-2162b5d2e1fso481355ad.3 for ; Wed, 11 Dec 2024 22:21:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1733984469; x=1734589269; 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=LfBkU5xN0WacDydGlClNsMc9BslSTszE5PxuLZUJYg8=; b=t4TC5lNV1vCTGDdCjyfSNYgN9ZPu/oNzLm/doI7Dyt/1T/MlGD+TyeVTPKca9prxa+ qy0FHK6KRlelCOK8uVbStQgjU95I4s+F0TkPyKwEuPtj5k579RUf9swSwETsXikwArP7 IFyEY1xf/RuXXWEZs6nDZ/jr4DVcLexeYBc3n9bIbpLFzzwkF4SNOxQCR8s2sqQtPFJV nJQ7cYjxzNijiVQDsYxtqO85rt4ZzJ2uPRXaUP8ktUy3qH0k5KRI8Z9DZ1UXm0WO1ED7 fuNzY7ZYs+aHgW01zb4zPFgSTWGUq+NEfUbkv7eZ4jzijJTn0Mcrexr/ZHAdpyttolii tsgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733984469; x=1734589269; 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=LfBkU5xN0WacDydGlClNsMc9BslSTszE5PxuLZUJYg8=; b=BOoPhGWMGNU4/MJzTpfpbmjOc5gpye11oIEKfaIk+U5Dw5v1utgivmPA8e6+9zw5vs skSgbHKmnrE3KPBQtznOgRF5d3mosGsONVLqcbmQWgRSR70IipOptxutDR2/RLxJtlfj CbBwBxIfKYMAcBH5WZbHIEob7VUpCH3nwkSgoLZgmn4Od/mfQ9Rd0i+r1uWdseVvQ+Mh cv3iHS3CUsR0xKtUxaUctvJd1womyOvNU9MbkpyvkmYkhVzEx6+YHj0Nc2MgALleixUl aIoiNPq2vVd/D4K/4EhKGMq+1oqCl/Q6qrC3wy3eZyg+2X9Bvn/uwA82v0/hn6idhIBV pV8Q== X-Forwarded-Encrypted: i=1; AJvYcCUKxf1ottzv6ZZm0fW0/C+ZSIPljbQhc6clbdAEBuZby5TM6KXfHwoujSoQullU0H3ex7d8+aVVEbs17pldpIg0@lists.infradead.org X-Gm-Message-State: AOJu0YzMKqXXIQBN87FlEda6R/4IyV/nf2tA9A1inUqeAAyYOy2VM/F9 KiWohP2rXfiiddAoRiW33PlUysaKSaSeJH6wEjf8CBnXka2IPnQZ2r2q8kSa2uQ= X-Gm-Gg: ASbGncsvc9JCQAdTytDaDCP8KW7IdZDrUqXFYjAc14NOJ7zKgMFTVrMXutWJRR8uUHV ioeK+rb03FqV1FI3j5TF7VuD5DHWkYq9KlJ0WEy/OaADVJNPLGltUsVff/CPUO2DYTW7k0kutQh mlczcsrWna5cRxG/IcexBNTj1UEVri2QEfiyu5NTJE/sP8thRqnVOjc5BmxB4NjoHn/zKzId/h1 IJh5LHwNFFEZR4/6SufGfmkhl0VDwJIkgXlss/beLJ2eDgrDXTEAqgdL0GgITs2IzdAm1Cg00yp HIiQ62xq5SyHScvTfbUi X-Google-Smtp-Source: AGHT+IG1aykVIJ7KK1nMnneAqk9zPBfBBGEs0+epeO3ZGiz6cJuzU7kmR5k6vnbujqI2WNuSBpIchQ== X-Received: by 2002:a17:902:d482:b0:216:42fd:79d8 with SMTP id d9443c01a7336-217785929d6mr36812415ad.12.1733984468684; Wed, 11 Dec 2024 22:21:08 -0800 (PST) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2162c278668sm83579165ad.81.2024.12.11.22.21.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 22:21:08 -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 v5 4/4] arm64: dts: mediatek: Modify audio codec name for pmic Date: Thu, 12 Dec 2024 14:20:46 +0800 Message-Id: <20241212062046.22509-5-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241212062046.22509-1-xiazhengqiao@huaqin.corp-partner.google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241211_222109_245532_285ED191 X-CRM114-Status: GOOD ( 10.62 ) 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 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 */