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: 13433740 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 D8A20C25B6B for ; Tue, 24 Oct 2023 00:07:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nh7y/+UHR4rfaD1MdlnQhy3jizucTRA5pP5JKPfuUQY=; b=qORfrfTban/12P 9PBvm9dyhDQcqNJDLyChbgdKfCI8vtC6dQsdTMQG574JqzNSd7DyoHMKnl/Qpd97ZDNz11D+HyTli STc96YrxtJgDfFS6rnFG8o0+2KOoI0pl5iZxk9xoPtYHaGVEegEiiaFfuN5EUGqAmbrR5+frpb9Kr Fps3oHDwYEYNilzZT0To7APZUGg0y0GvDgrLZn8f9Nf8mziWSCrmrJ0k3k71PLlQOFp0HSFbKPuBH vJc/aF6K9YKbAu3ePexR1D+HCqg6DCQ7bIEMflbenz4a7Di/gCuA5uMlf31ymGaeD2QPPRazRSm7a ZbnYg8Ni40sP9Zird5Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xQ-008Urc-1e; Tue, 24 Oct 2023 00:07:40 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xL-008Ums-19 for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:36 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1c434c33ec0so24357065ad.3 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=bMcAp0leSmD6B+qL7T8gQG3GFUA2E5elrsTfJ5JEUqEpO9rnWAUc0jSP9KToa/M2v7 zNJzPsJb0VRaXnOW3Yo18LUaMjVtStuTYmrv4lBtPG1l9kXZXjqNSbho05oe0eXUQipo zH301h1MMto4dQH2NLJDHmer4NO3YZzYd4+I5JW0UAhy6ubt/r7ZrTNIOl7G6dqoEJWO YFv6mbW8KUAn+nMJEnmgrQx5GwNSAJftCAgMOH2i6Wf79xpba8xzumHmynmPVOBMBcfF VK+8tRuGGXotkRSTC+R3o8WtPsm1dgvtgiwqMK2PoPEJYglddugolBXoetD7Ca6JVrhh fkXw== X-Gm-Message-State: AOJu0YwBAk7W6qhTueGwcphptsSMWPWtgyJu18jP7aH2lWL621TGNY+e 2mqENPQCkyk/nORjQNoK4FhM0A== 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 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_394593_3897AC43 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13433741 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 52157C25B67 for ; Tue, 24 Oct 2023 00:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P/cqlLo1xMu6vyNWnJHXRu9HX9PDmOzSMx42M7GKBk4=; b=PYYkszEWqapan1 wj45STN8/C4BlHyxXwtf/aFZWvNW9t24ji3/pn2sNkeXtOyr09TB8EtaybgmKDUvakhf1kIzs3BAz OM9OYKPE9D2adtOlF0G3l9REACNdjFsdOoWS3w5stNEBLvuSkFeGZfaDMGCOeYVcTkDmypAb8up57 gtlszHQc7q2s1CIq5UxUNBK5QPmS+VzPenun1yNKDUsiuA/YZLCDDg9jlSdlT8Zql9h+Sdy1Qu6Ml V1uFlkNntTm0VVMBLHxHoLQ9u5MKbBNl/QTJBOkfMW6QTQhCLmc9jce1vH2/VEKjXLcy65fPOSPTz hsYHyQsTGlhpbCD8XhtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xQ-008Us3-2h; Tue, 24 Oct 2023 00:07:40 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xL-008UnL-19 for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:36 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1ca82f015e4so24398105ad.1 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=oXGYENiVj1GoRh1LMETQ7stFmwS+7/AoPdLMX7OhUweMUDzKLYrkoU7cA89n9+1xEb FFd5psyqXxhTeDdfh85M+jrOj+tpu/juk2J2Cmhkugrtzu+HNXkRY1BAlvgAFBSwHllA mci1035FDMSbWmg5HjGFmUyP5OXnPtorHU3m1KYy/QXxFFSorqhFQ9WoT7HswXg5F4U7 paLKCydzm5HVRL0/D5zrdHETpJRIZjnf4Zu7nBLb9pEemnJIl+cngtHFGZXjgvVjnXNN AroHzwaV9a8+OWl6YeulHjjf93zp60nJLt5LJXyY3+CMbost6nzcg0vwzX2gZmtqs5Wy T6mA== X-Gm-Message-State: AOJu0Yxgclou1Thjib4IZVosYwaTIKw/PPClqYkso6Mynf1NfXAKMJfd RXDMSAsjNGr4gnWIMj8n9aR9Gw== 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 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_170735_398319_0A79F7D8 X-CRM114-Status: GOOD ( 13.28 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13433743 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 CD5B8C00A8F for ; Tue, 24 Oct 2023 00:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+shCuLeYUeGg9T4PC0PI70XXw4EiiSOxksaZg6E+gi8=; b=kndQJwfVrDxHnr V4D4GgYEhIxLMNHbjzpQhlThrnK10qZEeW1Wx07/A4PkcGfBl0rvmjyoge54enGk62ENlMXVZC12S zIOz+4F2sng2+W97ddNiPfgdmQswWU7gC/mSRoIUQWCWsUDjBn/5Hf0Z2i+21SO/J86cehfBbVLSa pFZcofLL0FIlaQvHpFBWzknfQzuToyMNKgUB+50Qy4tCCV2rJmMEki1QlcwIN1xvQZZ0tIyWzWZRg EcPldXdPbhOLEfBMlBLDSUb4JqqzUCoxOjSfcsK3i2/fBg+6oUklzwEvJy2GM3yj+BG0zW9pHmO3l QiL7o5mNn2vf3Z6w2aZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xV-008Uvj-2P; Tue, 24 Oct 2023 00:07:45 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xO-008Und-1M for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:40 +0000 Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-577e62e2adfso2367409a12.2 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=fwsQ4W6X+CY/bpTYf0lYsPDpYxNj6IoUeXH2WwLFG5aPBCHjn2CfzdHB+yd8ZSViuA kQUkBfUrMiC+XjL64XYuoHuO8uF1uCpUqvLWtQoSurRzaGx37KXB5W3HNS6I6f+CbmB5 rOSwJZbzcuxL0A/dmxWw8BBO+TuX63uSC5gXGQOpIRNHI+DdDxrHmIgAvhDBvb8maYDe JRzG5KP+KwrTbVFkkJ+31nki1FzW0k/I/6dxK0QCA2cthP9dViWfzL+hpr1RbZsd+jR8 Tc1f1UA1ujO/+IrCuj4jnKUxaxRSI/5y1Zg7Zffg7aw3krhPawI0hA0Ajb0Ema4E++WI GvTA== X-Gm-Message-State: AOJu0Yy/qczWa4ytTTW1rG4QETghDd+b7PFMEhgKK3tlS2PC8v3iz0Mi QJH2RO5bwzvFcO2U341d3sxXAg== 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 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_459933_DF2E86AD X-CRM114-Status: UNSURE ( 9.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13433742 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 0C757C00A8F for ; Tue, 24 Oct 2023 00:07: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:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FubqupHpLqb2pDn4ndeupK3XOZHp/EqiYPXj4OW7V58=; b=0GNuNaSiJiSOHq +OTHt2A7Cc8nu+QHWNY69ubxNEsakjBwD3MckPaTFK8UwaaktIa30tVDLgZXxoxjzRK9UH9RrAn9F 10d94Q4HJAbMuQve0PpGpR3E7KrxOkpj0q+VBWVqbfi1mKfZ32t/yaqHqNbQ/r2hiXSQSqBqusI8Q rSVcny+rYkqeS/yYgyHscivJGtEyLKDOQrsIKmr0wKuQ5do6IV7NhB4Adp81q789JZr/BB+P9OTBn KXJTLCR9Tgj7yno8xEHi5yeWUh/FbD2T/SXPwQguYrulBU6gUhMLqsdbQW29v3sJTXbvuUWugWvz4 YSf/c6zHHUQwZ4S0NODg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xS-008Utk-37; Tue, 24 Oct 2023 00:07:42 +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 1qv4xN-008Ung-2o for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:39 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1c9e072472bso25644555ad.2 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=fynu7TIrl2ZAfhvIKo9hRg642VFYDXg0kVDn2QUSJ2wfnUtfJmAZtNNL95rYSOVunV +2I9NTdV+XLq1X6nJwM0ff7izDecA/cgQASodYCM7B4YqENd/0z99WScHj2A2+XGjfrH UOHcytzRKZZkTrzg3UjP79B7Bvs8MJDhMyhN7UT58UyLPv4D23Cuv/Dx8WoewVxThKcQ JlyO1cTxhVA99OkJnib1dVevCTYOZ6Ht61gVwIY/veUzlGXoYabOe9gMBYO/tujtWQQM IbdjKkk1cCB4MTMFrN7lLmeKdB6FSJEB7kno4TWWeojDzM/SQJjDhAPVrpT1LeLrcZRv /8Kg== X-Gm-Message-State: AOJu0Yze10Z9tfzAWWyo2tltQuC1+qAcEkPGh2mj9x8GgMbDZbLwT527 5WH9lHhNTyxHEcPx3GRwTEqAVw== 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 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_170737_911810_8C344532 X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13433745 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 AFB05C25B67 for ; Tue, 24 Oct 2023 00:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9VOeGW1+YeyU2G0JvKEORbZjMo9uwDqxfDmsj8nfnjM=; b=GD+nL63EZUzvZ/ eC2ST0vrJ05BK29Y0lxhAfIvqZVonmzoXrx1hkw2egFerVlLWLWmS+pdbfGW/BlHaQ2M+aAYhOmT6 cA5/mOZRl+smvGSJywP62UHqOoScu89sjwzUmG97CTiat2ma8S65fIlrjP6FBBQ8IvuaPaN5kjgJB Z6Eq7ezI1DAXZCQGqb1TIU4wAre5YfzPAv3gVFa74bCahuM7JsFRd+tQ4JgXWfSS2/RNcXiNt4/Ci Ye2DVtP0ViiRk39gNb0MinxcKXMglOjMmxf8zsBecYCoVoGKTiG5YW3pNHnQYETGXP2TkFvGzADRM Q+hGemtx6N1phFNPdcww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xx-008V5o-2Q; Tue, 24 Oct 2023 00:08:13 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xP-008Uog-1T for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:42 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1c87a85332bso32959195ad.2 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=C/9C1AVUHXxTQGQuZdFZTJfQnGnIE/g3s8S3IQpSRpF4yMFpfnFsCDtoDryhcskn6H mA4RNQKYZRIrehCJFSJ446XhYEAqPU7T+Z3eBtLawjoWCj+lPXlyd4XzOInZT4hE5Dvn t0XbR7AiS9+i5/lGBUCccniS8uskyleEahY6lXVN3066uXlPccJ3h15sz1cb+WmMPYs1 hvESO93aqRhVmBAIZ/Fv/cxEMsucg1i9Yk1W+qrEfGNHr7k+V3+IO80wu/LL6sLf2URK E8iPnyHKOHSXFo+0/VbpKBhKWX9DNRPXtO7b+Bo060UI3fmivaaRUHHxQ7qPUDy2PLVh bhSg== X-Gm-Message-State: AOJu0YzPeYIu0RUG8Gq4xi28bDei8aBmKOX5BMN6/e9cN8J8vhdLvE64 3yB6hYcRSWgfcqi7ip7bLNcZoA== 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 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_170739_504228_E0CBDD44 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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: 13433744 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 806B5C00A8F for ; Tue, 24 Oct 2023 00:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uljJOYp9SPwgii6z9nBGZ6O6OKzfH06bDcWI3pU4ax8=; b=22YQeZ9xD/m/5w it0rCQAP3zKN/A99SrGxyad3ed9OrNKdr0s/qS5DLgwbl217VukAtNMEoeS/uhv+QvWTIvEKac1U3 9KKW+XQ8FtX+S4V493OSKzf+31EGl3dPOq3sJs/8kHNbFiK4AiCbIIpK76S9sx4WYyGJ6aHw3YXn/ HJCLkBtcv1I6nbW2A5nBwcavAT71F0Ufu6hxyivH7asPR+hK0yaOaEhDaDZgxmcl2UD8hMx6SHju1 r4j8eDZwRO3+YcMvqisve0akSIjzXcziny350O3A2OwhA2qlvq3iD5pz5WGh9/V7kLAVoQ3NWt6uB otQz7v8G6LtSAV84VHUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv4xk-008V1X-1Y; Tue, 24 Oct 2023 00:08:00 +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-008Upc-1k for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 00:07:41 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1cab2c24ecdso23561755ad.0 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=E6P8NfRxD3GLFmDrK4kj8WzdgMPLB/dTktJypFhL4NfI/I+Lc0k0bRyEpnP43NKcrQ 1nezthJQpWFAqEQ0KICK9GqQ9n/78hkrcb282u/FXPyIm0DOhsZs0y+4xTQpw+wff+UW NgYv2rsuwCxrjBPFIgHViHi2OJRC28lrkSh/OYLqXmncZnmcDA3uivF8jx3yljDfrqO/ B677OvbjFdWbonHhvAfziJmFY5yTXrcsofhAm6xDpvIfFKQjKVkjUEXQwe1APduO6v48 22YttgIMAPW4aG0uECtYw+N7yCW8/WasmUzrVzTYDHJS3rxcHJ+uN3pi9lJj6EwhdreZ u03A== X-Gm-Message-State: AOJu0YzlxwAdrxh0qzSroa5C6peQidDYyD6qvoLia7Pyto8LLmKAg1x7 TDgT/Zar/eTWM/V4RVocKCHqwA== 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 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_580000_1B5C69AF X-CRM114-Status: GOOD ( 14.22 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , =?utf-8?q?N?= =?utf-8?q?=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Sean Wang , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Macpaul Lin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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;