From patchwork Tue Oct 24 21:22:23 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: 13435268 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 4626FC25B6B for ; Tue, 24 Oct 2023 21:26: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: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=DmaXnn3FVuKUUd5bHXt0ruoyEZHefu8VCNGbhNVksAI=; b=NJgWUPf61+O6M2 jsfHJzQmtRnQ76UFmyuzUdgLlLjVwxYkr9jAvydVKgD/p8JDWJ6evwdTjFurP+WLUPt8b3C25djRf ZnNlVk9ZCElWZpNiXPy42aVmPJxGoZ9dlscho6f8iogRx8g1qVumX3QN6ev1gdJXNBDOYow8J2Afu 6T2kgbaQ3Nr83TXX50mPN1ZgtQk8xmO2/9fWvxQDV4osSIMJ+hLoD7MxSubWTwE7jORDQSRzVhDRL HkRDVQWCmRC/o77eNJTRaaCknqqb2QYh+VJoydEQSHzjG0JdXkotIUvVHh87OSrDLD81r62oMbRx6 45sLklLIPaY/8aBry3RA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv1-00AsT5-2M; Tue, 24 Oct 2023 21:26:31 +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 1qvOuy-00AsQF-1K for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:30 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1c77449a6daso41880715ad.0 for ; Tue, 24 Oct 2023 14:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182784; x=1698787584; 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=DmaXnn3FVuKUUd5bHXt0ruoyEZHefu8VCNGbhNVksAI=; b=cLQ7MW4vFteLf/c9GgrC9cD2YhjBBKC0ym5mlwWfdhpKcRxP2CtKR6LoLfWqLmOfPk nAOVkwb5M7XSrOn5E1MU1j22sFeHuWZHxdw0ejMcpoxETlfpAwFGgoQz1ULlTRl3zqFd lIXby++WFPsI95++KTDpMXBkLmMjkStUzF+Xk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182784; x=1698787584; 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=DmaXnn3FVuKUUd5bHXt0ruoyEZHefu8VCNGbhNVksAI=; b=VAQy4H6qdN2Z/x85dtXA5y1TUoZ2+AtaUD2Yy0TGo3pxGv24Z5GPUoIy9MBNnXvD6H 2oM73fmIVBc8OELjVY9fcUrY5vI7M2i+07R8+gJLRD5lKHhymbVYfkWLXOkN1HxAFr2g ENBF8VwWfZvLDUWY1KoPkumtnsXyPnWacq+xMiZhkyZjfvRC9K99qIRUlpmOs0P67hju PcWr7aPKcZnJjeAvzyW53OUFizBzjs4XTL2BFVqcfbmgf8OFUYdzZz5yc2LPf1dcyh2R T2/cFQphw0jARM8QWFjr3bTjDY3riR/Quj7D2g4R635sMWa3Xr3gUaNe5T4GswzbdTBW PNyA== X-Gm-Message-State: AOJu0YywgOZsJ8aIORxsA+D4tb0F/qdphE4vLZUUD8hnvr/Z2deAsqj+ Pb2hSCtjUP+d5ydMmmiG9/i/ew== X-Google-Smtp-Source: AGHT+IH6kkrCgqN3YbV+L9kA6VrGOZAuIviVBNVqMBdTy/sBN4fYAQaPOXKyDQS8CBZc5AyopntO/Q== X-Received: by 2002:a17:903:11c7:b0:1bb:77a2:edda with SMTP id q7-20020a17090311c700b001bb77a2eddamr14437012plh.36.1698182784439; Tue, 24 Oct 2023 14:26:24 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:24 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 1/7] arm64: dts: mt8183: kukui: Fix underscores in node names Date: Tue, 24 Oct 2023 14:22:23 -0700 Message-ID: <20231024212618.1079676-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142628_452265_36F64F32 X-CRM114-Status: GOOD ( 10.73 ) 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 Remove the underscores in node names. Signed-off-by: Hsin-Yi Wang --- new in v2 --- .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 6 +- .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 90 +++++++++---------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index bf97b60ae4d1..06fde1a9aab7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -441,20 +441,20 @@ pins2 { }; touchscreen_pins: touchscreen-pins { - touch_int_odl { + touch-int-odl { pinmux = ; input-enable; bias-pull-up; }; - touch_rst_l { + touch-rst-l { pinmux = ; output-high; }; }; trackpad_pins: trackpad-pins { - trackpad_int { + trackpad-int { pinmux = ; input-enable; bias-disable; /* pulled externally */ diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index bf7de35ffcbc..5a3109e47877 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -460,7 +460,7 @@ &mt6358_vsram_gpu_reg { &pio { aud_pins_default: audiopins { - pins_bus { + pins-bus { pinmux = , , , @@ -482,7 +482,7 @@ pins_bus { }; aud_pins_tdm_out_on: audiotdmouton { - pins_bus { + pins-bus { pinmux = , , , @@ -494,7 +494,7 @@ pins_bus { }; aud_pins_tdm_out_off: audiotdmoutoff { - pins_bus { + pins-bus { pinmux = , , , @@ -508,13 +508,13 @@ pins_bus { }; bt_pins: bt-pins { - pins_bt_en { + pins-bt-en { pinmux = ; output-low; }; }; - ec_ap_int_odl: ec_ap_int_odl { + ec_ap_int_odl: ec-ap-int-odl { pins1 { pinmux = ; input-enable; @@ -522,7 +522,7 @@ pins1 { }; }; - h1_int_od_l: h1_int_od_l { + h1_int_od_l: h1-int-od-l { pins1 { pinmux = ; input-enable; @@ -530,7 +530,7 @@ pins1 { }; i2c0_pins: i2c0 { - pins_bus { + pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; @@ -539,7 +539,7 @@ pins_bus { }; i2c1_pins: i2c1 { - pins_bus { + pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; @@ -548,7 +548,7 @@ pins_bus { }; i2c2_pins: i2c2 { - pins_bus { + pins-bus { pinmux = , ; bias-disable; @@ -557,7 +557,7 @@ pins_bus { }; i2c3_pins: i2c3 { - pins_bus { + pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; @@ -566,7 +566,7 @@ pins_bus { }; i2c4_pins: i2c4 { - pins_bus { + pins-bus { pinmux = , ; bias-disable; @@ -575,7 +575,7 @@ pins_bus { }; i2c5_pins: i2c5 { - pins_bus { + pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; @@ -584,7 +584,7 @@ pins_bus { }; i2c6_pins: i2c6 { - pins_bus { + pins-bus { pinmux = , ; bias-disable; @@ -592,7 +592,7 @@ pins_bus { }; mmc0_pins_default: mmc0-pins-default { - pins_cmd_dat { + pins-cmd-dat { pinmux = , , , @@ -607,13 +607,13 @@ pins_cmd_dat { mediatek,pull-up-adv = <01>; }; - pins_clk { + pins-clk { pinmux = ; drive-strength = ; mediatek,pull-down-adv = <10>; }; - pins_rst { + pins-rst { pinmux = ; drive-strength = ; mediatek,pull-down-adv = <01>; @@ -621,7 +621,7 @@ pins_rst { }; mmc0_pins_uhs: mmc0-pins-uhs { - pins_cmd_dat { + pins-cmd-dat { pinmux = , , , @@ -636,19 +636,19 @@ pins_cmd_dat { mediatek,pull-up-adv = <01>; }; - pins_clk { + pins-clk { pinmux = ; drive-strength = ; mediatek,pull-down-adv = <10>; }; - pins_ds { + pins-ds { pinmux = ; drive-strength = ; mediatek,pull-down-adv = <10>; }; - pins_rst { + pins-rst { pinmux = ; drive-strength = ; mediatek,pull-up-adv = <01>; @@ -656,7 +656,7 @@ pins_rst { }; mmc1_pins_default: mmc1-pins-default { - pins_cmd_dat { + pins-cmd-dat { pinmux = , , , @@ -666,7 +666,7 @@ pins_cmd_dat { mediatek,pull-up-adv = <10>; }; - pins_clk { + pins-clk { pinmux = ; input-enable; mediatek,pull-down-adv = <10>; @@ -674,7 +674,7 @@ pins_clk { }; mmc1_pins_uhs: mmc1-pins-uhs { - pins_cmd_dat { + pins-cmd-dat { pinmux = , , , @@ -685,7 +685,7 @@ pins_cmd_dat { mediatek,pull-up-adv = <10>; }; - pins_clk { + pins-clk { pinmux = ; drive-strength = ; mediatek,pull-down-adv = <10>; @@ -694,7 +694,7 @@ pins_clk { }; panel_pins_default: panel_pins_default { - panel_reset { + panel-reset { pinmux = ; output-low; bias-pull-up; @@ -713,14 +713,14 @@ pins2 { }; scp_pins: scp { - pins_scp_uart { + pins-scp-uart { pinmux = , ; }; }; spi0_pins: spi0 { - pins_spi { + pins-spi { pinmux = , , , @@ -730,7 +730,7 @@ pins_spi { }; spi1_pins: spi1 { - pins_spi { + pins-spi { pinmux = , , , @@ -740,20 +740,20 @@ pins_spi { }; spi2_pins: spi2 { - pins_spi { + pins-spi { pinmux = , , ; bias-disable; }; - pins_spi_mi { + pins-spi-mi { pinmux = ; mediatek,pull-down-adv = <00>; }; }; spi3_pins: spi3 { - pins_spi { + pins-spi { pinmux = , , , @@ -763,7 +763,7 @@ pins_spi { }; spi4_pins: spi4 { - pins_spi { + pins-spi { pinmux = , , , @@ -773,7 +773,7 @@ pins_spi { }; spi5_pins: spi5 { - pins_spi { + pins-spi { pinmux = , , , @@ -783,63 +783,63 @@ pins_spi { }; uart0_pins_default: uart0-pins-default { - pins_rx { + pins-rx { pinmux = ; input-enable; bias-pull-up; }; - pins_tx { + pins-tx { pinmux = ; }; }; uart1_pins_default: uart1-pins-default { - pins_rx { + pins-rx { pinmux = ; input-enable; bias-pull-up; }; - pins_tx { + pins-tx { pinmux = ; }; - pins_rts { + pins-rts { pinmux = ; output-enable; }; - pins_cts { + pins-cts { pinmux = ; input-enable; }; }; uart1_pins_sleep: uart1-pins-sleep { - pins_rx { + pins-rx { pinmux = ; input-enable; bias-pull-up; }; - pins_tx { + pins-tx { pinmux = ; }; - pins_rts { + pins-rts { pinmux = ; output-enable; }; - pins_cts { + pins-cts { pinmux = ; input-enable; }; }; wifi_pins_pwrseq: wifi-pins-pwrseq { - pins_wifi_enable { + pins-wifi-enable { pinmux = ; output-low; }; }; wifi_pins_wakeup: wifi-pins-wakeup { - pins_wifi_wakeup { + pins-wifi-wakeup { pinmux = ; input-enable; }; From patchwork Tue Oct 24 21:22: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: 13435271 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 9E1E7C25B47 for ; Tue, 24 Oct 2023 21:26:59 +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=nPMghuwp+tPA5DuqxMPybyD0q/nbyVUGg3y+BUmnhAU=; b=GAmLBNDZ20bcIX 9n9h959lLoNJaDvWIhYbG8GlhmFgp8f7ch6+jqDXA/gvFFjOHIcWpIzNsy823ZHbzym7FIfB+WZCX 7lQDkJczOZAHM3MisxcfUlKJktT2kYweY9TWAtWEcBMgeCvA0dNl/mu/ewzX0ChDirldk9TCjPcfW BueDp6zuVjSKi1wPRCPqScLuoDqQzWmQC0bO5PBfnacu3yuEDOVq0MxOqj1m6sA0Lm/+zGXpI8CS9 Gt+zMd6Gs/RBRw6uTbSVKCoDZqFm9Q/ZnH38XMXUrEVRNdILBoHmrnU7a0ujc3Lyr8MvLtdR4JpMa H3u74tNCgMp5gpU+ceDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvS-00Asgy-27; Tue, 24 Oct 2023 21:26:58 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv2-00AsQK-1N for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:33 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c77449a6daso41880865ad.0 for ; Tue, 24 Oct 2023 14:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182785; x=1698787585; 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=nPMghuwp+tPA5DuqxMPybyD0q/nbyVUGg3y+BUmnhAU=; b=e6RMTAfa+ob0VAAwmckSjWvsWyvPWf7lhEu+hbwZcQAkFt0+yCit6Nr5eBaWLNwA7M ra3QLiS4wA+R62fgu+wk1grumOIqz0eXOOfREcFO1Soa0Xqkwd1hn6UApYtqJLpmsEOy Oy6lSCNdoiLJh7xKyOmAngklrYwHajoT74uwU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182785; x=1698787585; 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=nPMghuwp+tPA5DuqxMPybyD0q/nbyVUGg3y+BUmnhAU=; b=CU840tYeXOHTxQit80pw5o6ianfkz+7tnGOCi7Q/3+M/kJTiYEXvqzZDm2iI8/IAkL KHIfYSRJXld9bacXuZOBQRQ1sg0YfGAXFLW9ZisP9KLHg6OKDpNivf8wHqPimWhikf2C 6HqMF3DbiiDa5XMI2FtAmTn2luVl+HTxlMBx0Shrp0JjyPgTccIZm8kUlgyC+IP91fWT BG8SC9k6dLTvuF66yOEoTfFdliy/gz7Ew5FoE9Dhr85AkksIo9qrH+q0VUqlZuEHAPdR zHC0z5vpL0zH1DH8pSNTXn2lKduK2+7/aiqnUWs/zcgS1E9THkLZf3L7zezPx42W9eUu reGA== X-Gm-Message-State: AOJu0YyyvqXdIFEHWlppYgtFFaXt1/iPFqcPVjdpD7jarZHRSXnRanVI fn2uXnweyZRFg/f1GIZdsZ45aA== X-Google-Smtp-Source: AGHT+IFmCsigqtOmK3pF3vfTppVXjAMhmh8TLrWxud/qg3KLT70MRIgtqngZr0IQmbvT4J7nmCwjDA== X-Received: by 2002:a17:903:200b:b0:1ca:8e79:53a2 with SMTP id s11-20020a170903200b00b001ca8e7953a2mr12674948pla.46.1698182785720; Tue, 24 Oct 2023 14:26:25 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:25 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 2/7] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-katsu Date: Tue, 24 Oct 2023 14:22:24 -0700 Message-ID: <20231024212618.1079676-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142632_483732_0C86686D X-CRM114-Status: UNSURE ( 9.04 ) 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 sku32 and sku38 which uses different audio codec. Signed-off-by: Hsin-Yi Wang --- v1->v2: non sku38 is sku32 --- 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 a5999b3afc35..4fe58cfe6f1b 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -235,6 +235,13 @@ properties: items: - const: google,kappa - const: mediatek,mt8183 + - description: Google Katsu (ASUS Chromebook Detachable CZ1) + items: + - enum: + - google,katsu-sku32 + - google,katsu-sku38 + - const: google,katsu + - const: mediatek,mt8183 - description: Google Kodama (Lenovo 10e Chromebook Tablet) items: - enum: From patchwork Tue Oct 24 21:22: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: 13435279 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 D352AC07545 for ; Tue, 24 Oct 2023 21:27: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: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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; b=AjdxoKd8TY5vLv y40dIQDDQ+QPoivasPLsCxa7rTtnc9XZF8PI0C3uhYCbiL+dC3BmGn+Ixd6H2R0ut3GlUrNWdAFjG eaIEMsaKOsX5haAwEKldcpHOtEYQbGpR1ao5s25PuoO93YrYbF/WNRQkR/RP5VylmY9fPonJv3auN ccPlfYFF3SRyI+V5zeiQVCuEpu3nCSwfFW1Yt1Lt2onMf3bFo1ANQ80YbH/Or1JEqKiKOua/r3sFa imc6xM41MY1FciNN7mF4jfFFZePMh3qVB/8JuFq2Bj0E/LWD8ZaZw5Ln7a6JMZ+ItwwspZ3+u0w2T 0diBL1o6tABCCbjKUT1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvc-00Aslm-2Z; Tue, 24 Oct 2023 21:27:08 +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 1qvOv5-00AsQQ-0T for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:36 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1c9d407bb15so41568385ad.0 for ; Tue, 24 Oct 2023 14:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182787; x=1698787587; 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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; b=Jsb7JMOMPk1iHmkFs8fopYHtFhbJzWRaypLDxZDsB5LAIL8B5MacFTcDw4oqPqEZvQ 6rHWiqYp3fB8rXOBAF9uJ4bMbJ9Eac7iy1sxeQk4ot12whImpZIxlpnzAavMj1aSAVoO SZsykxr8YmcZtp4dTp0JXjeluOOEOqBpN7GMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182787; x=1698787587; 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=h2dmeSI4v9358eF9Xt6D4Fy7YCDY8dJsKHs01cKRDtU=; b=OEJln/r0pZ7Qu2iTm3SJtwbsew1VHrYBFReG6sSnnqtyo8uRbiDnAOBDxkRKDClPrn nihsp/meUvB8EUTvMpKjrI11TedOu6yxLCmkwirI6d+QILSEuMsy0OYtgQ+s77zam0b7 RuwdFkUFvzF4nHc41Z1zuuoIQ/sTdysLS7Z/TqqRTqW4QciKEmeLV7fzL9mgrVQf03Sk J4JSyt/IIwWk08t2Yt+7VPeF5NZG4koDWhlY/1x8ZqT+Nn8lkWG2i7YOtGPu9Y47/R+v Yq5fuz3QhX49WRp1kvccKE2mM11ZDufgYnjSPJfZ/anRSaHxZ6COS+IfHq0crXWd2vDo j3rw== X-Gm-Message-State: AOJu0YzytcPikwdeW5C7aLyEN8dYomnM6Nj10SOyGwTckyN2j+fBHkET 13oEbjF2a7bZTgt1AJy0bQuZDg== X-Google-Smtp-Source: AGHT+IHrhw2npik+3CuCrqC1k6Tl6nZchhwtz1ITQtz4ptgQ+uKtpPDikebU4ebMokZbGpKDIZRUkw== X-Received: by 2002:a17:902:c942:b0:1c9:dcea:33e5 with SMTP id i2-20020a170902c94200b001c9dcea33e5mr14179872pla.67.1698182786986; Tue, 24 Oct 2023 14:26:26 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:26 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 3/7] arm64: dts: mt8183: Add kukui katsu board Date: Tue, 24 Oct 2023 14:22:25 -0700 Message-ID: <20231024212618.1079676-4-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142635_224388_5A35D995 X-CRM114-Status: GOOD ( 14.36 ) 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 katsu is also known as ASUS Chromebook Detachable CZ1. Signed-off-by: Hsin-Yi Wang --- v1->v2: non sku38 is sku32 --- arch/arm64/boot/dts/mediatek/Makefile | 2 + .../dts/mediatek/mt8183-kukui-katsu-sku32.dts | 40 +++++++++++++++++ .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 44 +++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index e6e7592a3645..a13419e67e8e 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -36,6 +36,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu-sku22.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-katsu-sku32.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-katsu-sku38.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku272.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku288.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts new file mode 100644 index 000000000000..9fa205c06c74 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.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-sku32", "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"; +}; 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..472a5a3ea25c --- /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", "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"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; From patchwork Tue Oct 24 21:22: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: 13435280 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 B9445C25B47 for ; Tue, 24 Oct 2023 21:27:19 +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=2Zb5Wh/eo+im2l7B1fmvT/WoiYRemD8ZCN2J8BNebAU=; b=3iinN8W83LHmLx WK0LsqOF34OiusOxFtaqPdXZ8Q4A3Q15jvVEAChI4VLcQJ+6rHKI4+FGmapsTZaVrra+0wQZ7hJ/k XKyftrO+Gb7pyKdrkGZKP9Mx7i9QJHK9aoH9P4DBjgqdW3/PLbZISzJzLKLAeCIFmwbg9RC+HPc3/ lCgCMNOdxAUYlHDFURPxk35OcN7HN0J2JlMXQX5Tgs6XHglC8Ung6r/hJQxy2tYUX3/aTwgR89R8n ILa2if/srLW3HXW9ogxAY2xeflAGEgvcxfYYH3G4AgEym2fn6cnr+cAnNiPxk1b0cT68oc3KxBwBv mllkm5W5RRn8AApIs2xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvm-00AspL-2W; Tue, 24 Oct 2023 21:27:18 +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 1qvOv8-00AsRA-15 for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:39 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c8a1541232so42647955ad.0 for ; Tue, 24 Oct 2023 14:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182788; x=1698787588; 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=2Zb5Wh/eo+im2l7B1fmvT/WoiYRemD8ZCN2J8BNebAU=; b=cJdHWuz2ErJB+wkWZBo9wV6hgJ7wYg+nA+rPZtgKnogvoQA96omEL26hKPFv/mQqOG hivJqlfDDK7W821txjt0PR2SzbmHjQGDf/uAeLRFTl8DMe8byo+DHOM2T3MMe5JwTyrb 7DLBEZy0wUSltzV5ib9y20d99U/hrEREG79PA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182788; x=1698787588; 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=2Zb5Wh/eo+im2l7B1fmvT/WoiYRemD8ZCN2J8BNebAU=; b=C4AYc8f+Xnh/PtGiSU+dMHhQDGiSh1+CJbVYWmkrvPaSyS42y6lDhrYNEqDlDkjU79 Kg4kHIchLABZGJ7A+HvQsesr4rIOONofLcd+oixv7M6prilvVMKfnREoiAhkT7mqky/b x7ckpLlyvbPr7e0pqyRNdgQ2tbxxUCZZQxvB8psDUatVXWXyTCiJ6xTUioOro0L14gHg deNLyQKzKcVraiybs8k5SG9gwvKyYmLYEWmTrVxEB035hABc8lEd+ORLuNBE6Lb1ZCXH x6jExSujFcwdo7Tc61WV80QibFXpMElvUzqcyvm6cGiLROOkCvw8CuAhqrv3LFAtCrOM LglQ== X-Gm-Message-State: AOJu0YxwHQJxE3VaOyk9dOa90INwh9IZEzkhcKDzFZWd6D9TWfu8x7fU unz+kOS1A2BPRRuQVtzWz5K3QQ== X-Google-Smtp-Source: AGHT+IEHZNbRevO+MX5QpplNtldSLlaYzi6eCiT26xP+SBmDo9AFqh2UChobD3gyVfCa1s1ke+FKJA== X-Received: by 2002:a17:902:db09:b0:1c0:9b7c:f82a with SMTP id m9-20020a170902db0900b001c09b7cf82amr16579647plx.53.1698182788321; Tue, 24 Oct 2023 14:26:28 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:27 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 4/7] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-makomo Date: Tue, 24 Oct 2023 14:22:26 -0700 Message-ID: <20231024212618.1079676-5-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142638_385925_7E173507 X-CRM114-Status: UNSURE ( 9.41 ) 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 4fe58cfe6f1b..af1037a95fd5 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -251,6 +251,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 21:22: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: 13435270 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 6F31EC07545 for ; Tue, 24 Oct 2023 21:26:37 +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=BqBvSMG9LTmSH1Vb3PwfGl/Hx8UtacJHo7vM+y24jyY=; b=BXD7J+VFn/ZH1g Y157RW5HCQhjRx2MPh5EBxIXrRMbHY7Mdr5h6Q5qHchex3kYyMLm5iN34ZUvXV60B+Cp8ZQlnc+pn ouykNKQuX/i/DmTuPLb7Ur25xHd+vZsOfU06DsUi4NqSRncF1W8Zu8+nkDl7u68G9Z65OFn2+NPay LvdRqUdTFCsiLyoSCEbg1JmDlgb8RMWB36GfS6aj5YM9jI49AirLXdXPuAkli1YwJcHynOkoOHTU9 QQHZ1NwMc3YTsRtU46q8ZEnhp+zEJmWYeXf+I3fCQAFiTbUEFBbLuC/FX+JwMdLvrhb38X2JDiiMK wk/hRGSRnkBDepAGzxXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv6-00AsXw-13; Tue, 24 Oct 2023 21:26:36 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv0-00AsS2-0M for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:31 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1ca215cc713so31621135ad.3 for ; Tue, 24 Oct 2023 14:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182789; x=1698787589; 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=BqBvSMG9LTmSH1Vb3PwfGl/Hx8UtacJHo7vM+y24jyY=; b=N72gNVTPFD3pt4DMvoTzSYzLK99dwKPTY9MU6l4zkY4dymUva8COp6vdg2KgRzkW0h M1mxO/RsAV7t6aDElL8Y5Yf28IWFkh+4lsBUgElFLVkuSvqsdD+buBuP6gU/n1Qf1Kud zNwESVq/jTRrxuiwDsCtvuYI0gG2CLwcDiq/o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182789; x=1698787589; 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=BqBvSMG9LTmSH1Vb3PwfGl/Hx8UtacJHo7vM+y24jyY=; b=kLTq1qz8dK0MPaPqqwYNGn9CbHKp1Q7RjAsjOvcnn9tpSBoZt03ZukW2Yz7kiU/6Y+ Nici7UO4ZbXbW2saDiTCljIq+7JKUuCkkre5XSxr0XQh9fmXCXSQwGutzSBC8bsDJvUE E+90tW5dYj3jW3QQM9sHnMSV86ezjTiOHjGol9ALbd8IpUQ1KrLz3Oy0dy8P8OMqpowc xqr4z4Vqt82XRNB+95XQFXUwdGdp58wDvcOnhBDdiySzr+jl2viwdYXzSHt3nhhnMaqB 8CyNIM2NO3btlKIU6FUw1PEikQ6G+MaBTS75xRoUB1/u5eQVVcuqD4MNPLdQVAFEEo2J yvrw== X-Gm-Message-State: AOJu0YzYKFiAz2akkio33z6BXHzMvFYHEyw5K3FdMMdLkdUPojn7kdq7 /bKRrl6RfVaO9eIZwV74ShVtyg== X-Google-Smtp-Source: AGHT+IH1AW8JAq39x7E1ngbf71f9Pwodg3WjGm0Awfz9epIcu+y26PSLY2m+wi3/GSrVAhY8uKMlSQ== X-Received: by 2002:a17:902:d2c9:b0:1c4:3294:74ca with SMTP id n9-20020a170902d2c900b001c4329474camr11326207plc.17.1698182789628; Tue, 24 Oct 2023 14:26:29 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:29 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 5/7] arm64: dts: mt8183: Add jacuzzi makomo board Date: Tue, 24 Oct 2023 14:22:27 -0700 Message-ID: <20231024212618.1079676-6-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142630_149837_B49CA0C6 X-CRM114-Status: GOOD ( 14.34 ) 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 --- v1->v2: fix node names. --- arch/arm64/boot/dts/mediatek/Makefile | 2 ++ .../mt8183-kukui-jacuzzi-makomo-sku0.dts | 25 +++++++++++++++++++ .../mt8183-kukui-jacuzzi-makomo-sku1.dts | 25 +++++++++++++++++++ 3 files changed, 52 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/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index a13419e67e8e..1b85a8c12850 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -32,6 +32,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-fennel14-sku2.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-juniper-sku16.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-kappa.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-kenzo.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku0.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu.dtb 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..39276f57fd01 --- /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..21d2dcd15c03 --- /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 21:22: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: 13435272 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 02DA0C07545 for ; Tue, 24 Oct 2023 21:26:59 +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=WT+66IxyTrpqd+XpQ36/yDuTAp9fjV5BitgE+rccN5g=; b=gUJtWuYG/UwNdj 0B/pahgXy089ITbM10t0jEF3DK4w28+JXOPXy0QBqT0J+BQYawSpGrBQKa00vF0roBIp6mD9jCxXj dAo0kneQpak2X9SL6gLCDF6NNPUqj1k4mA6UHdykB75+NiYskQgYZm1sBuXxpodronZUWeHeGtI5c ALTG2bCF0hfLvSsC5C8/eG+Sb4jNpPlgx65igSPpFSidvUz1qtwsgleMxmjAMt1AaV9rAXlTPGv3+ OTn508NbWYjeqrTuku+AdjEZ0T2ESmCnuInR5J3PZRvNOWmEGKGL3ffT/Lmo9hZSdaDUysl1XPM4O Igz1BsRw+/gATC9VsCOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvT-00AshJ-0D; Tue, 24 Oct 2023 21:26:59 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv2-00AsSs-1P for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:34 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c0ecb9a075so34636905ad.2 for ; Tue, 24 Oct 2023 14:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182791; x=1698787591; 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=WT+66IxyTrpqd+XpQ36/yDuTAp9fjV5BitgE+rccN5g=; b=mLLtHebKPdn5T7gp/sYqU5JUx3R8mSOBvIBVEAr0pSi8Kp64c4XFYCzkX20G5GbeQi ksrbOFXmkZdkPkTwMrAQpNH0aB0ckDRpJxcicLSkDuo9lPf8zScXT7Q38H8Tr9rox57x VLH5esIHB4lqlarzdE0+0CkvuA24/9Dr8dQ3A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182791; x=1698787591; 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=WT+66IxyTrpqd+XpQ36/yDuTAp9fjV5BitgE+rccN5g=; b=oKHtdIFEGZPZMhmQTb6o84pw+WVjjSD6OjfR0EHahINHxMDlIaUXltI9cp3OpDOfDd ou2BGlc37gS7S8JQs9VeVV47rVu0GurOICu5Sy4O04dcVyMHmuGvfCvQNFDV/oM7xa9N 5UQBHqmC5XTds2gJqi4ZUAhfd3D3OlfT5xocY5poDJ3v/J4cBYG9ozp+q/HHgjL6ijkU rdfT/1IN9aylHl7ubCuLYL6Bv8s+JjsjCsBMjGbT7TcI+ALPmkZdeWDA9I4csANeJsDr JN03MIzpYrtNVYHqd+bnAouoC8p0BAXLlOECdh27xeaAf0vuB3rbjV4D1nIGCdB8Ls3y BO1g== X-Gm-Message-State: AOJu0Yz8PV8jNK0stDzw3KU5AzmrVp5kGUv4ZQExZ7uWPHSqpVkolrKs pyn05nd4tD/g0WwmVVHXGLHKvw== X-Google-Smtp-Source: AGHT+IGVLiHOuR2GYs8wtD+k2Vea4FG0aVST3WDGqFFF4fAgZggjmK9W2KiixVxe//eZy70KsoUejA== X-Received: by 2002:a17:902:e851:b0:1c9:e3b1:1f4 with SMTP id t17-20020a170902e85100b001c9e3b101f4mr13859071plg.62.1698182790947; Tue, 24 Oct 2023 14:26:30 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:5a2d:c345:7f3f:d26c]) by smtp.gmail.com with ESMTPSA id p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:30 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 6/7] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-pico Date: Tue, 24 Oct 2023 14:22:28 -0700 Message-ID: <20231024212618.1079676-7-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142632_510904_2D948092 X-CRM114-Status: UNSURE ( 8.96 ) 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 af1037a95fd5..f7e2b742c798 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -263,6 +263,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 21:22: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: 13435281 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 18168C07545 for ; Tue, 24 Oct 2023 21:27:26 +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=FSSAIRAjh0FblIlijhwcqDI147sW8GxwqzKtVngITgA=; b=AwQy/0BsWkYMd7 gUnhCnM1lUt25WylYyn9tfCaUuIrsxHOD3DBXaiA1jJ0AWszX/Ifzzb3uKh3+ZelNGvdK/S1oL9ek aJ9l3NpGz23TBnCYFTY1O/yWWVpblKBOTteomo6YJLqayCIGlsoLWWlgqzyCLDqfBbHCGSfZ7fKeF cLHXxgenpcH+4Kk2ZitnX2xTx5rCiREgey7X6V1TxJS0suCFhRs9V/Ki+GMatgqKtmG2SK1og8obF MfEODMNp62RM2dGwezBvLzLKheeGVIIuiVlNr61aIXYMa1HH/5O7aARunoPL1wnbRCcDjTIkWhUBR 2ofUosS9w18ZeSmYoXzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvt-00AssF-0I; Tue, 24 Oct 2023 21:27:25 +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 1qvOv8-00AsUP-15 for linux-mediatek@lists.infradead.org; Tue, 24 Oct 2023 21:26:40 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1ca215cc713so31621395ad.3 for ; Tue, 24 Oct 2023 14:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698182792; x=1698787592; 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=FSSAIRAjh0FblIlijhwcqDI147sW8GxwqzKtVngITgA=; b=iD/4Yk5T2a3Z6LX54vrIphI9CEBH42QonF8fnnvyWv9vdx6WFxIIzJnsInVdoycHgK c9KbNrdq5bLEQSuFlSS7rW9DsE4aBUygtO0F/pOkdBFGn5Yx9i8pJ1yRFWwAEuMYYPs9 0szx/4tPkA19wFO0zzIQxLmDSYCdqLFhCTmGs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698182792; x=1698787592; 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=FSSAIRAjh0FblIlijhwcqDI147sW8GxwqzKtVngITgA=; b=YMq1fpS7gK2KiEFSv5kVaXrDr04eGp4Uveymt+7SF0z856AcABnE3RvlhWw20iUMkn VG9r93y5fF4rj6T6LHkJh5y+GlC+zoZSr8JuOTjPYuXod+N5hmCdMmpkZHX2kvjIj8gm 1BJloOjG3bH4oahnLuZrkP2yqrxveiKDL1S3/2DcGX/IWwF6KG9DalL4mNS4s2Cy9c/r bjrbEpqo0ihTcauVuoC5HQKe62sKaUopnWkY8pETQcZfVr1iSj5/Rsdf66RU4puA/4Tl 2Yt87hfHD1E7nb2AjYK1+cZsYsRc8UX4g0Hmt8pX2oLWw54KBznAgI33FvMuugKLvptD tsjg== X-Gm-Message-State: AOJu0Ywtjm5CEfXgcEEmaEazWzuzGJSL6Urhd99FG7seHwGDH/M2DUol RANdPrTeXy24SV/WF5aisqxdog== X-Google-Smtp-Source: AGHT+IFqabPTNFviy4qnRl3tLV6sbyK3rMqrpRoup0N8XUxr0kQup+08tmcTgwqHuBVHedjDLGo2vw== X-Received: by 2002:a17:903:2450:b0:1ca:2ec4:7f3f with SMTP id l16-20020a170903245000b001ca2ec47f3fmr12177580pls.45.1698182792244; Tue, 24 Oct 2023 14:26: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 p9-20020a170902e74900b001b850c9d7b3sm7824140plf.249.2023.10.24.14.26.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 14:26:31 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v2 7/7] arm64: dts: mt8183: Add jacuzzi pico/pico6 board Date: Tue, 24 Oct 2023 14:22:29 -0700 Message-ID: <20231024212618.1079676-8-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024212618.1079676-1-hsinyi@chromium.org> References: <20231024212618.1079676-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_142638_389371_0BA37C14 X-CRM114-Status: GOOD ( 15.30 ) 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 --- v1->v2: fix node names. --- arch/arm64/boot/dts/mediatek/Makefile | 2 + .../mediatek/mt8183-kukui-jacuzzi-pico.dts | 36 ++++++ .../mediatek/mt8183-kukui-jacuzzi-pico6.dts | 110 ++++++++++++++++++ 3 files changed, 148 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/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 1b85a8c12850..ed174dde97e1 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -34,6 +34,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-kappa.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-kenzo.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-makomo-sku1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-pico.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-pico6.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-jacuzzi-willow-sku1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kakadu.dtb 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..535464c0df04 --- /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 GPIO_ACTIVE_LOW>; +}; + +&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;