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: 13435285 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 6EE13C25B47 for ; Tue, 24 Oct 2023 21:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pK6W3TARnSf3ucvHvJmEkd6VKAgkQVqQmAlH1eaDOdQ=; b=FLoLjtQbtJW/A4 FRHgw6ASu2PQ7b+CC50GE+ToNC2AwAKc2+nox1yC/okAeyp5ruH3DoPnk6sKrLaruUsUu7vGZIPBc CslOhS3EmCzFESKJ54du06xgRpnp9XQnoJDTcunK74aIjlxT1KoCPV8Io6WnD6UgQIr6drpSpCo1Y joU9o1kFL4UpxCG5aJO5hIVnr9OFHYFiAm8INp0lvk8v1hptwCSsyDsZCTvUmh30P6X1Gqhwgd0cN vxyHSmGXE04sE+GCsiNSrWvv2gCdUCkzzqxwHhnN8nVLNoDkg+bk3IlZxiV+3scgdk70l8a9qp7uQ FTifLtIIIw6kMfFt1JlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvS-00Asgf-0P; Tue, 24 Oct 2023 21:26:58 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvOuz-00AsQG-10 for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:31 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c9d3a21f7aso41757335ad.2 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=t+J+IuCqC4tlPeVvY9lejyjGapesp8BiaJxohQby30B/8IlTo5bYVOg+v9d+utpByF 7PrJ2lIAJcSRSmYoMcrKjUZkuSXuS3yltjdyaLPDnX4R26JgJE25ZBlScmyInz/kTiZs Tws8NRhzA9pkoxD8ZE++dsjxX/efhcYOHevc9yI9dnuSIJ5M77QNIXe5dK6Fo5wbOOJE VA/Tkhwr2JmldFervLng3CbKM1kCQin15vBqZE23mQY4Ji0o1OIjlkkHXpB0uwvimUWC hiuyNmWro0zbWVDtiBp1/KEMv+UhH2UsRnU0M+AaDlqq6PRhJWyQF34rv1ABl710MATd W1jQ== X-Gm-Message-State: AOJu0Yy9Jdg2LB1uph+hR5XT2gpzDelsUAQoZeXxFaC0wSJrxuoPBast JPRl3GENLx/960EpLcm/7TVmWg== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_142629_347502_0837D65F X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13435287 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 1C353C25B47 for ; Tue, 24 Oct 2023 21:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8XJ+Y13K3KXkHuHnfAgcuvwtLXK+w3YVKsLK39waVZY=; b=i2u2aQTWV0cmiw l0qpjwudhEUNuLoGntyLXz/Saq5aFQwx60AV+RuFySDhoSlA33+aUHIGpxNj3PbI+Lg3gPqyALOCg BjLhcOJzjHrUmiUHgaeKZdSCskzBwInOlBMNAWRTlKLRc+pr5HdYCyI3rezE5ynUvTO6Rz3T1gkKy LVROa8BCmSC7CoxUCc7nvqX+SeZ3S5x5wsgMpDro+lG0iUKAxNOH9hxPECyE/Hqc5SX49uuufvc6+ XPMLWc6adkYjFmJIeS3a08CcDHtWb48xJ9h1hGygWXldOFfuXh6SPEvg45IYaWaIvvrDxB+k4TY+5 T4VVEt5jQFMip7TEjDRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvZ-00Ask6-2J; Tue, 24 Oct 2023 21:27:05 +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-00AsQJ-1P for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:34 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c9d3a21f7aso41757525ad.2 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=QMWX8ig9j0mTqYr4eNhj2es3fcEUH5YoYI2G6Mf5iuWYfOqjEZgh3yI7RKyNPHsFa9 a0wH1YtsleDbjXTKI48H2eNqo6+ufGFIwE0RUGfty0GAwuA6Ad9Hs7OZQNYlVHFa6taO ANUKbAdKZi05HNHrtzGKNUX1OjY8XpFWLcE6Zp0fMl+XMLnK4JhPixs0JQGfpH0k7XlN xjQ7+601Bfp65oe5kykqXqRUVFawHFke8cRrNppa5JReYujxwKv9jFsju2H7hxL5BomZ Ya0PuceM1mO9tnW7h3jz9hT0XZ9FGzJU2auTAWI5i16z0/5xvcRmy6lHAT1GNFYl4cg8 rorQ== X-Gm-Message-State: AOJu0YyVeMDhDAnRpzsHSeV0pmRC2Q/bi7LJkHZcd+N6s5iHfzl+Rdgy hzOp0pI3RRblr4sv8EL5LEfyJA== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_510348_5ACCDC4B X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add katsu 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: 13435282 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 A48BDC25B6B for ; Tue, 24 Oct 2023 21:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Jo+LunwGS2nz/urT7g2gchj5mT7kfci7rPNGOEnzCgY=; b=Lz0aYN58bdal6I M54tg4S6p4BzUGAmSq6CRgsXImn8OyD6mV3qiMCsMQpz9FZjiOCIV/BkGISzaq3bMqxE63QOKuJVS VX45CcnMS7gsUlP+I32LnHpJlGcAUVzBKvCvf7TQ6EVlQqkDlQy8pej2KZzNsT06bdT4TF9UjhhlT 7DFIjeciAtgJVQDhqSe0kQIedFkOTth/zyHDWEK8LiKF2K+OwUmAd98OZy5pk9cat7HttvWZPYpyB Tu4Yi/pcoXLgedAP0FLEXi2HlJJdm1OP8QEYula2VlCLoEVOJQ0qlZfbfXorobUay8h/G2DrBniuU xv4+185dU6E2Ufk2EdZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv3-00AsV8-0A; Tue, 24 Oct 2023 21:26:33 +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 1qvOuz-00AsQR-04 for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:31 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1c9d407bb15so41568395ad.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=HPQKryD8JPRThe+izgxiIdHAS6+qze3BVbwCT2suIZ0S+KgDjHMW9/2fdxT0vb+dQp nvg/9tu2IhXQ4i4sdcNEKk2O7mhS7AAlYT119H/XclAtEK40CaaJo5eTuybvaqJyYei9 EK4hQ5bv1L52pXzOljViGmBw64jKvb27KULwrELB5XODQDH4O+01pRZUgjE8C3qphbZc u6HEt61koq7PmvKKmQ8Mb9VKqsJXVr6MoJT0f6FYUp7KknzONxv1wWpqL9emNzwFKvrt 4192HoRk9tIpAnKJrtInhnbR37Q+Y0LrToRICmfZ5LJu/lVybHwOx1jMvFq4/0+VJOSW RztA== X-Gm-Message-State: AOJu0YwRsfBXP1OHLfheZcPtX7IYEUncWKCDjbR9ZWleLgkYVXbPDL9F 7R878G85Mys91yBjVseY5S/fzw== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_142629_061789_13E3644D X-CRM114-Status: GOOD ( 15.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13435288 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 395CCC07545 for ; Tue, 24 Oct 2023 21:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vrey4B7nRPIDvA5t9MJJaUVIEH6oWoDjhfG5tD2Ab90=; b=gWsYYqIEnBaasT C4UltiKARIUAcnr0DfZxk0GYWEB89HdpFZzSACPBYV26KHrJVGmrJq5pTixu6R4X7N0tKmKkzDgju KB6UEkjCCcEffR+hwbyf8aPSqum4PvTfoBmoenCo8b8rQxsBvz8lrCjucRRSY3p+CkqEMHisDGsao SLuLfIbFxfoxRq/enVOhlTYlroL8JjKy+x2gKtmKcgxeT0K/F39S1TvvTd4MGyx0k9gBPfm1J+YRA xlNnPApL7oxPPRTu2vC/WJOSvSiL1AIL//n1Y7issBa8CYldXOnrFM+/0Ru0DIwPVesaFVThynae3 GIMemVmCN7l2RbCp2s4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvp-00AsqR-0j; Tue, 24 Oct 2023 21:27:21 +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-00AsR9-18 for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:39 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1c9b7c234a7so42393105ad.3 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=hKzvcatcjEahyIHZAOz6dakBlOj+5M9ciyzclwss7skhoG+kcTAUCdlqrCpcCA0b2i IYf103Vy00O+MkXVvLZ1GwMoZoiDkUxtbUmyuUjopY+zoJmp1t7d6gaX4wpcYnbNoYHk 5ZbxrXegbPPZFGJDT5oWlcjjLUWic/N/otVvXM1f5ttnyrqdY6XxSNafIMbu7+z5uX3S 1IVhML3iYmzump+k1n8WEnC/WqKLmiDG2S12VvHIYapeFG0jLlJDwcQYii1CiReaqEsf ty25rSjJnJneg5zsdbKCWVJ/s+03c5n+5mdg5GgBwKJ5OFMgpOxiSiJzMI0PhIdMDCDp 1yUg== X-Gm-Message-State: AOJu0YyWnvtjBIZdNFaQ8UYmCSldNOPlQoutrPiFymnXqdBvJQz4w+5M lsSNpTAzKKVxnwA5QxFkaFMUYU6mf82nH0w9gV0= 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_392380_A588EB90 X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add makomo sku0 and sku1 which uses different audio codec. Signed-off-by: Hsin-Yi Wang --- Documentation/devicetree/bindings/arm/mediatek.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 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: 13435283 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 56343C25B6C for ; Tue, 24 Oct 2023 21:27: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XZJ0IcOryG+kVS3/6ghQE47wGcaLYvhEaoQOOWiqviE=; b=vMevarL+oOgDBR 38kyToSWZRgqP4EkJGLUXqfjTTpAooAqroUmWQO7crsXqFqiO6zrDtqa3JKV1X61yRVMdPyxx5ajr +OywAoWE0hjh9NsGpvTCAYkRWzxLXFssEA1Yp+AqZAdMkHrgUcDXZ+XSGYtrcUty98zGaMVveXECf tmqpsvxbwH5lvFD/wmrBe6UpCg2+DwWtqtd97Qa+pB3yDO0eJTQlEOpaT+edHM64KpAZr0Dvq1s+J YaHmoD+Py0QhruRtvnWYZj5pilJxZPxORGx0O9zMXzohevvRSnVnjNPWH4g0bAAB2OnIIbxh6c/Bz P3lRdq+mqrI0aC9I8jIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOv4-00AsVr-0V; Tue, 24 Oct 2023 21:26:34 +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-00AsS1-0L for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:31 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1cac80292aeso30969125ad.1 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=g3zbpX6h56KBusmkxynyHluqFH6ONAulkMiPJssPmdlONuknNNn3MAT4dR7Krfz/SD NTHidpDunoej94XeCVJ9WLBi8RIuHh8Tr1NHLjT0qoTKUBJALCSMxJNeioM3vfCGnSb8 aeP3torjbb6facI8Qxh3ykzidF2CThx+5bHmR80D0+uOlXGgOFARxEFNjXqeO7GqacJV bzlfeV65t/PDY6gW/2SE+eBln8hVe18VNyRrtVSv3YqI6jNUtDnNkojDuu8Q7h+LOQaA xrNz4k+RSptuMUZOX/9viTy1u7o8vuWaB3mVe1xdAk6OMGQTGvY2bS/PIkWk8Iai7UWm AtOw== X-Gm-Message-State: AOJu0YyZoXDN/895oQDP4Ro/cmQKFALh8+Qnz7pBdVBWIhB3qiG6/7zg mhrYjvTmseC3lL/aIqbfchotdw== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_154310_64FA30AF X-CRM114-Status: GOOD ( 15.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org makomo is also known as Lenovo 100e Chromebook 2nd Gen MTK 2. Signed-off-by: Hsin-Yi Wang --- 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: 13435289 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 0084CC25B47 for ; Tue, 24 Oct 2023 21:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9YVcTY+Zg8xtB5o1dUiFaRrGNy2/UJvjoxviI/YVp+M=; b=eX6IKfmNuI1sO/ rAZKiTUlikwBADHLN2BnTffw7wo2ydEfcL2oo3S4Z+LQakqGcs87sW0eXtVOn5K9+e/dFJ16ghsPq Kd0dCQqxQDg6AB5j/aZbvVyQAIHnXS9nDSb9dKX0/ktdjfYcp9AYmluO2ef/5Ag3KqgoHgLlIAVW/ lHQllNDXMzqw1tPYwdmPqMclhFMefJ6kJrQxv9PFePkxAC8jhTfxbJMXDut73SNeQEtFT2OY+KRF7 F08cGwPJGw2qJ7GyZDACrTbUeq2uzUrKDb2uVosEm3J+V0qIjTQ+qc3G5xm6qzLbb9RM1yCa+iPkW sjCmCrsiYS4PmK/ZmYxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOvz-00AsvM-2M; Tue, 24 Oct 2023 21:27:31 +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 1qvOv7-00AsSr-1Q for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:38 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1c9bca1d96cso34517735ad.3 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=vazTMqdfB+8tt39aQso8VmucLISnq8IIeQ2VKOGq6E/MJcIWo/iXtokHbneVS0uJa2 MLcMQiHyJC8FaWpvjl2ahA/QBXgYayR/MwoHzGj2UTy3V4CWJq2a1kS0zCNXSZjMTfVS zNPv7Hmx2fxR2bCOeoKCXs/Xpt8J53nhroF5RbO99v9nY9WQHY8pCtm1SiCUB36ZJmx8 qVc0QhCGtovrKFXKhSzKTbPbyiTRFe4lay9pP7r9mOQMrnmLnRyvVrSbRcA0by8vkdCm Bt7CTnT8UelNMHDd5QdqtkKkafdm0hFllnevfizLFQNxKyVLJWgQj4KImnmgim/O1y7r ATvQ== X-Gm-Message-State: AOJu0YyVB85UZ+KSNt8IgUaejkTiXbX7slhjHLcs1kz6M80DM/E3sVtt WF+glJjrtGTR2MSphP02cBxN6w== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_142637_485430_7E41C26C X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add pico (sku1) and pico6 (sku2). Signed-off-by: Hsin-Yi Wang Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/mediatek.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 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: 13435286 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 C334AC25B6B for ; Tue, 24 Oct 2023 21:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0v21YmIaSOglgMz5JhhvWA5e29zlo/IH+bh6+1M4+2M=; b=2U/tfDbbsq3O/u OLPoVDObAP+zaGGifIbQPducnvJC9qH3UJ9cHELonCbSLbPFu5VhhGME47545OE0n/B8p6hqObJG5 qaqAwntl2OAlPFbMfA/CUIXbEJSY9mj+Bd5GBv87/NqlZ3ZUG2uiKUerhraAdQWHFqE8yT4BjqIXM XcMR9rUYF6jsKguo6tu00kpR8HoZSwblKE/GkJaJ6GIoHSg5LyCYkCyGn+S6daY/2GburJ10HfQhr 1SdtVXtvfnkVj6A+geqt4Ke4kAsFmtQGsZ5kt0ofQoF56JHkvsmVnIBKe1BODW05Jp6UUGlqdFy6c 6vlHK2e2YUoVd/LksNJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvOva-00AskY-1E; Tue, 24 Oct 2023 21:27:06 +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 1qvOv2-00AsUQ-2N for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 21:26:35 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1c9fa869a63so31805835ad.0 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=d1ALJigYvDiL1sl4kmFeUyAcYDZxsVtqyqycUEWoJy6QJd/Rrm9eN6pM032/UEjGqz kEE6/fMdjwY6YZ/DYCRRBjyHHRebZiNJRI2HSZ0ZOEq8ct2gPzLwPbVnMmV4G+nUp5t8 6lemPbs3KbGJDypM6snGHZ6sRDdHzvTxjInSWISCChOAVeImk/MIcEtvPSc60LnvTja2 g3ObokKMNyc1tY4n3klx8w7ZKjQzJmrBPFGamOglJEoKpvVMOZ4EYHhnmoq2L5oTDglw fKeDQMhVoDsnIOs2wo35LNdHAP9jVZQg8+ppu1H4LHOgc0/a/wGE85Aeml0ai4CGgJU9 sIPw== X-Gm-Message-State: AOJu0YySSC/oDHhGpzsZKfNePzV+h+iQg08cjIdCQnzrl667SGEda474 ixf73O/RLn13R+P25HmnV2Grmg== 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 Cc: Rob Herring , Conor Dooley , =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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_142632_792089_2946360E X-CRM114-Status: GOOD ( 16.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pico is also known as Acer Chromebook Spin 311. Signed-off-by: Hsin-Yi Wang --- 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;