From patchwork Thu Aug 22 09:11:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Portia Stephens X-Patchwork-Id: 1975374 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WqHXN44q1z1ybW for ; Thu, 22 Aug 2024 19:12:20 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sh3rc-0002aC-Bj; Thu, 22 Aug 2024 09:12:16 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sh3ra-0002TQ-4B for kernel-team@lists.ubuntu.com; Thu, 22 Aug 2024 09:12:14 +0000 Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id F03303F2E7 for ; Thu, 22 Aug 2024 09:12:13 +0000 (UTC) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2d441cdb503so681141a91.1 for ; Thu, 22 Aug 2024 02:12:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724317932; x=1724922732; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hPHplbLd5+0bfeoE12qDNtXYuP7kEWH9PLQ4aS9Y04k=; b=KwW2O0JPUx9hxrKh7bwcqckCQWL4rMZy4qOolBYsjScBCN7xMzxke5VmOxR4aQjiyF EZ9Puo6xBx22NfkJxpJ7GjrRChD3KSHZTDORRw1nuw6toVnsdCqdGIavnMzY00AVtZ3L XEyHF77tzzlNFnUr5LduDkJugszhQ4gs7BIWr+GTXkxZfiEJlG0F0ZvtxDzLLjSO4d5s EU2Xqhu90tlt6WHKw5w56JWuYp/DDqZCPtvlWLvbFx39CHKezvmuhblWefedw50g+MKz PE9mRt75aixvqaJSmUxovXjwoVX7ec8EHss959qXCjZh9XGbiNnQXsqH/Ot44ETeweBR XimA== X-Gm-Message-State: AOJu0YwsqBOVuKeFrtaDJr9MjmdYgMlmL7ZckxILcE2Ib/I1ZOsmauRg KgxkmE92qUGE40jYur40JzpGxBIb7UGHCNlHe/DB5hk+kkzBmEpl7TRgmmmBecYniTvpBnqrLzg 7CQ2v1NFa+6x6HXaTpimAZjoPSqhhHZfwGPbHL3yAltgLF34SNmp00Iu4MWtNT0lkn+mKEYkOkU l/JfCBrbIZ6A== X-Received: by 2002:a17:90a:8914:b0:2c9:e0d3:1100 with SMTP id 98e67ed59e1d1-2d616b284edmr1228387a91.19.1724317931639; Thu, 22 Aug 2024 02:12:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9Gy1aHfrKXjEKMOu41CFqEdZRubj494RfjwX05LrGUXqa4MImPEpbttRJu0mUA1T1hbmXjg== X-Received: by 2002:a17:90a:8914:b0:2c9:e0d3:1100 with SMTP id 98e67ed59e1d1-2d616b284edmr1228368a91.19.1724317931232; Thu, 22 Aug 2024 02:12:11 -0700 (PDT) Received: from localhost ([159.196.41.205]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d5ebbb1726sm3504381a91.37.2024.08.22.02.12.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2024 02:12:10 -0700 (PDT) From: Portia Stephens To: kernel-team@lists.ubuntu.com Subject: [SRU] [jammy:linux-xilinx-zynqmp 12/14] arm64: zynqmp: dts: Add rts delay property for rs485 mode on KD240 Date: Thu, 22 Aug 2024 19:11:15 +1000 Message-Id: <20240822091117.1760423-13-portia.stephens@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822091117.1760423-1-portia.stephens@canonical.com> References: <20240822091117.1760423-1-portia.stephens@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Manikanta Guntupalli BugLink: https://bugs.launchpad.net/bugs/2055237 Add "rs485-rts-delay" property to uartps node with delay_rts_before_send and delay_rts_after_send values as 10ms for rs485 mode on KD240. 10ms rts delay values have been chosen based on testing with rs485 temperature sensor (which is part of the kit) as safe minimum value for reliable operation at a baud rate of 9600. Signed-off-by: Manikanta Guntupalli State: pending (cherry picked from git@github.com:Xilinx/linux-xlnx.git xlnx_rebase_v6.6) Signed-off-by: Portia Stephens --- arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts index 5cd7ed12dd079..1d41b4061b2cc 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts @@ -349,6 +349,7 @@ &uart0 { status = "okay"; rts-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>; linux,rs485-enabled-at-boot-time; + rs485-rts-delay = <10 10>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart0_default>; assigned-clock-rates = <100000000>;