From patchwork Mon Jul 17 16:32:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 703812 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9D95C001B0 for ; Mon, 17 Jul 2023 16:32:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229619AbjGQQc3 (ORCPT ); Mon, 17 Jul 2023 12:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232201AbjGQQcW (ORCPT ); Mon, 17 Jul 2023 12:32:22 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EFDE10CC; Mon, 17 Jul 2023 09:32:16 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9936b3d0286so675492166b.0; Mon, 17 Jul 2023 09:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689611535; x=1692203535; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QwmJ3yCNTCffdq4//w6fdOcgjZ1/3t3V+Qy6dQDsUO8=; b=JQyoefJbnZhc9GPOFmzwe2Z+bDw9EHQ7Z5VwTp/otpSVy/PddtFLcl8+7d2zeJ0Lx/ F7tXrtgElYDTGnIC2Hr49UXf1ubMs0DPoik8V9LqNyBPcycwoGPY5DXcHF6gwvZRVOeF tNTyVIzhmYx1IJS8aZ7N1VcK6oEmoZNgpF3DbrgMFXFtQ0cpMHcrGso7RpWzx7HIRmP0 v90PBfnimdyNKaaV1AJnQGy46rEJt8K9Id/25I+VV1fHy6aSthJaONMfzpD5tqu3H/gN iNsKtJXrOUfbo+Y2cAPk2VkXWIgCOTDcCxuCkl9RaXzF8VECpCL2sqFdf13L3fjFcw6v WBWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689611535; x=1692203535; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QwmJ3yCNTCffdq4//w6fdOcgjZ1/3t3V+Qy6dQDsUO8=; b=aihhMNBwhrzVZoiWyFSK3rT2UxJaIG0QHhuVtnsmRF5/roESeKtA+YdGRxIsCKbEFJ 7DHeRYZfMrGbvw55i/tNWVxpHc4pqsVY7imsTKuqylTTPsBrG3TBMtvWhoVIuspheL7B zQKpK/c6r1eJtXbm8On2VglXy62QXOrNOa/fY3EIvmS9qX8+iKARceVZtYz75EHCrNeR 7JwurKx3/zmh9M5fEE7gLzkpS3qnCCpwH5GF0UN3mPAnzjD5/foo1vhbfmFhyAy8ZF1j 4xPhaHUymtRYjDXHcNAh3cROzYy+mQm9rO0Wl7UYSn/NxDb74/WU1hAQmtt8LkgOA86T No3Q== X-Gm-Message-State: ABy/qLY3vYAwSnHlKGVBaDfC0TBnN9szQX0n8lx8qIksFayfw8343cHI qizi+cOQR0LAdlef0Fz1yb4= X-Google-Smtp-Source: APBJJlFO7FNcPt3ZvGbp/akaO6GeHf+QICxrDDUS1ywejfsEUPYjxrf5k1/ZMmd4h/mBw3xHcZbENQ== X-Received: by 2002:a17:906:b213:b0:992:a80e:e5bd with SMTP id p19-20020a170906b21300b00992a80ee5bdmr10234037ejz.48.1689611534628; Mon, 17 Jul 2023 09:32:14 -0700 (PDT) Received: from localhost (p200300e41f4b7100f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f4b:7100:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id h19-20020a170906719300b00993cc1242d4sm9366116ejk.151.2023.07.17.09.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 09:32:14 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/4] arm64: tegra: Remove dmas and dma-names for debug UART Date: Mon, 17 Jul 2023 18:32:10 +0200 Message-ID: <20230717163213.1033592-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The debug UART doesn't support DMA and the DT bindings prohibit the use of the dmas and dma-names properties for it, so remove them. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 2 ++ arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 2 ++ arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi | 2 ++ arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi | 2 ++ arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 2 ++ arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 2 ++ arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts | 2 ++ 7 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts index d4c034ac1244..bbc2e9bef08d 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts @@ -531,6 +531,8 @@ soc_warm_reset_l { }; serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi index 92163b680980..0ae5a44f7d07 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi @@ -28,6 +28,8 @@ gpu@57000000 { /* debug port */ serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi index 0a70daeffd85..f0d53f0b4117 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi @@ -21,6 +21,8 @@ memory@80000000 { /* debug port */ serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi index 1f263fd32a7a..bbd6ff0564da 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi @@ -1321,6 +1321,8 @@ shutdown { }; serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts index b4cc7d40911c..ac8c91f548e2 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts @@ -126,6 +126,8 @@ dvfs_pwm_pbb1 { /* debug port */ serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts index 9c9c269158db..515a0e637cb7 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts @@ -1312,6 +1312,8 @@ shutdown { }; serial@70006000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts b/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts index 5804acfc428a..9f3e9f30c3f7 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts @@ -19,6 +19,8 @@ chosen { bus@0 { serial@3100000 { + /delete-property/ dmas; + /delete-property/ dma-names; status = "okay"; }; From patchwork Mon Jul 17 16:32:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 703811 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 499C5C04E69 for ; Mon, 17 Jul 2023 16:32:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231329AbjGQQcb (ORCPT ); Mon, 17 Jul 2023 12:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232221AbjGQQcY (ORCPT ); Mon, 17 Jul 2023 12:32:24 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B4D10D5; Mon, 17 Jul 2023 09:32:18 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9928abc11deso663910266b.1; Mon, 17 Jul 2023 09:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689611536; x=1692203536; 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=/lahZGjzrtiFrb+CUs0WnOb8ILG7aeFxB4JGtkR884w=; b=rhWOAyNlOK82+wjItYc/2UPL9BI95ZvE2Sky790P5Cq9nGGbB1Xl4oNV/BHZpKxfqo bm4hfcNq23oOJsagPoYAWhDnS0qqP36fDcW08xiV7p3EBfFWgIjWVY0sNWOlHsisuOCP Md1n6Kv7/kmIJzYFj8IAKEO7bm32Q5toxCWuxG40g2fhuOzfd8G9a7gNFTzDSwC7EU4n Hykgqb/JE6xa/RFyhdTX3YwMh3wdTtKzQQg2TY1TyAvsTxZyo/eK2+7DDcCdP2k0vpiw uuvzsRheIJmBBH42hYUx1A3LoP4Ncm+tRTRB1Hx+6VjV6OcCeIeMxcDkLIMJIO+rXp6F dzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689611536; x=1692203536; 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=/lahZGjzrtiFrb+CUs0WnOb8ILG7aeFxB4JGtkR884w=; b=e5WYlE1JfH/uV6rQErxFXE9GgqXnDQHzctHziUc6sNM6Jf5zqTA+k7u1vDA8UoFetG hw0lejyEkBcCM5iHwt4kgrh3o4A/aVKlsng/RNKinM/aRcpFWUv37R+OYWH9i9AXosvD OX6M2rX/Zb132/dqa+3Spk+jlkPl+Tz+XjJpnX6TIEf0LjxsgILCpMUfqcTuWS8MWbiB SpzT28Gr8wsOcZMkwTtbEQHi+3HLnSIz/sjcfi2C+D1A2tc8faNkrbo2sp7aIA2GysOh wqKZX+FT5XgYJR5n2hr/P+NUaCuaojNAeazvrNve50DCoPsxqHRniCbtHrs8fSvnEDB/ wG6A== X-Gm-Message-State: ABy/qLbhCFFkTJSru+PEJ5sqpPjiJGtV2XAvnuO8SsAfQWnAWCozs92R tsQ5M+8QEya9j7GLl6Dp0XM= X-Google-Smtp-Source: APBJJlGgLiBDp4S+YzU4NL8etLceFEz/EukMJWMQkyzQdqEVKSX0hbZD6BUsf3jxceVOlkNDXeWkCw== X-Received: by 2002:a17:906:2213:b0:993:f996:52d4 with SMTP id s19-20020a170906221300b00993f99652d4mr11954493ejs.22.1689611536537; Mon, 17 Jul 2023 09:32:16 -0700 (PDT) Received: from localhost (p200300e41f4b7100f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f4b:7100:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id pw20-20020a17090720b400b009786ae9ed50sm9385855ejb.194.2023.07.17.09.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 09:32:16 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/4] arm64: tegra: Remove current-speed for SBSA UART Date: Mon, 17 Jul 2023 18:32:12 +0200 Message-ID: <20230717163213.1033592-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230717163213.1033592-1-thierry.reding@gmail.com> References: <20230717163213.1033592-1-thierry.reding@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The SBSA UART device tree bindings don't define a current-speed property, so remove it. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 1 - arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts | 1 - arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts index ca9a4e5e6a8e..21e6acd6e61c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -2106,7 +2106,6 @@ serial@3100000 { }; serial@31d0000 { - current-speed = <115200>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts index 072e45ce2631..5659c76ba485 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts @@ -113,7 +113,6 @@ framebuffer { bus@0 { serial@31d0000 { - current-speed = <115200>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi index 6101bc5808bc..0f15f7d4f01f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi @@ -31,7 +31,6 @@ eeprom@57 { }; serial@31d0000 { - current-speed = <115200>; status = "okay"; };