Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp156697rba; Tue, 26 Mar 2024 11:56:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsZ4hwUxPOY7Sjs9QDern9Ppz10ulF/5J3NVw17RzFAdyXAwkjthjFMUlvdEGqHL12lmlSRZDcemfQOo5Um6F/1fm2eo4W2EZ+xZi2+A== X-Google-Smtp-Source: AGHT+IGufW+gfwIz+St2yuTtTyiERU/j9OGYDFk9RK806KVmlIwpqnLazUCu3h6x9P5sZ3m/J+sa X-Received: by 2002:a19:5f14:0:b0:515:952b:7886 with SMTP id t20-20020a195f14000000b00515952b7886mr384323lfb.61.1711479366327; Tue, 26 Mar 2024 11:56:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711479366; cv=pass; d=google.com; s=arc-20160816; b=Iiczx3kObXhyPm4XSWNUJRGPdXY06EXYk/f1aqjCRfp0c0hjfNDL/LmYIpwdxnWH7h 8RDTVB/24k+DHXAIEzK99qr4ITiqDjihy0JCHJi2WiGgkRbIgUD0CL/qRUEfKMerj7/Q I6KOlnWU1UgNs8ERWL1Ee36BjervT+Z/53EutaMgh9fXeztwcVId8CsSz2PjiNty+AhV TR5PyWstEc278H2Rh9nWMfRYzeWbD7StFQgQqfA3nYkVycrvMMXTLB87Ns2mAdefhwPV nzN5ToCJ2XZKLK+ep6isrW5QRi/C0QEl/DUrlMtH9B8IRGijcSgDhLgv5mOc+zH8P4G9 vapA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6Ub4VurtOilZ4czDv3ZHH4QtqrNNYmdGyZQ4VtFsJqg=; fh=MyUppKttrNuIto4SF/fZZ+PhpsTyrywZS4cOL2Thdt0=; b=MGH2QLe977IdXZBXDptfZpPk05nohXO2zgQ3KKqdLTkyIxugiTeBHs9NDL1NAqJTIg 1vHs6bujmbiwXJmB7V0hOxXSsOsiXVJQV81sIin5fvHdgoli4VjpUbiFYtPI8X2WIoLF jyO54AhXCmdIpDIXsQvaT8e7rz4LuWwp1cghqoYn1o8rjV5lr5tyBOdLdXQaeWmAgiWu eFfeJAbrajX/iE2HC6+TrY3AhvSUmxkoC/zk62UV+8RBB59a6Dw5/gtxYWCz4rm8eNP7 tSYrPXFQrxrntZlxFQNtlYtfHkhfLzFewS/A9Gr/UAoi2WacyMLYMZ1TiRowLbbpwCNX xyHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dWVsMKnw; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-119724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cr13-20020a170906d54d00b00a4921e2b9b1si2492407ejc.411.2024.03.26.11.56.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 11:56:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dWVsMKnw; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-119724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 17A281F68363 for ; Tue, 26 Mar 2024 18:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3411E13C813; Tue, 26 Mar 2024 18:55:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="dWVsMKnw" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB74C13CF91; Tue, 26 Mar 2024 18:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711479305; cv=none; b=hMq/uy/R38pmGIg3Tq3TWOTrDNaAXs6pCjO/2+YgMEnxkX817YPsqTehcycxQA/qXG1BqxmM6xBkEhtNZ2mB1ZuJzN9ZtmmvZ6oKfKo8fxY/qrOKVFJ4Hb0tL6cUtvmSzqSnC+2KALKYxKroUFWFxsXICE7zPkJmWijuCFmCL3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711479305; c=relaxed/simple; bh=pNYI8YQgstn889cVRcIctmS24PZPkhrJ8sD3rgCZP0c=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=f3XF8squ18jTmqWWgKdeqHyaGYyr/gvXtqzTXLXlRzoNGNuVkiRlIiDEqqinrwl3+mARuUbYg3lyUa9b2XiGWEaPQtCt6kOgxwFNytmsRgueGc6V1nWskVHEI3YYvjp02QFnodhXIo98bk0KLOilSIk1t6euS8hPZb74Jf6kzFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=dWVsMKnw; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QIshYY064682; Tue, 26 Mar 2024 13:54:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711479283; bh=6Ub4VurtOilZ4czDv3ZHH4QtqrNNYmdGyZQ4VtFsJqg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dWVsMKnwzhlWewHyAT4CtncyuKr3YURWC05JNNxfslWXw8f6beVLQAjAaS6zM4Omh fQJGYzWqBUOmanCCIFlbqhMmhqXIkyTC86eoDbnareWoeECvV/JOZETL/ZoT97xgkY nyvBQTrVjFSthPQNy9yLTqiyTMMc7wrFH7WVlehM= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QIshIl051104 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 13:54:43 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 13:54:42 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 13:54:42 -0500 Received: from lelvsmtp5.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QIsfIk091446; Tue, 26 Mar 2024 13:54:42 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 2/6] arm64: dts: ti: k3-am64: Remove UART baud rate selection Date: Tue, 26 Mar 2024 13:54:37 -0500 Message-ID: <20240326185441.29656-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240326185441.29656-1-afd@ti.com> References: <20240326185441.29656-1-afd@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 As described in the binding document for the "current-speed" property: "This should only be present in case a driver has no chance to know the baud rate of the slave device." This is not the case for the UART used in K3 devices, the current baud-rate can be calculated from the registers. Having this property has the effect of actually skipping the baud-rate setup in some drivers as it assumes it will already be set to this rate, which may not always be the case. It seems this property's purpose was mistaken as selecting the desired baud-rate, which it does not. It would have been wrong to select that here anyway as DT is not the place for configuration, especially when there are already more standard ways to set serial baud-rates. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 1 - arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 -- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 1 - 3 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index 53fe1d065ddbb..e20e4ffd0f1fa 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -473,7 +473,6 @@ &main_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; - current-speed = <115200>; }; /* main_uart1 is reserved for firmware usage */ diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts index 8237b8c815b84..dc774f9c75417 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts @@ -275,7 +275,6 @@ &main_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; - current-speed = <115200>; }; &main_uart1 { @@ -283,7 +282,6 @@ &main_uart1 { pinctrl-names = "default"; pinctrl-0 = <&main_uart1_pins_default>; uart-has-rtscts; - current-speed = <115200>; }; &sdhci1 { diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 67cd41bf806ea..5b028b3a3192f 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -381,7 +381,6 @@ &main_uart0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart0_pins_default>; - current-speed = <115200>; }; &main_uart1 { -- 2.39.2