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: 11873899 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=-9.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,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 CBF14C00A89 for ; Mon, 2 Nov 2020 13:48:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 65FF7222B9 for ; Mon, 2 Nov 2020 13:48:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vDQT981z"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="TGu4sISW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 65FF7222B9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To: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=fQ3lr9RsFJ3PtAvtE9Lb3CrbHOnVbTakbsvJBXivtUA=; b=vDQT981zdWKYUx9ByspK9Kj6RZ iAvxt1BpGpSILMcru6EgCIieMtzO2hwDbARX16Czv6WB3BzAqWz9Glro5VZ6ImSGnaWyfqDHyr6Jr K9c0K+1qBGeGvaKD9x97eMV57Ctidp1pJEyO/KdsZ12L8CGVH8y/bjecjcMLDl7cgcrfzx8tmJ83/ pO4jhluUhNjAr+6I2ZniOgWOxlo2teGD08HUpKCa9DEpMjrU28lqSwK/eAJkE3Lm2pCaFAkIp6GzL 3zEmVrNW0W23xqJmy0kDOXxhqxYAqOlqxqMp+OmE6a2cW18XQML7HX6Aup+20T4ObALHmSTXRVxoV +sA68VxQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZaAr-0003Fu-Ky; Mon, 02 Nov 2020 13:47:05 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZaAp-0003F8-65 for linux-arm-kernel@lists.infradead.org; Mon, 02 Nov 2020 13:47:04 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_084703_311030_850D0150 X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, stable@vger.kernel.org, Tomi Valkeinen , Robin Murphy , Nikhil Devshatwar , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>;