From patchwork Mon Nov 2 13:46:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 314573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 892DFC388F2 for ; Mon, 2 Nov 2020 13:47:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2FFA4223AC for ; Mon, 2 Nov 2020 13:47:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="TGu4sISW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725846AbgKBNrF (ORCPT ); Mon, 2 Nov 2020 08:47:05 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56216 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgKBNrF (ORCPT ); Mon, 2 Nov 2020 08:47:05 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A2DkwdD080502; Mon, 2 Nov 2020 07:46:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604324818; bh=4ipgS24hf5CxBzJXQLQIF0BRRZBtiHHna0qv3Hfs7QE=; h=From:To:CC:Subject:Date; b=TGu4sISWlL+Jm8X17YsEZRyZOsk9aoHBAvOZCQyiQDPwGTeWiQ+CYb3JkOO9+2tAf +IbUzQNqi6H1+31feSk2sgzM1kWSKYxDI7NMsZB1u7jGu4abhPKHLW4/kHKhEzIE+C 8gGnTeZhlmKAcg69ivBzb9wDmXlYvkKBmukPYmPc= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A2DkwRG103189 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Nov 2020 07:46:58 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 2 Nov 2020 07:46:58 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 2 Nov 2020 07:46:58 -0600 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A2DkthZ114063; Mon, 2 Nov 2020 07:46:56 -0600 From: Tomi Valkeinen To: Tero Kristo , Nishanth Menon CC: , , Nikhil Devshatwar , Robin Murphy , Tomi Valkeinen , Subject: [PATCH v2] arm64: dts: ti: k3-am65: mark dss as dma-coherent Date: Mon, 2 Nov 2020 15:46:50 +0200 Message-ID: <20201102134650.55321-1-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org DSS is IO coherent on AM65, so we should mark it as such with 'dma-coherent' property in the DT file. Signed-off-by: Tomi Valkeinen Fixes: fc539b90eda2 ("arm64: dts: ti: am654: Add DSS node") Cc: stable@vger.kernel.org # v5.8+ Acked-by: Nikhil Devshatwar --- v2: Added fixes, stable and Nikhil's ack. arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 533525229a8d..a0b4a421026f 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -867,6 +867,8 @@ dss: dss@04a00000 { status = "disabled"; + dma-coherent; + dss_ports: ports { #address-cells = <1>; #size-cells = <0>;