From nobody Tue Nov 26 06:41:49 2024 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 4F53A1CDFA6 for ; Mon, 21 Oct 2024 03:01:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479715; cv=none; b=ZrB+t71O7i1duuZ/hFFJ7/jw+aAZ9LObCS7eD0sieBYDW7k+nHWULuBIDW4MQ9lfDNP/BN47EUTLtLKbRNykSwyefo3pxn316aJj7tyb1hGwSRHqpeaTSebLADoVK6UKjhcz82lkxcO7cS2IvFbmzDB38OICRe/estFYjoYERkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479715; c=relaxed/simple; bh=tG6YhzlTGIreNbErkabD4IDbbTrsSViWd67RLxSnw0Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=vCW/gxDXceVHzyx//cR+fwGiZjjnGc3J0V/NW5rsLM9QFCfCMpse9Pd3leC62HyWf59MjDLidZ0mE9408ENCY6gZuJIvc9+ROAx1t6GAkqnfGu7ue+MccFycOKd2diVK1yl3mR10JxspIiFMQ6FxGybXKN3Ohg980aI647H6JMA= 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=dBnfnGvM; arc=none smtp.client-ip=209.85.210.169 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="dBnfnGvM" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-71e710c5d0dso92215b3a.0 for ; Sun, 20 Oct 2024 20:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479712; x=1730084512; darn=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=dBnfnGvMFDICqvAIMpN712YBS/GiIu3Ds4lABOjH2xbdsr2VE3N2dRb8gV3wNbNf2V 7GiPbMmdSZe08vrwDOGIP/vpdICOVbuZc1aPYKSJtzX+SOvbMjBrqgJJaQ1U2DIqDCU4 HsWjhvyYA0JcD4YrD5XFDNHX4l0Ogklmi2KkHzCzqraSP3lTMOahkauvr2IlG3RTfnik Mma8fkTi6CxJh4k0v9KTA+Cp/nS5lQ7ciaCHo5kCE+yP72eorAtwG8JAVnytu9wEN5qm S761gVPTYMqhQXAszISZErMQBWmDduXn36Sg/NYXRihOFcdgh4qCK+w4hbIXnlSqogAK lMvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479712; x=1730084512; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iEsUo4lrwpljoR0FPBQuFvw1WkkxvZeqCHqf7QaSpZM=; b=xJQHTwnHOReH/jYMTPeVh+1wZ1Pg3rC6MaK4Nv5FC9HflScIely4pwKoOD1MUNDxZF YdXpVhCh58J6FEey4Y156QFlDClTEMyxIGpimgHNP9MXTyy8GZfaAhRto5UJhL2qfAoo P6l5Rr7WPqplARyLSiQGIISrJK12maC72UxQ/KOb2M573K/1pi6cXybILavCPmygV51d VsrqL9EK1nIeZ5nqFWkskiQ143BTIEAxgEPbMcyQu50K6+V8UXur/TFcziok/P5uvX3T aF/3VZ/Ff1Z2ZeSdP5xc4yapgFprOyo+AOD1PVv8IfORibYZ1a2XxMwYg/2dNop704v8 1ipw== X-Forwarded-Encrypted: i=1; AJvYcCUZelouEOp/MN0XKzvgs0wXjHRiSi24oLNdgOIm4FucfUeGWxPJ/kesI24S31AaWRcaHGigOSgSAOZge34=@vger.kernel.org X-Gm-Message-State: AOJu0YzYSSSjoYeEkqQm6EbEyjRr+d7CrL/49WPSwYMlXrqiuI6AN2Mh P9wx59ssi5ThpdEaAKX0x2TpnGzFOKZlqXw+gNM/prXrIlU9r0AyRYmQRc7fPSc= X-Google-Smtp-Source: AGHT+IGDe3DRRdpAyKVZRtaEWeATYT7/taYp+e9vwdg8Vef8+J128rMKxDPUIbFSJXh1jcZ7xUMuRQ== X-Received: by 2002:aa7:88c2:0:b0:71e:4ec7:aece with SMTP id d2e1a72fcca58-71ea3267be7mr6165936b3a.7.1729479712451; Sun, 20 Oct 2024 20:01:52 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:52 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, Zhengqiao Xia Subject: [PATCH v3 1/4] dt-bindings: arm: mediatek: Add MT8186 Chinchou Chromebook Date: Mon, 21 Oct 2024 10:59:35 +0800 Message-Id: <20241021025938.676-2-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> 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 --- .../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 06:41:49 2024 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 A3D921CEAB7 for ; Mon, 21 Oct 2024 03:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479719; cv=none; b=dSUQsYw2h9JdE1ogSMsHzV20PtTbTvfsOwdxIlGoUSTrDZz6fYvaC90RV5j4C+DzLEH9/S5RKfR7tCiWRn3nkwhe4r8ccfpE4hbBaGvCVoR/txcsNMmFZ0jK+xJ9S0eKBgAb+kX/Q7LYNAEii/o+Hp4fRGoxj1AYDre87sXkq3g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479719; c=relaxed/simple; bh=jlVPW9urZrR98gmlwfaDkm+8c6S64ZaJbSdI9NthFlU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=aWMq5jzJ7B10Vo+eqmrQ034pyc1/WG1AtLLl04Cd36o96oHTSfFhHwiSFhb62W4d6BexBJAv0TjtgJQUHOvhETksB51Wpr/oNH27/HQpNM0FXSNwIw+haSq/6+8FYxngHmfbNONotpUJ1GQtmFxTqiTwdHqvxiAd+4HYPAzSu2U= 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=qNxOCr0g; arc=none smtp.client-ip=209.85.216.44 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="qNxOCr0g" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-2e2d83f15f3so601180a91.0 for ; Sun, 20 Oct 2024 20:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479716; x=1730084516; darn=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=qNxOCr0g+TBuYZzc2+rFuzvv/rmUXJmwIzkY6nCv8ncqcovu8ivzsvXNRM83cLOgFh 2ky/JXl6QXwMIh6DDNMiRUYmRXdJRoYCyXl4mWXoSWRHhtowNM7ptPvcvCOI8lJtIVLG npHAJkYJjsY/5gZKS2zoEaEvwI6Aj125ZgTp9z2++1ZC1M0eN3lnXYPE7pZ8a0mOjLY8 3qGVCAkLzAcyTEfj/Xmh3GUscqPK/CznvHK4028QBuQB18Bzc2VghSo6e+wNOaNFZlr7 X7P5zU1hUuugwOwQL5hGc8pHzmqt+GcSmZC1JxsOs3TEJTB3nR0hWB77R8y6o/BFFrPn bDRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479716; x=1730084516; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Js96B82vpvasO7dH54aWNj4yi7wPO0A7/Og4/faXgF0=; b=trKDbWQZq5gU1M49ZHLrFbqqxVOYqWWFv3PBp72AhFrkHGTP+ZTXHFHkdvE2o0HkRp /dYSwjR/288UiS0kgiH5ya/aHlYdi7fpgl0sp8CEnRZWlSs2Yke7GoxM7uJOrrRP65YE acMFVZH69dFJHtp5UJkSSFTKmtjkl6fPqe82wCIgbCxoMI/RwPFE79mosm4TjZulHdLn o0Ff+mjV3tvfeYrdzuhjJcKd++PWKKCsG97lxKbX1W41rKVEIw/0TM7Og6XbGaSFxyCr rEdPykd2Rcd/uIeksDGr42SLhpMORldcjkUL4IwYLkb1mXoTi29A9rkHzCuv6rCKVX5h hZWw== X-Forwarded-Encrypted: i=1; AJvYcCUWzB0c5Ol7Yv0gDqjTOhumd/ia5EDz+U1k18bFYTP8gXlZpOTSe9/q+UuUTwm+99uzI8e7ucRh2dt6QoU=@vger.kernel.org X-Gm-Message-State: AOJu0YybjrPUnPl3WUD+v8ycUb9EEj+nnud0n+fE+M5+Bkl6unupZBSY fRYN+gcLzGcx6OzxEokAEP8wU90pMYp+JgxMeF2z08RdwgsGq45Vq5/d3+in43U= X-Google-Smtp-Source: AGHT+IEropSwSiXjGPEPP3gdGjV/9w69XLqrlsjwkQlFENyURw427Xf8jTZcFWEvnHm4E7Z1UulvkA== X-Received: by 2002:a05:6a00:1797:b0:718:e49f:137a with SMTP id d2e1a72fcca58-71ea33341eemr6056480b3a.6.1729479715644; Sun, 20 Oct 2024 20:01:55 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:55 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, Zhengqiao Xia Subject: [PATCH v3 2/4] arm64: dts: mediatek: Add MT8186 Chinchou Chromebooks Date: Mon, 21 Oct 2024 10:59:36 +0800 Message-Id: <20241021025938.676-3-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> 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 06:41:49 2024 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 893D01CEABF for ; Mon, 21 Oct 2024 03:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479721; cv=none; b=VGoM/tujnbWzAR/lVQfnvn1QfUuzF27K1m0OIa+FdyVprDjjC3Rlm7yC18hdF2XK+gNLZ59iB/6QigPueLsCzFWxg4BVLScUZkVG4C6BWJo9VjW0Mlw8fe4HnQ5qMLmteZH5FoOfoHGBANwLkIVcn40D6gBQRjWcOhFpaNWIhy0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479721; c=relaxed/simple; bh=03Qb5hxKK7rAKMhBjn9jT6mqUqatJTsr8tb5L6OSVI8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=SgHnkqwiKdic/RGPbq8vR20otkpNY3mFKV+qYGS1p53+YjDitFqxPGgDpvDgdAaFGoL5vs0WOK8WnON+1zhW7NKa2X+Ce//f4LqjlNyjIb4ZIxiSm1yJT8tGFFR4La7xVC161TRyBZkQF9u81NtIXgutWTvlUo28w3wSVSqlMH4= 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=DksPLE62; arc=none smtp.client-ip=209.85.214.178 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="DksPLE62" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-20c7b9087c4so2920235ad.1 for ; Sun, 20 Oct 2024 20:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479718; x=1730084518; darn=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=DksPLE62CfJHvPyX8FHwKa1tnZlFQ2bdJTvdaUJXkRUO2wW7+NKBtBzgbZ7gOwN9Xl gLZY/qCb0RiwYAuIyeUhsntCjF7qNvebjU00kfin8MNM1+QzVMUfkMy+dyLOz+SpypWQ Le5nIDZUdX8OhWNTfSdCHUdBJBguTBof24hcRHNWjwI3KDnDRtgqeI2F8hWtnAAa4WGa aYuWuTChMNPtxyvGFAX9HzhQF1TshIoOOqlxeTC9Osp023XU2To0mJ2pe9WjAf4LM1VV Vrp4GoIqKyjblKptgZa2jIAb+EaEkV3uYx2mzkhBaoMD6bdb4nSm45o6loaS9F7RP33O jF7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479718; x=1730084518; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XkkT1YK08fvvBnsXdekTj1dlk1F6WdJ88gbC//Uv2Rg=; b=CaETg8IH5IRCSs4Pe939YgzrCNJe+ucRL4e2R+H0E5YCj0ZgCb4uqqU0JgUkuFvcFB O9EEXg/kUZZl/LcHiPm2d6EjmvQmYF6Z1aOGY80Gjw69TG9YQJUTGFsvlw/0aBZ6IRND +2a3QfyPQNg6DOuISpBvv7IZyJOhhMZt2XDeqZOQqWDO5GnA9lhgVoKvLeK3OlUt4Mhw msJeh5m/YzJNvG5p+5ibjl7i9Nm3//H5m9mo+0dbmJCJHWKDaZwl4BjAiaiLEVaenRqU dDd9LX+qqEmFnyptPTIkTSV5vnQG8AAJW0oI5HBbTW1AXY+NDZKTcGFxpGEpwEr0Q41R axog== X-Forwarded-Encrypted: i=1; AJvYcCWKWDTNQDIVc2+M5hytMUc+dxlfSCJr7fe408O78bogUbp3u+X6xtI7uPlO/SfMPLQUM+uUllz7/nRnA5o=@vger.kernel.org X-Gm-Message-State: AOJu0Yz89N36ahax0VP6e92ANeljYRqYusyO4KhZac6CAdQwuhXqcNhI jeFTGnYLnQw2bW+VWGZC8ut3csLS87Pk+ZtxR0c/x1jWnblrXxTXMWQnTxrS06w= X-Google-Smtp-Source: AGHT+IF2l3fvw7cZnTVlJG1e6ibKKbfgh+RtTSulFnAnUTynhu5L+2rzXIOyMTwakDpVOl1YUTgIEA== X-Received: by 2002:a05:6a20:4311:b0:1cf:4c3a:162a with SMTP id adf61e73a8af0-1d92c4ef619mr6775462637.5.1729479718621; Sun, 20 Oct 2024 20:01:58 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:01:58 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, Zhengqiao Xia Subject: [PATCH v3 3/4] arm64: dts: mediatek: Add exton node for DP bridge Date: Mon, 21 Oct 2024 10:59:37 +0800 Message-Id: <20241021025938.676-4-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> 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 06:41:49 2024 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 4030F1CEE9A for ; Mon, 21 Oct 2024 03:02:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479724; cv=none; b=UcvQgEikZKeNWwxT2OH290Ex2wP8p/07POJnidVpcOFoCnxYAS+ybfiWD0m+nVgs13FD6yI82JSMt+DFmTFes/kIalKO3JNE+L/xMRADWm5qFeUKXqVK0jOUDhDQIedJwmFNcs9QoL++B6kIdDQ81amVLN3akkb4PKLZZwPNCLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729479724; c=relaxed/simple; bh=+1oPmQQZYYyTlzfu+WalO7jQocFIehp8SUptW/y7x18=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=SDzRKqhiEd3GFKigRXeaQLlfCf7uQI/6mJHXdWehfaFhHYPFYheR9RqBTnk9h4wTZzuCQJ4sJHoHWVa6Bpt6lRUZ5yxEYJpE9M+4+nu1GJkHFh6mXPJeyaUr+4BsmS78J87Ccm7bw6M+R+bvxVghhCRjn/EM+6wPdWzixlfvMTc= 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=fLO/jgjl; arc=none smtp.client-ip=209.85.210.182 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="fLO/jgjl" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-717839f9eb6so108291b3a.3 for ; Sun, 20 Oct 2024 20:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1729479721; x=1730084521; darn=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=fLO/jgjlyBpP3gZ3zHw6uL74qNwZhJgu4vF+fc8xhGaIVmSVFawUe/+YZOHer7WKU3 n4znyMptFymdwUiIkQI/9jxlJfRZISDwbl93qJ147yVJmqomdutWdPzha3fpOBe6BNN9 /mOngtKBU2OfYcAST+ShGOIoY6V07o5v/bBf/XBQutV3gUOGhiXenJoJ5WEA91MFtACd yQqpr54RQYRs5OgMt9fvtd6aFFSKznUIjulMYIkq3avdk7/zWg0u+/4NII0va4wgmL00 1qMOTIfGKayGEMds9Co62SuFniWfYV4/iH7PGXc1ND3oobn3ajh/aC69NRJIccuMCMZQ L59A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729479721; x=1730084521; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RwvmpL8qKj3SLwmzOmr8dF0fJatg9G7HpxkdxZupeyM=; b=vDAhSu4UvMQE1XjfrrzHYhzuIH71kYrQbrOH+lNZvoy9C9bmKK7ezWLay9+jeNQ8A4 Urs7dkLTxB0c4pTWOxg1ZGFoFyZaWVE5tvcfMnll6roJ4U8TEOr2I8DVR51s1w54225A Lk8ff97MTFrtBMc0p4tePUL9u8+rFGXAwank6QW2BS8yDv6wRyffPOle/2w+U1b37HOR keQ36Kc8ii1UlyCAhTZd2J68aj23IOwCdqURfnlwVQRbIUrK4+9fD/eaywkHyBLmPjei QHu0qRhn0Mv1fNJjQNZ6Ja3OGq8VAYS4Ys2JDHhw2GXfcAkAMDV9ZVPOE1jNMCVUKVit KQ9g== X-Forwarded-Encrypted: i=1; AJvYcCUa5RBahD4h3JBe7SoXICI1w1FzByRArR4W9Ns1Pv4I6jfZNdbTgMg9W4uCe7w0rXe8VoODSjsXf7Pm6NQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzfLDkY7G8M2kenFapVf0qxdUSGy1JMJaYgYvhO4Fli8bCyolnr WdRKnXm0lQwYHygVPwgIMOjgNJ2rE7IwQgcnTIg/v3L1vWePmv81admo7lm1/lg= X-Google-Smtp-Source: AGHT+IHbWlSXkhTf+Zn+HTAPr4tp/WE5z2N/4rjBqzeFRCPxylG6iEA0iZI+/xW79NLFCM34qxB4fw== X-Received: by 2002:a05:6a20:3941:b0:1d4:f5e4:6a9a with SMTP id adf61e73a8af0-1d92c592a15mr5971583637.12.1729479721426; Sun, 20 Oct 2024 20:02:01 -0700 (PDT) Received: from ubuntu.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313fb5sm1815601b3a.7.2024.10.20.20.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 20:02:01 -0700 (PDT) From: Zhengqiao Xia To: devicetree@vger.kernel.or, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, sean.wang@mediatek.com, Zhengqiao Xia Subject: [PATCH v3 4/4] arm64: dts: mediatek: Modify audio codec name for pmic Date: Mon, 21 Oct 2024 10:59:38 +0800 Message-Id: <20241021025938.676-5-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> References: <20241021025938.676-1-xiazhengqiao@huaqin.corp-partner.google.com> 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