From patchwork Tue Oct 24 00:02:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433746 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 516E1C00A8F for ; Tue, 24 Oct 2023 00:08:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Zqqb8fn9CnUicWPJbJRZinHLXpynkwMLHaPjP15UhF4=; b=y7lKOZT5gPxAJw Qn6yDX8r7Xfbzqrin2c/CuELchHzgiZ9EHJW04ijLoGABcECC0wtBdKvIWOqenBjjLfuYBuR3QMWB udZyz/h5uCTUq/mq8rkt3kptNAXan+NDEATG6cCZcLyWOwYdRt2fReKHs1+4VQqdC7XUXVNaegn6K 0N0BA/8khX9VLOQpTPOGREzTf4i5iu05tYv+npVaCDl1G+p6i5CBHixHsR90bd7l0KIOu+gGrCGVN SeXjRdRRiC0oNpPGSqztLJoCOYId2TAgqOmqNU6XDC0A5l2FVF2DeXyIaf5P1cpDkWXOMrjp2WL/h qh2rnXhYVSIx6O7lOGYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xR-008UsU-1W; Tue, 24 Oct 2023 00:07:41 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xL-008Umr-21 for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:36 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1caa371dcd8so24507385ad.0 for ; Mon, 23 Oct 2023 17:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106051; x=1698710851; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nh7y/+UHR4rfaD1MdlnQhy3jizucTRA5pP5JKPfuUQY=; b=leKQmL/9pAV3WlRERlIshWJdq5HiTEsfw/H9vcp9ugRcRZDika1dln42frO1Git9/Y 74Z4tTrSqpvW6snG6kRlBFYeNcHdx8u/c1wTzgZInDFEbAAefqj3fHiBpe6eHS8g9pl8 2E9Pp4/Cq8yesiW/2THnTuYsPlamNn0isDVyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106051; x=1698710851; h=content-transfer-encoding:mime-version: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=nh7y/+UHR4rfaD1MdlnQhy3jizucTRA5pP5JKPfuUQY=; b=giDjM3smcwBy+cphX7wZJogWERyLlR/RnpzKSXWaxzK3XIxNTa4+9N1lKmVD9V++ly RxHO54/j5cPM8ok5vCauR+ojUNtA/syIskUmkx/PljVkEjX8hk6d/IodxTg25PpIVeoi fk5YC0ursDOnziur9kWqHXRr9QbR6VEVCJsgA4bbciT94SFOyqNLrkYoWwkR5v59emrC uXhUWkYxBIa1Dsa38XeV+6oBS3/UK1EIXUkZWYNHUrjy/WAmrWLX+po77WLevubTUZon kMADRE0BEEIQp21ZB+UFKxVVxczLyis6cq7EDdEHlU2Fk3zTRW4i/T6MWaAUPme5zgqO KtxQ== X-Gm-Message-State: AOJu0YxojdehFNDXS6M4h9nmW52sSpd+blY5MR20sNJwx8MfyFvULoTL hmqyGlwR73Ut78fL/laoGL5Q1Q== X-Google-Smtp-Source: AGHT+IEnbELuJfwTbSKJpQL3L82YAF2nHCHHuweCeoPOIKHXo8oxA5ZYmCAL+Ez/OQucHg3ovI5ADw== X-Received: by 2002:a17:902:ea09:b0:1c8:9d32:339e with SMTP id s9-20020a170902ea0900b001c89d32339emr8959999plg.50.1698106051216; Mon, 23 Oct 2023 17:07:31 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:30 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/6] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-katsu Date: Mon, 23 Oct 2023 17:02:24 -0700 Message-ID: <20231024000724.57714-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170735_678353_00F7A74F X-CRM114-Status: GOOD ( 10.55 ) 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 katsu and katsu sku38 which uses different audio codec. Signed-off-by: Hsin-Yi Wang --- Documentation/devicetree/bindings/arm/mediatek.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index a5999b3afc35..fe8c488a3207 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -235,6 +235,12 @@ properties: items: - const: google,kappa - const: mediatek,mt8183 + - description: Google Katsu (ASUS Chromebook Detachable CZ1) + items: + - enum: + - google,katsu + - google,katsu-sku38 + - const: mediatek,mt8183 - description: Google Kodama (Lenovo 10e Chromebook Tablet) items: - enum: From patchwork Tue Oct 24 00:02:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433751 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 A335CC00A8F for ; Tue, 24 Oct 2023 00:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J47U1soNTTwbM3rGLEnjL+jIEsVEjN4Tcggu6o9hgRk=; b=0LQCjf806meFoL 8519RRBiNvzemJDu4fzurQS0eE7uuyf9uHBZq2fJ7EwaMO/mdT3ST/rl9a88YenWRHlAJ+jovJ2Pk M6IMioRUVKYCKkq4bOZ7qoCY2PYf6bOFli3k6f2wHMamcd148WS9G9/+wPlxd1DO6OWbx+jNGeQei 4oZaJC7VwZRcWZzbPTPvsXTrm0ZtBhNJCrY9ftTF3qFk6QyaWmJOvplGY2MYc40Lg0299Fmshcacx S9OCC1h8IXuKbqOHfKXuzUxAGhrsMkR+dzWdNqDS1gb1+QUCBdrpz9sFxdERswfNmnmsg8pWIFtDN LQoRsE41tQLpsAchKAQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4y4-008V8P-0x; Tue, 24 Oct 2023 00:08:20 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xO-008UnK-1M for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:40 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c9b1e3a809so24368955ad.2 for ; Mon, 23 Oct 2023 17:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106052; x=1698710852; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=RoM2Q+zImIEt1b5oizao58PuAtO12T8gg1lOhirLZeYhhh/YnnbF1FcCIsriWbSq+T UxfLyqqmCeT8uC9Vg+MYnfAn2hCSoysScRx0vHDmLt7+InYG4Bg1usieC9ftbGw+XVzz 8b0PzHV6dgc+XhshyLlcbh5U+eHY1tIQUG6ME= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106052; x=1698710852; h=content-transfer-encoding:mime-version: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=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=UfrUwIEg1O/DMX4eA/2LpD6rNrPHJZEsAilKPg0flPDbsZK/OWA1iRIh8QLn5cQ5rn DChQBwr7Ppe8zluMrdjPer/rBqdj0FGCPK2OoUpXCPICNHoEgwoTIBPa7suKxguThd5A DGY6ZuvEx/AynmvXwY8zeVi615jwXhv3uy5u1cHkHtYgKWRrlcyUdlTrtnYThKHSgVtK Q/uQ47FTTkP99FgppFlUEu7ciSVfThwUx2PrSaIWctQLXXRMbgHRfVQiQgn9Gh42ETGU bDvpPwhaz03KcfjB7nkBRPwW+SHoC+Ftn1QgzMXE2c4ft/nl6LVLEnojt4x9WKJjBWQH h+Dw== X-Gm-Message-State: AOJu0YxutbX7lN5qNufNTCMm7kxvCaZ67c+whGOPUgvVDoeHehn8V64F x2i/de74q5zbfkeHgLd9eEWSx8vsBAc6QcWfKps= X-Google-Smtp-Source: AGHT+IFT8y4oceUEuy0SEQ+ul3MihnsSlfHCilt0mzADZwMzgUKtHOU072RmvvZwuEF1XYCziybQyA== X-Received: by 2002:a17:903:28cd:b0:1c3:5f05:922a with SMTP id kv13-20020a17090328cd00b001c35f05922amr7136070plb.60.1698106052413; Mon, 23 Oct 2023 17:07:32 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:32 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/6] arm64: dts: mt8183: Add kukui katsu board Date: Mon, 23 Oct 2023 17:02:25 -0700 Message-ID: <20231024000724.57714-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170738_459480_C66C9C31 X-CRM114-Status: GOOD ( 14.59 ) 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 kodama is also known as ASUS Chromebook Detachable CZ1. Signed-off-by: Hsin-Yi Wang --- .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 44 +++++++++++++++++++ .../boot/dts/mediatek/mt8183-kukui-katsu.dts | 40 +++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts new file mode 100644 index 000000000000..491d04692432 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +/ { + model = "Google katsu sku38 board"; + chassis-type = "tablet"; + compatible = "google,katsu-sku38", "mediatek,mt8183"; +}; + +&i2c0 { + status = "okay"; + + /delete-node/touchscreen@10; + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupt-parent = <&pio>; + interrupts = <155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts new file mode 100644 index 000000000000..595b0afdb2db --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu.dts @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google katsu board"; + chassis-type = "tablet"; + compatible = "google,katsu", "mediatek,mt8183"; +}; + +&i2c0 { + status = "okay"; + + /delete-node/touchscreen@10; + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupt-parent = <&pio>; + interrupts = <155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; From patchwork Tue Oct 24 00:02:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433749 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 32E9CC25B6C for ; Tue, 24 Oct 2023 00:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fclsTCaUqdHU3AHa06MW+COo/+rNcyyeUhUuKtV+7PU=; b=SrE3mr6ljB7ChM VVYRm2DymwIaTeVsF4dIS72o7UrbkCDBGY9NWZV4s+HypTN4OTrCmr3rA5J0w4nfOdnDYwSrdqfQE rvKijoaO7d9jStZ5YO4keUTiJ0nIJqnv9mYTgG0MX4z1pi3F5h/E2Pb3xi9fYpIZ13eJpI51FPgL+ IR9PJ7zGVF5EpNiX9aJiWpHQ/pXBDWR0efX8g51QNlmMdHfWcplAkq67el5j52fJ1fHsYF/elpblD WULC8zG8Gz7MCkNWWDsEgwzzZiWktNBww5RR2GhAoE5Wn93mVqQ+3Zvn5sS5ov+2FiHmVzWH0Wvpi hJRYDg/b2ZsQcFaYESDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xi-008V0D-0v; Tue, 24 Oct 2023 00:07:58 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xO-008Unc-1M for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:40 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-5a9bc2ec556so2380807a12.0 for ; Mon, 23 Oct 2023 17:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106053; x=1698710853; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+shCuLeYUeGg9T4PC0PI70XXw4EiiSOxksaZg6E+gi8=; b=bg4MPjzR5ZaDlE98/a96/rElfINDdGuJsn27sXx5bmATdmXqe6icY+Vx5f4APBEZ6e r1oYIEsCo+/ojC8uSIc577jpGv1zsKyeh6KG66nvfgqRZTV067DVzi8jDYJVuV5AUABd EZ7gVfxzX9OACYQa5kVUZRrfNIOyRH69iAo7Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106053; x=1698710853; h=content-transfer-encoding:mime-version: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=+shCuLeYUeGg9T4PC0PI70XXw4EiiSOxksaZg6E+gi8=; b=Sd+NWZKSXeGE3vj8H6N4r2VZdEC+uye7nYTRbcqNBH9pmP8np6a4aXt8rrgMD00Gg+ Ifao8A0wCRgwMAIBpZFot1jtiYDSRjFuwNaFvF2gamRVS+KgFQxork+BKOFzlI6yzDy+ fpVwUMchwYbbnDAnDa9Usg78jBeUNXNcamM5oidLUDZsowlKEiJPNxgSgDDUC7ULHyAE 0Xc8hcN9Ytlu6cx8kmvxhpMqZpg94tJssUBm8zegj6uZXQgAwkpLjxhpA61gLVbPW1Q7 hk9YxYUtOvncNkSxCpvFCjwvNaJ4cUjoev+GKp41dmSnOP0rX9ZWrrh6j/lcqZeMQzQz bmlQ== X-Gm-Message-State: AOJu0YzkdP/6x4Fn8AOayyfREqfQcziQrZYfiojsSxysQgpgvlIrRzAt pdUGR5aeei+kFIzsbQSLA+bN1w== X-Google-Smtp-Source: AGHT+IFyDFfPXnOzCWduhBGQR8TvVevfvrQncsDbKw4d5+Hws9B2jLP9qII9Z2Vy6KpNGikr7rQrjg== X-Received: by 2002:a17:902:d2d1:b0:1c7:398c:a437 with SMTP id n17-20020a170902d2d100b001c7398ca437mr9319153plc.69.1698106053509; Mon, 23 Oct 2023 17:07:33 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:33 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 3/6] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-makomo Date: Mon, 23 Oct 2023 17:02:26 -0700 Message-ID: <20231024000724.57714-4-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170738_463516_7D74066D X-CRM114-Status: GOOD ( 10.40 ) 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 makomo sku0 and sku1 which uses different audio codec. Signed-off-by: Hsin-Yi Wang --- Documentation/devicetree/bindings/arm/mediatek.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index fe8c488a3207..b131e0bdbf01 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -250,6 +250,18 @@ properties: - google,kodama-sku32 - const: google,kodama - const: mediatek,mt8183 + - description: Google Makomo (Lenovo 100e Chromebook 2nd Gen MTK 2) + items: + - const: google,makomo-rev4-sku0 + - const: google,makomo-rev5-sku0 + - const: google,makomo + - const: mediatek,mt8183 + - description: Google Makomo (Lenovo 100e Chromebook 2nd Gen MTK 2) + items: + - const: google,makomo-rev4-sku1 + - const: google,makomo-rev5-sku1 + - const: google,makomo + - const: mediatek,mt8183 - description: Google Willow (Acer Chromebook 311 C722/C722T) items: - enum: From patchwork Tue Oct 24 00:02:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433752 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 7F60CC25B67 for ; Tue, 24 Oct 2023 00:08:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HxtV8lR3If9Ne2ZlGdC5z0snPeNxrlOdn5mbIe5nc+o=; b=e5CbewpX+vG+UT LXioNagTG8hm+kt8jab7//lGItwJN0DUZsCdzSxoQqyP/EFThjHlu3EfyFgfxWJs1YbvPAiNQkq61 HXUo43ksNsT+u2JXlQvS2pVzHoiu/RWETD0aL2UwJqRFaZLO2uKHrsanciRvDNIgA42uyIIYS7VVn nb6rELOIqRE69U0t+KZ8HnKNUtuEIEy9Wz35BW3mLYV//P0bt15KlHE/vATVFE60u74NPyAVx0z0q XkmjW5Cd6K5xddf3TOyviRNX6bEhQA7mv+Ubk3WxWNmXz50HjB14Mg5Dymo7joifnqv7xUtkipk3r wGMdNhm78m+UDB1Ow0vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4y4-008V8i-2i; Tue, 24 Oct 2023 00:08:20 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xP-008Unf-1A for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:42 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1cace3e142eso22359035ad.3 for ; Mon, 23 Oct 2023 17:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106055; x=1698710855; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FubqupHpLqb2pDn4ndeupK3XOZHp/EqiYPXj4OW7V58=; b=SmW0DNJk4P6RVaN4gg1tdEEUVD0ZyJS3wBAn+ahAXeO7/jtqw7f/OKibBopgS3qpAv Bl0L+GbSXC9gfTNSH0FW5c4FEaWy/4+6lfU7v67RT09Bg+iUJONTIgc22F6JjsbBVPb2 qxxBQUKjF/3jOyAYghNP7+4EpC5dhP3RqnijQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106055; x=1698710855; h=content-transfer-encoding:mime-version: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=FubqupHpLqb2pDn4ndeupK3XOZHp/EqiYPXj4OW7V58=; b=jovlbWEwPkxg7oivQ9eJrIjZtfn6bXLXWQhbHnAhcGlmlp4lnpUG6bD5BkhUI+l7Ek yejuSd8ZzbVRKe2A339/AUfSyKGxGZUlVa1/HVU3nesNblUZBL0ZtlSYmU6ooO3FLovZ l0K/QLtC0zJSeSJOX3EIqtB1xh/2h/tGmIQwxUVP4D2wPQ2EsmCNFbbfQFi7f5A8ZZOL ePoI2zL9dGh9vxjFHozuFLfiKoNr9+m8UE0wYBYoaeNuBiR+nuiRJ1Hs9SC+wuIAIBJi 0nqBDpsEYLH8k9JITIpiN9q3FeYQ32Vq46N7i/vufaZZNyKpc7lSwjshSjOKyxPo4Jlw sUPw== X-Gm-Message-State: AOJu0YyBOEHDGihkokyLEMGgPjbYMgzZ1c3Fnf1P4URUzcOnDAUnVamr IQfLg1QXJgPrQZ1a8E1sKeaHjg== X-Google-Smtp-Source: AGHT+IFSs+WghIauk4oRi2TEuZcbAqZ7IAK+F7XXY/BHNLidhvYR8UasV3y1B7a5WTf9vjbnqjtQbg== X-Received: by 2002:a17:902:e402:b0:1c9:ca02:645c with SMTP id m2-20020a170902e40200b001c9ca02645cmr6318758ple.36.1698106054711; Mon, 23 Oct 2023 17:07:34 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:34 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 4/6] arm64: dts: mt8183: Add jacuzzi makomo board Date: Mon, 23 Oct 2023 17:02:27 -0700 Message-ID: <20231024000724.57714-5-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170739_411350_4260ADFD X-CRM114-Status: GOOD ( 14.74 ) 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 makomo is also known as Lenovo 100e Chromebook 2nd Gen MTK 2. Signed-off-by: Hsin-Yi Wang --- .../mt8183-kukui-jacuzzi-makomo-sku0.dts | 25 +++++++++++++++++++ .../mt8183-kukui-jacuzzi-makomo-sku1.dts | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts new file mode 100644 index 000000000000..b80be5dbcd7b --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google makomo sku0 board"; + chassis-type = "laptop"; + compatible = "google,makomo-rev4-sku0", "google,makomo-rev5-sku0", + "google,makomo", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; + +&mmc1_pins_uhs { + pins_clk { + drive-strength = ; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts new file mode 100644 index 000000000000..46da8c50aaa9 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" + +/ { + model = "Google makomo sku1 board"; + chassis-type = "laptop"; + compatible = "google,makomo-rev4-sku1", "google,makomo-rev5-sku1", + "google,makomo", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; + +&mmc1_pins_uhs { + pins_clk { + drive-strength = ; + }; +}; From patchwork Tue Oct 24 00:02:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433750 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 CF367C25B67 for ; Tue, 24 Oct 2023 00:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X7v/CZEbW14i2+L5dAy2b4XOTlsVeaeYLx88J2BLahM=; b=mBD5OzuorKWWsK 8uTZrwqRP8QMDgqyDFTVQapmEeZERnUyp+/nqJRVit+5EkcjksTs+JQRt8bJxXhnBzUde/IeyrrAW VkvNfnTHgx0vdS9gF/iqXQ1H0xKMr+0RlldHo6ToQThlEpKNBr8GJvWxOEK4jBvfVvIicGKLBDTW0 5bA/1Sc02NIX2UYhG0HUFsLGTso5wRORojlrLJDwgC9MT5kTKewCYZLqJa7+vaIX1rxzDM54cWLkh 9wn5anY8HuTF665ggYUx/z7daZpJ5ClG0PqYqc8i0hbyTZgqhrtj0rikhUe4lt0aEE25+DiPMBmEG /oV9JXG95OhXGd5gGQCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xx-008V5P-0c; Tue, 24 Oct 2023 00:08:13 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xQ-008Uof-1F for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:42 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1ca052ec63bso33106675ad.1 for ; Mon, 23 Oct 2023 17:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106056; x=1698710856; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9VOeGW1+YeyU2G0JvKEORbZjMo9uwDqxfDmsj8nfnjM=; b=bzYpqqm2rFOitm9VGc4EoFAptEFSoVZ2AX0buuEcT/V0cPNLfaGFjr63XkEz8ZOlRA wbMkIEv7iEd2vIuv4L0yBe0awNlDx3fT2eNTe1NWB4HKQq0rjaPlKEOC3h/7lS3zgPgs qB928PxHfjqtxkNSsGQF81F/OgNVd9/isq9Mo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106056; x=1698710856; h=content-transfer-encoding:mime-version: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=9VOeGW1+YeyU2G0JvKEORbZjMo9uwDqxfDmsj8nfnjM=; b=nc/PvCnkNuDNon/JYG3rjLzz+Y/dohJxVfq/wdwxWYeQ8j+/efPV3SEq/+VPwaok// MElNKCyti8j/MFEC7za2EQQ3ZJp/BQ807QeQ2ax3EgwfuIiZrdBlFP/KCc3yjBIke4yl DYYmC+V9sGGI5ZvVN1NbvSsrXqifsbG28GHvaerE0xqnHc25cQ+Qz/EeBMck8kU322FP uZqYYb+xjb7MCqOHxsP0pQp6jisDtS+xqeWTm7Ec/TCt6RAjTf1GWKzN8eodfXWlW6AT ZlytxcZfulIZ09krwJMSiPRyczg1gtUsuAJVZ9YEZ9jQilGMnFPNJiMHE4DLRcDhNFrK Blaw== X-Gm-Message-State: AOJu0YzEVgs/kO5kav5MCzZLLfegr2aZIgoCBpmS/zkEZFkuPempX0rL mFj+bKtPI055nY/VF6XCshq5QQ== X-Google-Smtp-Source: AGHT+IGJlNox07Z+qWP/5jJ6ZTp86n/wGTcwmCUD6ggrOUjFIR1tQ0GTE4odCzw3VRIeGQT7pg3Dbg== X-Received: by 2002:a17:902:ce88:b0:1ca:92a:df0 with SMTP id f8-20020a170902ce8800b001ca092a0df0mr11804998plg.59.1698106055836; Mon, 23 Oct 2023 17:07:35 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:35 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 5/6] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-pico Date: Mon, 23 Oct 2023 17:02:28 -0700 Message-ID: <20231024000724.57714-6-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170740_422842_FD26EFE1 X-CRM114-Status: GOOD ( 10.43 ) 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 pico (sku1) and pico6 (sku2). Signed-off-by: Hsin-Yi Wang Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/mediatek.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index b131e0bdbf01..6bb1d80dd4eb 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -262,6 +262,13 @@ properties: - const: google,makomo-rev5-sku1 - const: google,makomo - const: mediatek,mt8183 + - description: Google Pico (Acer Chromebook Spin 311) + items: + - enum: + - google,pico-sku1 + - google,pico-sku2 + - const: google,pico + - const: mediatek,mt8183 - description: Google Willow (Acer Chromebook 311 C722/C722T) items: - enum: From patchwork Tue Oct 24 00:02:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13433748 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 929BFC25B67 for ; Tue, 24 Oct 2023 00:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ytmblUqAtZAIMp5bH4Lvu3XAzseisiHmAVLiw8oAfzk=; b=dKIDJN6bfbfHcJ ZFQReZ86gJoql2y8w/XUm/YP0wHalyxrpitPFFiaCl2Z4IzNP2qZ9iFiZcOoOt/yU2D8nTlVE/mEw pPBgh1FCeBiOczLGqe7tFyJGpwzWLBlTwUBNCGgz2vvDPBziFnAlMo2KZXnNc+9Kt1YbsjVlWzgf8 yc7neUEjefG6MTmttNn4a+t4rYyTVIPnwv7MFX6Nz+SY37qi3f2G2D1zyfUAt+mQn8kK85ph7UgrB 02ml7noaZdT3BwaN4UsWf8pk1oBgyyuLO/2JxGGEib3LItvvNJbMSBG2xFHXxsDKORjGyDOLpN1FW dny9C1ITb+FaWiH3EElA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xh-008Uzw-2R; Tue, 24 Oct 2023 00:07:57 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xO-008Upd-1n for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 00:07:41 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1c9de3f66e5so23327305ad.3 for ; Mon, 23 Oct 2023 17:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698106058; x=1698710858; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uljJOYp9SPwgii6z9nBGZ6O6OKzfH06bDcWI3pU4ax8=; b=EffZRoYJ4gfZjHFyg1S1Q21MQkHqrGsqQfW8n8ht/+NDslBcmzk38WoGmvuAvJx9ap SV0DQe6DWlHaBWGKmgGr5RG0nQ7RfAFcY/uE4QsJZONAMD9QaO1yYIQXPB/010gimmcO NCgZWG5kxRaj0rK5Aol4fvby4LFDstwg6uRaw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698106058; x=1698710858; h=content-transfer-encoding:mime-version: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=uljJOYp9SPwgii6z9nBGZ6O6OKzfH06bDcWI3pU4ax8=; b=ialHr9T7euEYkW5KwHZfauKeVVMLI4IXb0wHCofDt4hcj+4adNCT6Cu931fXLy47fF faCzeb41s70l1NTGuxcyRV9Y6wWiJ2rMRmgSz7M9Pko/eFuPGUc895hONmghBRU3HEv8 3/FhB5GvwMGQr+WkWkvr1T07GMcv1DOy/TQSkTtnbEnYQtvyvwoMTvXl5Bn7tMZG3RUu oWN8gs/X04+J9OvEokV+EG8R4CMnbPGZHeNUw4luT8eH9LsxzEV+rkvoHW2W25Hp0Rd2 Q/qY1aV1b2ON+WqbLJZ/eLZRY/x5hq5hl+z2JvAX6bUk8ZquwRyNPHMMvpfs56ZeEvgV FuEA== X-Gm-Message-State: AOJu0YyZxWuY9O8aP3s/QRD8cTKpIhQsIMIU9Dw2+EDpUMCAWaY1vrYX lZ1Ooax1FsRXEBK+8h/DIwYiNw== X-Google-Smtp-Source: AGHT+IFfpVT1CfSbELIj6YsfEI/agaom4NFI7V9kAEtNTMGnwUcyunjQnXhKJwynE8IwMQ+Ptg6hJg== X-Received: by 2002:a17:902:ab52:b0:1c9:d61a:f4a4 with SMTP id ij18-20020a170902ab5200b001c9d61af4a4mr7173987plb.60.1698106058055; Mon, 23 Oct 2023 17:07:38 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id a10-20020a170902ecca00b001c5dea67c26sm6505510plh.233.2023.10.23.17.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 17:07:36 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 6/6] arm64: dts: mt8183: Add jacuzzi pico/pico6 board Date: Mon, 23 Oct 2023 17:02:29 -0700 Message-ID: <20231024000724.57714-7-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024000724.57714-1-hsinyi@chromium.org> References: <20231024000724.57714-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_170738_595461_30A3CD9E X-CRM114-Status: GOOD ( 15.53 ) 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 pico is also known as Acer Chromebook Spin 311. Signed-off-by: Hsin-Yi Wang --- .../mediatek/mt8183-kukui-jacuzzi-pico.dts | 36 ++++++ .../mediatek/mt8183-kukui-jacuzzi-pico6.dts | 110 ++++++++++++++++++ 2 files changed, 146 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts new file mode 100644 index 000000000000..e230323b3a54 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google pico board"; + chassis-type = "convertible"; + compatible = "google,pico-sku1", "google,pico", "mediatek,mt8183"; +}; + +&i2c_tunnel { + google,remote-bus = <0>; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <25000>; + + trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + + interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; +}; + diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts new file mode 100644 index 000000000000..3e4bc451039e --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts @@ -0,0 +1,110 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google pico6 board"; + chassis-type = "convertible"; + compatible = "google,pico-sku2", "google,pico", "mediatek,mt8183"; + + bt_wakeup: bt-wakeup { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_pins_wakeup>; + + wobt { + label = "Wake on BT"; + gpios = <&pio 42 GPIO_ACTIVE_HIGH>; + linux,code = ; + wakeup-source; + }; + }; +}; + +&i2c_tunnel { + google,remote-bus = <0>; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <25000>; + + trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + + interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; +}; + +&wifi_wakeup { + wowlan { + gpios = <&pio 113 GPIO_ACTIVE_LOW>; + }; +}; + +&wifi_pwrseq { + post-power-on-delay-ms = <50>; + + /* Toggle WIFI_ENABLE to reset the chip. */ + reset-gpios = <&pio 8 1>; +}; + +&wifi_pins_pwrseq { + pins_wifi_enable { + pinmux = ; + }; +}; + +&mmc1_pins_default { + pins_cmd_dat { + drive-strength = ; + }; + pins_clk { + drive-strength = ; + }; +}; + +&mmc1_pins_uhs { + pins_clk { + drive-strength = ; + }; +}; + +&mmc1 { + bt_reset: bt-reset { + compatible = "mediatek,mt7921s-bluetooth"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_pins_reset>; + reset-gpios = <&pio 120 GPIO_ACTIVE_LOW>; + }; +}; + +&pio { + bt_pins_wakeup: bt-pins-wakeup { + pins_bt_wakeup { + pinmux = ; + input-enable; + }; + }; + + bt_pins_reset: bt-pins-reset { + pins_bt_reset { + pinmux = ; + output-high; + }; + }; +}; + +/delete-node/ &bluetooth; +/delete-node/ &bt_pins;