From nobody Tue Nov 26 05:39:17 2024 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBBAE1D1735 for ; Mon, 21 Oct 2024 07:27:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495655; cv=none; b=OfhgC7nLPt7RpJO+91qlCqEvRsGiNQWyXqETqoyAMfmdElXfMN1Nce21svHjnE8InwhR6HFpzoWQyjgVAlZiUXrH5l4Cxg6R6NXVxvNBEJ1dvZ1bKlLjvOFGbUKJCqu1Hm0RFlL750LLxekDwnfLsKf1akud9r6Xohdh4HFpIi8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495655; c=relaxed/simple; bh=tG6YhzlTGIreNbErkabD4IDbbTrsSViWd67RLxSnw0Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Ox11qnjhhQs0SJfbNqpBgKvjyB1paMqT0SKyebLJP1wV0ye7j2GQoYeHAodHg23Ne+b7OFA47bfFBt8x6CSKQRz2f8yr7OP3A1fPNnyPcXjq3VPrrpZvnb/AnXv9ygMrfQvebzX7l7toSMkcReBBigNkhjNgcAnEimFLx1o4L7M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=wP0KFTQn; arc=none smtp.client-ip=209.85.214.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="wP0KFTQn" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20c78a10eb3so3524315ad.0 for ; Mon, 21 Oct 2024 00:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729495653; x=1730100453; darn=vger.kernel.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=wP0KFTQnwAxASehqBIxbQKFBMXmfGgsVH7/ZI3Bj0+7/Kctzx6NPCN04SLglgBABHB rzgr72WpkWI4qMU1iqnxKbK7wB4IQS+jdiizNjcTNifAwdIDI7vDmNwKFLxmb1VTSCM4 LKEyG/YvmlOlAXEL2g5VitYW4/+20jDCSFj/05iIoxHcLg5bWUWLNfc2+lIHXfudrFzC Jp3W2R/c7lbwT5hT+5XjeeUh+/vNHGev9EMLX9piYNFdVs/TB5h7I3IFdumy63BT9O5l 4JZCZ5CsHdEhzG92SUXn995sYPrpBu58d4mDkuPEtSv1g2fqjJ0GSUF2QSkqDPBHLFVa 2dXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729495653; x=1730100453; 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=jpxfp29gL02HjKDP9oDidpSMWaY7ZhyP3jtsD/IwZAxITd3UMXkFpqQp/eRJV+P2IO bpelFO09ssJcZkeDtKzQbgwV513mEro5Avnpj4GnyV0cAn6Z0pLGfBHB7f141z9XOmSH MBNh2cF7lA9qkWguiO+rjQRLljXnQurJjc495VRxOhpXucYkfVLqPoa2VGdfRgl+j8KG CwEiD80R26OlLbT13L/s10PVOoU88CDgRFamNTSHhMG1/UzR7L8zeFIHHtuGfnbHqU4Q 9NvomOrZiXjdLFLEbSgOtKciHzjJEcEoJ8EkVPn2lCOWW2IGcUdd0aS1f7RYyW4rKr0X bk3Q== X-Forwarded-Encrypted: i=1; AJvYcCU0MJ3/LtEaYXaV+jlkovmqMj1uQjh2KPsbpO0gP3zsc4wjp9LfER2nn6p6dyDW6eyo2HDdQ+zXnSA50bE=@vger.kernel.org X-Gm-Message-State: AOJu0Ywg8Im5CIJxvAi72t1Fe+25iTybDbQsKRbN0hCr9B8mz8jWA9MS Zonvg4Dq4ntlliIXXRqhEELFLJvGJedkbwQaCSBicH/QC5JygRqTqAASbkLHc2w= X-Google-Smtp-Source: AGHT+IHVWdo9DzZe9CvJAnnR5Nm6etKX28vGhiPfuoocslDk2019rofbtIMsNYuZn74vbuM1Sbeinw== X-Received: by 2002:a17:902:e807:b0:20b:a2b8:1863 with SMTP id d9443c01a7336-20e5a7a3339mr57169335ad.3.1729495652874; Mon, 21 Oct 2024 00:27:32 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0db2desm19749595ad.203.2024.10.21.00.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 00:27:32 -0700 (PDT) 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 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 v3 RESEND 1/4] dt-bindings: arm: mediatek: Add MT8186 Chinchou Chromebook Date: Mon, 21 Oct 2024 15:26:23 +0800 Message-Id: <20241021072626.15102-2-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add an entry for the MT8186 based Chinchou Chromebook, also known as the ASUS Chromebook CZ12 Flip (CZ1204F) and CZ12(CZ1204C). Signed-off-by: Zhengqiao Xia Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/arm/mediatek.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Document= ation/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/CZ1204CM2= A) + 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/CZ1204FM2= A/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/CZ1204= FM2A 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 (14= M868)) items: - const: google,steelix-sku393219 --=20 2.17.1 From nobody Tue Nov 26 05:39:17 2024 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D5841DDC17 for ; Mon, 21 Oct 2024 07:27:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495658; cv=none; b=X0ozLvqvQmaifIv7fWVocC/d/l0gp18aB+xxQQ8hbeSpgzWIL92Ujb0EqbkboHbg/zetZh8tZhTi/5yBefM8w8SCetHQGLD3Zw255falKnnu+2CJ1PXVIe3knsXRSzr7K2XHn4OCoBBmKaKxV6mV1hy2vTK86tJ991W/37o4fxU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495658; c=relaxed/simple; bh=jlVPW9urZrR98gmlwfaDkm+8c6S64ZaJbSdI9NthFlU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=XwtLwmmq3Rljrdb3DIgCG4NrM3RBUot9068nCbOXH+dY77H1dEye+ZEdrKH1mlX/kxGwWFlJsnluI1FD7umLBHdb3YjmoEjBrdq+kp+j1Olbt8nGSTZAYdWjWCYJVcMqn/4hBB4UOJmB2erTsCAZhR8I8f/EPOFhtyYUihTBf6o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=Nf/Al9bF; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="Nf/Al9bF" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-20c83c2e967so2259535ad.1 for ; Mon, 21 Oct 2024 00:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729495656; x=1730100456; darn=vger.kernel.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=Nf/Al9bFcZBM+8ZCCKHkjxF+pexWGXm2T7aFBfN+RnX8UrOZt8cIxxea5YoxmDGueN oR9sJIUjJ+8PPqdNM+3Ggr3H0mRR7ETdLbizrA5vIRD4MUtIATwUNMQ+HFSHrhEsIa+7 e7njqqpTxMjX3MWT44TVNR1KdlIwRwtdROg+4OWD56b5dTLBEkd3gQvhunNLrt83eQm7 7YOrLtoratmmw/bUNBndS/kbcHGEXxkOFqTp+UGzXb8ZrtiiXTvLnSLmSG1VbkViFv8f 7Q1CKikXR4HSjSuf0kYEscAwHhY6VN3kXbBbbcomFlIhc4S65actsx7BNLUGFKt3/vuM uaMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729495656; x=1730100456; 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=RLcgm0OQkL03CGZvnsOUusIUzUoId1TR8g4mJu1LnLWGG3vcFreZ1IzsrxUrLyEbiD xs4vIrbRqMrK8cQXubfMP7FURoqRfS/Wqrfi2vKnpBNxBd6vtSvwVCnyyZNORK68emzh PsmV9XWjrBIu6QUBBVf7WZmifoR+TftNIwFVJk6QM2BRhW5RpdO14tGH1q5+GmNIFEJG scDnVAE3Tb6kYFnbNvUqAFoLm7L14V7yi4cmZC9uSul5FnBncqr6M+cRG6iaWaQd8oUA 12UvXfcjSSjSKnXinEVCvKjA/G1jV7ZQUl+XLhR3d/cOmxKrzied8WPadpwtQY/IPPMO Mg/w== X-Forwarded-Encrypted: i=1; AJvYcCUoC/0Vws8SvWBWbz08Yh+60DabyJqwss6rB5V9Q20i8blBkXnYk9hLHGGbE26/eS3EWd6jiDJP1rxDQBg=@vger.kernel.org X-Gm-Message-State: AOJu0YyUX7t6cdZ07sk6H2+wPzqfxf5tMnYLwF0XNfaEXV/NMC66Kpkb 4jcPV58CJIrDNf+KxWoQtf8X+cBQU9TwF2bDgK0Lj9OLxiFpxfv09xDi960yEkc= X-Google-Smtp-Source: AGHT+IHjxv29kLHZ8Fo/dsNBkftvA7EEKBCKkpaOY6CKVDCBvDvdsxOkGm7rtczS+9yz4TSx0Tg94Q== X-Received: by 2002:a17:902:da8f:b0:20c:e0ed:218 with SMTP id d9443c01a7336-20e5a8bd5demr61477435ad.9.1729495655608; Mon, 21 Oct 2024 00:27:35 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0db2desm19749595ad.203.2024.10.21.00.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 00:27:35 -0700 (PDT) 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 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 v3 RESEND 2/4] arm64: dts: mediatek: Add MT8186 Chinchou Chromebooks Date: Mon, 21 Oct 2024 15:26:24 +0800 Message-Id: <20241021072626.15102-3-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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-sk= u0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sk= u1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou-sk= u16.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dt= si diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/me= diatek/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) +=3D mt8183-kukui-kodama-sku3= 2.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-pumpkin.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8186-corsola-chinchou-sku0.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8186-corsola-chinchou-sku1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8186-corsola-chinchou-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8186-corsola-magneton-sku393216.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8186-corsola-magneton-sku393217.dtb dtb-$(CONFIG_ARCH_MEDIATEK) +=3D 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 =3D "Google chinchou CZ1104CM2A/CZ1204CM2A"; + compatible =3D "google,chinchou-sku0", "google,chinchou-sku2", + "google,chinchou-sku4", "google,chinchou-sku5", + "google,chinchou", "mediatek,mt8186"; +}; + +&gpio_keys { + status =3D "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 =3D "Google chinchou CZ1104FM2A/CZ1204FM2A/CZ1104CM2A/CZ1204CM2A"; + compatible =3D "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 =3D "disabled"; +}; + +&i2c1 { + i2c-scl-internal-delay-ns =3D <10000>; + + touchscreen: touchscreen@41 { + compatible =3D "ilitek,ili2901"; + reg =3D <0x41>; + interrupts-extended =3D <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&touchscreen_pins>; + reset-gpios =3D <&pio 60 GPIO_ACTIVE_LOW>; + vccio-supply =3D <&pp1800_tchscr_report_disable>; + vcc33-supply =3D <&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 =3D "Google chinchou CZ1104FM2A/CZ1204FM2A"; + compatible =3D "google,chinchou-sku16", "google,chinchou-sku18", + "google,chinchou-sku19", "google,chinchou-sku21", + "google,chinchou", "mediatek,mt8186"; +}; + +&i2c1 { + i2c-scl-internal-delay-ns =3D <10000>; + + touchscreen: touchscreen@41 { + compatible =3D "ilitek,ili2901"; + reg =3D <0x41>; + interrupts-extended =3D <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&touchscreen_pins>; + reset-gpios =3D <&pio 60 GPIO_ACTIVE_LOW>; + vccio-supply =3D <&pp1800_tchscr_report_disable>; + vcc33-supply =3D <&pp3300_z2>; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola-chinchou.dtsi b/ar= ch/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 =3D "regulator-fixed"; + regulator-name =3D "pp1000_edpbrdg"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&en_pp1000_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio =3D <&pio 29 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp3300_z2>; + }; + + pp1800_edpbrdg_dx: regulator-pp1800-edpbrdg-dx { + compatible =3D "regulator-fixed"; + regulator-name =3D "pp1800_edpbrdg_dx"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&en_pp1800_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio =3D <&pio 30 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&mt6366_vio18_reg>; + }; + + pp3300_edp_dx: regulator-pp3300-edp-dx { + compatible =3D "regulator-fixed"; + regulator-name =3D "pp3300_edp_dx"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&en_pp3300_edpbrdg>; + enable-active-high; + regulator-boot-on; + gpio =3D <&pio 31 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp3300_z2>; + }; + + pp1800_tchscr_report_disable: regulator-pp1800-tchscr-report-disable { + compatible =3D "regulator-fixed"; + regulator-name =3D "pp1800_tchscr_report_disable"; + pinctrl-names =3D "default"; + regulator-boot-on; + pinctrl-0 =3D <&touch_pin_report>; + gpio =3D <&pio 37 GPIO_ACTIVE_LOW>; + }; +}; + +&dsi_out { + remote-endpoint =3D <&anx7625_in>; +}; + +&i2c0 { + clock-frequency =3D <400000>; + + anx_bridge: anx7625@58 { + compatible =3D "analogix,anx7625"; + reg =3D <0x58>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&anx7625_pins>; + enable-gpios =3D <&pio 96 GPIO_ACTIVE_HIGH>; + reset-gpios =3D <&pio 98 GPIO_ACTIVE_HIGH>; + vdd10-supply =3D <&pp1000_edpbrdg>; + vdd18-supply =3D <&pp1800_edpbrdg_dx>; + vdd33-supply =3D <&pp3300_edp_dx>; + analogix,lane0-swing =3D /bits/ 8 <0x70 0x30>; + analogix,lane1-swing =3D /bits/ 8 <0x70 0x30>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + anx7625_in: endpoint { + remote-endpoint =3D <&dsi_out>; + data-lanes =3D <0 1 2 3>; + }; + }; + + port@1 { + reg =3D <1>; + + anx7625_out: endpoint { + remote-endpoint =3D <&panel_in>; + }; + }; + }; + + aux-bus { + panel: panel { + compatible =3D "edp-panel"; + power-supply =3D <&pp3300_disp_x>; + backlight =3D <&backlight_lcd0>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&anx7625_out>; + }; + }; + }; + }; + }; +}; + +&i2c2 { + /delete-node/ trackpad@15; + + touchpad@15 { + compatible =3D "hid-over-i2c"; + reg =3D <0x15>; + interrupts-extended =3D <&pio 11 IRQ_TYPE_LEVEL_LOW>; + post-power-on-delay-ms =3D <10>; + hid-descr-addr =3D <0x0001>; + vdd-supply =3D <&pp3300_s3>; + wakeup-source; + }; +}; + +&i2c5 { + clock-frequency =3D <400000>; + /delete-node/ codec@1a; + + rt5650: rt5650@1a { + compatible =3D "realtek,rt5650"; + reg =3D <0x1a>; + avdd-supply =3D <&mt6366_vio18_reg>; + cpvdd-supply =3D <&mt6366_vio18_reg>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&rt1019p_pins_default>; + cbj-sleeve-gpios =3D <&pio 150 GPIO_ACTIVE_HIGH>; + interrupt-parent =3D <&pio>; + interrupts =3D <17 IRQ_TYPE_EDGE_BOTH>; + #sound-dai-cells =3D <0>; + realtek,dmic1-data-pin =3D <2>; + realtek,jd-mode =3D <2>; + }; +}; + +&i2c_tunnel { + /delete-node/ sbs-battery@b; + + battery: sbs-battery@f { + compatible =3D "sbs,sbs-battery"; + reg =3D <0xf>; + sbs,i2c-retry-count =3D <2>; + sbs,poll-retry-count =3D <1>; + }; +}; + +&keyboard_controller { + keypad,num-columns =3D <15>; + + function-row-physmap =3D < + 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 =3D < + 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 =3D ; + }; + + pins-cmd-dat { + drive-strength =3D ; + }; +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength =3D ; + }; + + pins-cmd-dat { + drive-strength =3D ; + }; +}; + +&pen_insert { + wakeup-event-action =3D ; +}; + +&pio { + anx7625_pins: anx7625-pins { + pins-int { + pinmux =3D ; + input-enable; + bias-disable; + }; + + pins-reset { + pinmux =3D ; + output-low; + }; + + pins-power-en { + pinmux =3D ; + output-low; + }; + }; + + en_pp1000_edpbrdg: pp1000-edpbrdg-en-pins { + pins-vreg-en { + pinmux =3D ; + output-low; + }; + }; + + en_pp1800_edpbrdg: pp1800-edpbrdg-en-pins { + pins-vreg-en { + pinmux =3D ; + output-low; + }; + }; + + en_pp3300_edpbrdg: pp3300-edpbrdg-en-pins { + pins-vreg-en { + pinmux =3D ; + output-low; + }; + }; + + touch_pin_report: pin-report-pins { + pins-touch-en { + pinmux =3D ; + output-low; + }; + }; +}; + +&sound { + compatible =3D "mediatek,mt8186-mt6366-rt5650-sound"; + model =3D "mt8186_rt5650"; + mediatek,adsp =3D <&adsp>; + + audio-routing =3D + "Headphone", "HPOL", + "Headphone", "HPOR", + "IN1P", "Headset Mic", + "IN1N", "Headset Mic", + "Speakers", "SPOL", + "Speakers", "SPOR", + "HDMI1", "TX"; + + hs-playback-dai-link { + codec { + sound-dai =3D <&rt5650>; + }; + }; + + hs-capture-dai-link { + codec { + sound-dai =3D <&rt5650>; + }; + }; + + spk-share-dai-link { + }; + + spk-hdmi-playback-dai-link { + codec { + sound-dai =3D <&it6505dptx>; + }; + }; +}; + +&touchscreen_pins { + /delete-node/ pins-report-sw; +}; + +&wifi_enable_pin { + pins-wifi-enable { + pinmux =3D ; + }; +}; + +&wifi_pwrseq { + reset-gpios =3D <&pio 51 GPIO_ACTIVE_LOW>; +}; --=20 2.17.1 From nobody Tue Nov 26 05:39:17 2024 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11D381DFD8E for ; Mon, 21 Oct 2024 07:27:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495662; cv=none; b=Ezj/bxQyMgt9pFZU8KQsgy0naZY6tf7omCSC0AMN6RjUpoLJl3MElVJ7NED8IGs93SmqYMdiWQC4ers+nkELb8lhEhCOg1AjSVVG5jHtqrqfUhM8JxsBkh/5fs4y6wVehJOy6KzQyvv2u3NHycBcqTEd7ZkKHBCtonV6QFv4pvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495662; c=relaxed/simple; bh=03Qb5hxKK7rAKMhBjn9jT6mqUqatJTsr8tb5L6OSVI8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=G8hPt4lilsFsFvUikQYwZBJPgJXkEjs3K7w0I60DI13YZrmZulzq6wc9Ur7+gGfLWVUKbC2rWQxMoyNQdUXVLw53Z9FxShnLc7KOISuYwd3ElewLVmA3lKvq4/syShmy0QfnWo0V4IXq56Ou8bKeNz2TCXTybNzchfoboDfgWRw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=aZ435by4; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="aZ435by4" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20c804409b0so3839945ad.2 for ; Mon, 21 Oct 2024 00:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729495658; x=1730100458; darn=vger.kernel.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=aZ435by45LAqLAeDuG6tSbjua6pMzwvX9oGJw1C1nrj2c4rTIBAeYD0OJgU/XxSoyr YMoiounZY65YC/7XWzHmzvyn2zq8OljHx1/Go/4/jN/9Iygt2HLlqYVMMtk1d3aq6Pk9 BGH46n+FrpsnJLyvcaIMGMh+CY6fqb93jr9s/UVN52NFvD8yk/2tGhDVw2s1t2iZBMDk QsIAPF8vJ50DVEuxxfV2SU0EST5oIOg54rvixE2+mzn+NapTwoKTvVTGANwWtMFerooJ yySZrgp45Mn039Toxv7tEQQ/I/epiaw+61eafXx1jZXK7+lpLuAH3Rz0NPBv/RCZNHX8 bxZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729495658; x=1730100458; 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=wnTWZsZYKkQ35jNc2IP3dxtEinYZj276ZHFDzYRj84B/8krz0XcDGMOY8uorGzYJtZ 80+AIstzu03xa5yylFqAbOZ4dFRzaJMaNsHCTXxIEHPCwkf195iEPkJwKfHyEwCdL07Z cjQbhfqKbU62vjDHjrEkyLobSm+fgFFe9VmgQV2wbTup4qt2CCMoulQQzxe4geJUhk2c I1xxwJNRACP9rFmAZwehraB+NB+7QaGzwfrviW4LBn3tiL3w0va3HI0FA5HbQZM2BT2O p7sCGJb4H52jsCca6+Io9yWEmyfTtTqVFB6bo0cSI2uJFw/g8wycvnn7oqAZJvQhx/Cr rxbw== X-Forwarded-Encrypted: i=1; AJvYcCXqRlq1nUKQyO3Pv1KcjjdYK50v5Du6BPoHpRX3kFYBDWshOs0DvsGIGCcZMFK43GwmBvoVPgCS1Nxepig=@vger.kernel.org X-Gm-Message-State: AOJu0Yw3/zVcblkoXpM7wIGvN4ItcAoy+/fdcb3z2QhSg/g2qj7ew0tT vzhzJPOYmMQB/0IPecNGdsXic34cO58V755f5o8FWNTeN88bGopIR1xGI8nfzAc= X-Google-Smtp-Source: AGHT+IEh6/03mZfFhuxBy6xAmriaeuAlOB4siq5+NfULwqzoaaUzBkefycmGSb5S4BiTt/jpYQtLhg== X-Received: by 2002:a17:902:c44c:b0:20c:df08:9a78 with SMTP id d9443c01a7336-20e5a9ae59cmr57079665ad.13.1729495658258; Mon, 21 Oct 2024 00:27:38 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0db2desm19749595ad.203.2024.10.21.00.27.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 00:27:38 -0700 (PDT) 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 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 v3 RESEND 3/4] arm64: dts: mediatek: Add exton node for DP bridge Date: Mon, 21 Oct 2024 15:26:25 +0800 Message-Id: <20241021072626.15102-4-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 =3D <&mt6366_vsim2_reg>; pwr18-supply =3D <&pp1800_dpbrdg_dx>; reset-gpios =3D <&pio 177 GPIO_ACTIVE_HIGH>; + extcon =3D <&usbc_extcon>; =20 ports { #address-cells =3D <1>; @@ -1656,6 +1657,11 @@ try-power-role =3D "source"; }; }; + + usbc_extcon: extcon0 { + compatible =3D "google,extcon-usbc-cros-ec"; + google,usb-port-id =3D <0>; + }; }; }; =20 --=20 2.17.1 From nobody Tue Nov 26 05:39:17 2024 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C00511DACA1 for ; Mon, 21 Oct 2024 07:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495664; cv=none; b=RNmlOJa7EYCl3MnCjsLZEFu+0nHTqL+rPFzyOzUHKr37ZJQgFg4OlR4saVuPgKv+qcfvEXcYRzE7mE5ACoEOLXLFBKsqK/sej3aiF+QeiBQMIqQQaO7/Vu5Hstl8vbvDum++My7WAs6v93UlX6zThM3GQjqZNT/Wra/UMQvXWKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729495664; c=relaxed/simple; bh=+1oPmQQZYYyTlzfu+WalO7jQocFIehp8SUptW/y7x18=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=KzXy34FW72nuYkb6jrmZiAMVfN9f5IOdulpoFJ7CYz7CNbrqXjXcGYvzYOEV+mQK2YiUCf5d6UYncU/p93KwGH/FMbod0ssYx/zZ+34c6Mk+wmXnNNyuXnYnnCI9hV05gyOs8zNsEPeMt5hczbYVUPG5fRE2p6IFoVbMHakdzbk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=a2/3G4yJ; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="a2/3G4yJ" Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2e3c0d1ccc6so646923a91.3 for ; Mon, 21 Oct 2024 00:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729495661; x=1730100461; darn=vger.kernel.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=a2/3G4yJTRnZr2n3G+zOSS3jb5tf6/kIhQ0sTcfCIUSPyzbMM3XN0ONyUb9UXGmkQx haq1hmAUW5K0HBhwmk3+GdfJT1F6Sc9mr7zb/BmFRCTwmJYKA7wHKclkXYkCbhJEdI9L cB65sOL2pMTD2qXd4nDVDAMxo+ibl778h+E6VEfKBcl/E4raQu+1UboIu3akAM2pzapX OHj5bqRGVk8krLiP54VWn8Y1aU9navB+C3rfLsChlZwIijjzsWFJimDQO3YU8U89dm0R M4fSOhcoelRHVAKBkLQZRIdi02G6vC6Uho/5Li1NP4PebX67u7LTO7u4k61HJ2wtO9Ub Ditg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729495661; x=1730100461; 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=jeTS3woNbd6WRJO1CM/lBd4dyUsGraPP66/SH3wKVhaxQX87sR99BG17bQNTi8zK0T W5ZK0OTrY3ESqI92MDISDx8YKoK0SjQ2gOZGs6YOYxPOp6sxk8kP+17SLjIEZ/ORgnNj LH6ppYVBcJf/NYks6gvoZZIKNdyklrt9GOsDwqmznn2+Yw5DRvUc+GbivgBUyci57nfG Bl4MIIsMDOjDBPLcNnzo6+9NJ+iOocQG6oTukMYDAGd9KmCBzHcfJAa4Zy6m9aNwgbk0 rmCGjqufQtFdKU0PveVN55NmcLunr9dB5rQGEsSqPs04mc+/0wyQ9MtiFuimANux6O6U lzSA== X-Forwarded-Encrypted: i=1; AJvYcCW/XrFJllGne5sgcbABsILmz5wmbRNloKRbEdsHceopjLupc5BlLIHDy2e9tTBVH31syX4bTKmKIXMk9vQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9FdrJUImZwLf9YYapHARjYJvq6F1Q8jwlG90uIv71otfTQuiM oDZzusHfvyaqt/4QBSiDWlgTohsQgB31hXWLYwb7fYoOFjC1iHemSyp5FJHDfro= X-Google-Smtp-Source: AGHT+IG7O4MTB4RTMZwzLlrbW/3WFjdoM5Duu6oLxtC3YUEZUKgcz7nk76eEdwRy5PZ8e1hJ3H2RpA== X-Received: by 2002:a17:902:da8f:b0:20c:9285:e951 with SMTP id d9443c01a7336-20e5a71b46dmr62715575ad.3.1729495660913; Mon, 21 Oct 2024 00:27:40 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0db2desm19749595ad.203.2024.10.21.00.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 00:27:40 -0700 (PDT) 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 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 v3 RESEND 4/4] arm64: dts: mediatek: Modify audio codec name for pmic Date: Mon, 21 Oct 2024 15:26:26 +0800 Message-Id: <20241021072626.15102-5-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021072626.15102-1-xiazhengqiao@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 =3D <&pio 201 IRQ_TYPE_LEVEL_HIGH>; #interrupt-cells =3D <2>; =20 - mt6366codec: codec { + mt6366codec: audio-codec { compatible =3D "mediatek,mt6366-sound", "mediatek,mt6358-sound"; Avdd-supply =3D <&mt6366_vaud28_reg>; mediatek,dmic-mode =3D <1>; /* one-wire */ --=20 2.17.1