From patchwork Sat May 4 11:35:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13653852 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 4CC71C4345F for ; Sat, 4 May 2024 11:36: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6eYW1ycrpSN8cPTGsvUVOde7w6NjqkV5FXBhNO2blbI=; b=FYa7yXGNcwoEC3 kWBrSVTNYAsP9VMR0GcNK/3P5yIX+22Idfb3/WirbgF5Hxn587lqU7l30MMIVFFecHeRjewjna+gu beKBYOQGitx8KIJVEFrK4R4GJy72Qdyz559fip4I9kRyvRB3TsLUwlQNy5KZ32Yft2GhLf3UKL+OL 7GUMLl4bIicTERLdzNuvk/UubpX2jSX1xktOKFGlHxScjivoLTUmtcuXWZItF/7xeoHaCTvtwNAYB ZaqXbgSYdTGLon4okeSI3PDzgGQFdALsA7VyClT+IaQhKy3NpBv+kLm/qyzNBR47o/BTziDAyXhum cCCPdls5JlMjb45jfpXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3Dgk-00000001tdL-1snE; Sat, 04 May 2024 11:36:22 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3Dgh-00000001tau-08Dr for linux-arm-kernel@lists.infradead.org; Sat, 04 May 2024 11:36:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ONMLev21iigDGnvSkZo6cNqkOLF1IDdDpeyL7aEhqRim1irbzukW7LN9/AWd3WxbVhjJf9zXI2lk1lVLSYYYXy9oOmwA20lbp2VzjMq1tcoQfP6mkHbGq61x++6PPtvFsEZ26Mrk1cEKtdGVnZLTUeBlfoZeRmk/XQf6jpwA69/VaGeRJMdqEDPAzfwo86nLpf6fKR9qi7xf7WniH6gOY53XfNyjEItbmn3bc14dKkWPgu0lAaRHtcKVUTs0nPhDsflBK8GeYHWk27R43+1rJDj+Ct7CANy7W/wZfQe+SXnIWqHkIduFM2L+A2f8b5xmI/k9LOTOJp8Jst4wzKiCyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1bLPzGnP8QBJV7TMTZXqRRzz2LKIyoTCp7IexpLnmlU=; b=mGVCVUzMi5hNNX+lH+VHx0kv/8Glqmv9ZFhFeT9OOVRDzps4m1iGQ8JNtUb+LMfKa5tKsV+N2werB9PnTNcEp/bsP+YGtSp5ArbBiO2HLs4Q//hhvkoC8k8B4uw5JbcwW3zfz7zbQhMtKWOfT1b3HcRfdHLi5QByRp+OGx1i9UcRtLp/HaZewqyMJS42sPfEDDEooaAf5jb9yR3diW11Lebi/hYQ8S22/vBxw6bPCSmtd2p7Y5pXobyIXkFa8IFoZXXGMympqdRERnaEdNDariY+SuwYmZ8ZkzfxtKOugyioSy8ne01fGLkH9A22mbaRlr1Bey7ZPYYeo+NoDyF2Cw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1bLPzGnP8QBJV7TMTZXqRRzz2LKIyoTCp7IexpLnmlU=; b=qiA5vHoFgpC1uoiQE29CRvUUEmkPLjFqtqXOy2hYiTK1EPFHNxMc2bcIGJBoovHq8j+PsGecKogetPnTfnBQdVXjjCtNQirgHmsyfO6YwtdJpb3XQ/qHEOFQ1CMiv9GzLr3Ue2Seyq7SMDdkAeN/r4BacaeNd/L8uB4ZKFd5Bgo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS5PR04MB9924.eurprd04.prod.outlook.com (2603:10a6:20b:67e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.37; Sat, 4 May 2024 11:35:59 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%7]) with mapi id 15.20.7544.036; Sat, 4 May 2024 11:35:59 +0000 From: Josua Mayer Date: Sat, 04 May 2024 13:35:54 +0200 Subject: [PATCH] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity Message-Id: <20240504-ti-rs485-rts-v1-1-e88ef1c96f34@solid-run.com> X-B4-Tracking: v=1; b=H4sIAJkdNmYC/x3MMQqAMAxA0auUzAZaaaV4FXEoNWqWKomIULy7x fEN/1dQEiaF0VQQuln5KA2uM5D3VDZCXpqht723wXq8GEV9DCiXItmYhkgpR++gJafQys+/m+b 3/QAbMO0FXgAAAA== To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0079.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS5PR04MB9924:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b7bbb37-4371-4cd6-2f27-08dc6c2e5edd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|52116005|366007|376005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?RsPp+EYcYUwkYkgHxcR9WqR4KxJczbh?= =?utf-8?q?TqGVNBzeq9VprlCc5Z3eJLtnFi3BhlEAE2EV+vjIsod/1ng2LUWiLKIcyVnQvisWN?= =?utf-8?q?I6nJoMgNy9iLi7cgNAaOKQAWjqH6gL5XoMthR+vYHp20CzTNqhspjiFagNif6cwKi?= =?utf-8?q?hcI480PbtC1occ49M39XhafkPcLc7SVijzHBcG5bPibJKP3m3JJ88PmtgUy3PaRiD?= =?utf-8?q?v8eCQNG06i/q8dlrExLIjtRmVqeuh67hQgRK6bJPwpKbuKQJvkPqC1IADBN54+I4K?= =?utf-8?q?fX0waSTZA+I7kq5dPajyH5h5FgTJ6iUxKXEUV1+tSrD2xTzy2mQFYfb047FpqzvFW?= =?utf-8?q?o4g9cPuRy0JkdTjOsaz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ezXKauOXhPDeIVvb7zptD3h13xVVlas?= =?utf-8?q?24LZnVvIX7iJFsIrfhg1ef6+TIAZZDtJ2Ww=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+nW9JEJLdo4Ir20Ec9f3/8IWAqXj?= =?utf-8?q?6UmYgJIQ/HK3G2eL8p/xpUAIj4Zjo5NKDJuFMx9eA4dy7Md8r5GpQfJgwme47PSln?= =?utf-8?q?n/FIkruI/Xq7umrJMYCc91K5XxbCuIx2fj20kgaCO7gMZSP+Uq8OqjtUb5UzgTeh0?= =?utf-8?q?psQas/GWDQhKkYCXgyDXiNFkeyvwjAdY82JX+atS3SQc/Ynng+vrUeXBwZDSUpro+?= =?utf-8?q?2DelM4aHxCx+KyEwyFQLtr4mWHqx0dZnGfmLi98W7jLgvVy8K+qEI1N0qORj1ovQI?= =?utf-8?q?RS7fe8l2cf7NSRezCUech4rCaluNx9X2tLztx4eipdjG+pIyjZYCE567ghPoFBkxq?= =?utf-8?q?naIb/phi1RBi6wvOjKLZ2+la38GMH+m3UrEaOSjoDyad18vjixWcTw1Nu4o9T4iQP?= =?utf-8?q?rRHhdovIEC9q2UtsjMPHyeGyYoEz+Tq+I9CBk8u8z/uFJwsejQmSkJovkT/s9IsCp?= =?utf-8?q?SOOE2j7GCY5FlOqfDv8L1vdlc3ws6EeAd+aFH+3fONXhD6C8p2j9S+3+8Mo2XSp/a?= =?utf-8?q?gopNpCSH4Ekwb4vDKllIy7LiV1l6aznsNzK4uCIx+mMZFC7cHw5ClrQjV+Ganh9l0?= =?utf-8?q?lafsiEDeIWLogd9HOTWWkY9meY/v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9ajCmKSqDpiIp4Ziqa4ynQXWdVlSBX++LIpykI?= =?utf-8?q?m4AYaVfhDgU7?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b7bbb37-4371-4cd6-2f27-08dc6c2e5edd X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2024 11:35:59.7746 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FjDlMMGGMY8ouOzXiD0WboeAkl0zaGLKpdD+udYwifbPjkyJJBDvMRAt3KUzXwSPx1qfJbftbRZbzA136mPjqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9924 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240504_043619_080544_F1F9F924 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. 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 The RS485 transceiver RE (Receiver enable) and DE (Driver enable) are shorted and connected to both RTS/CTS of the SoC UART. RE is active-low, DE is active-high. Remove the "rs485-rts-active-low" flag to match RTS polarity with DE, and fix communication in both transmit and receive directions. Fixes: d60483faf914 ("arm64: dts: add description for solidrun am642 som and evaluation board") Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 1 - 1 file changed, 1 deletion(-) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240504-ti-rs485-rts-e08a68eac841 Sincerely, diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts index 234d76e4e944..5b5e9eeec5ac 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts @@ -282,7 +282,6 @@ &main_uart3 { pinctrl-names = "default"; pinctrl-0 = <&main_uart3_default_pins>; uart-has-rtscts; - rs485-rts-active-low; linux,rs485-enabled-at-boot-time; status = "okay"; };