Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp53553rwe; Wed, 24 Aug 2022 16:50:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR6YdOFwVQ6yN1OHzdTrt9IutBXS7i0MmiQCmXKH7HWWNRxTJDthF58SytF2+CXgQg5sVk3G X-Received: by 2002:a17:902:a70f:b0:170:8d38:c57e with SMTP id w15-20020a170902a70f00b001708d38c57emr1265267plq.8.1661385001505; Wed, 24 Aug 2022 16:50:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661385001; cv=none; d=google.com; s=arc-20160816; b=E/JjzkOr3xkzn8I2ZIQle9s2bCF0zihSKBYTnNMvHGIDRkIcTMxdYgmnlcWmH6/Vp+ c7Rj5T8wHoivsjUI8RsxAyEK3GpoTyvRkDQuV0zHcMltCR7HBPnh5OD9q33AWEX0wRve yzr0MZouhxwodwO0UkvzlyTZX9p+LMJb/57pm1DGPl+rvObQRrpbz0Jl3VT2xvhsnXK4 TBc+kWjn+8lKz0+N05L7zilRNIbzLil+7ftN1nWRrE6694jO6DTVWewu3BEJ8OJTs4A7 s+St+kbfvm4xuKF8eaPUKwziflnHq9V+ZIMJz8v03toeVlK9A3Dm+6+YMKSNLkOuC9w5 ugvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xjll0GVE0U38Lt5QSPzIwv8MWYgF+3AQvGlxqHJoXUw=; b=DilVctGnJ06o8/ZRoH2x9iR21vQ32i1lQW/yAW5ZX5mAe3j9gK1FRKORcXtpVZyQ2v 8ASbw0vhVGuxyaSTxyZbCMXJk+KVY/WyhpFVxhlEN1yKeIoXAwW+z1t9AXuQoNXzoeyZ twDscJSpsEtNtLWL7EDlyo9wqxhEIVq5+w1Oky7hckeQ9o7rObcUCsw0LcglAxIN2tas Wf42j3dZAFd4scVoRDmZcrvOTTR0CnpupAUwb1vM+1HOPXcvUhGAZZQE8INBRiimPSqG dSspROHULWGl5PJPZA/CCZMyKEJTOebL+1njBCvtC0Q5LuPYUpit2OSbgZoopqBZf7P9 vqcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a63050d000000b0042b4df689e8si216095pgf.174.2022.08.24.16.49.49; Wed, 24 Aug 2022 16:50:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbiHXXMd (ORCPT + 99 others); Wed, 24 Aug 2022 19:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiHXXMZ (ORCPT ); Wed, 24 Aug 2022 19:12:25 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D1B8168A; Wed, 24 Aug 2022 16:12:18 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 087D52014E8; Thu, 25 Aug 2022 01:12:17 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BC4C02014DD; Thu, 25 Aug 2022 01:12:16 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 148934060D; Wed, 24 Aug 2022 16:12:13 -0700 (MST) From: Li Yang To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Li Yang , Laurentiu Tudor Subject: [PATCH 5/9] arm64: dts: ls1046a: make dma-coherent global to the SoC Date: Wed, 24 Aug 2022 18:11:56 -0500 Message-Id: <20220824231200.494-6-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220824231200.494-1-leoyang.li@nxp.com> References: <20220824231200.494-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ls1046a is really completely dma coherent in their entirety so add the dma-coherent property at the soc level in the device tree. Signed-off-by: Laurentiu Tudor Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 552b4455aa82..10b6c41570cc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -273,6 +273,7 @@ soc: soc { #size-cells = <2>; ranges; dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; + dma-coherent; ddr: memory-controller@1080000 { compatible = "fsl,qoriq-memory-controller"; -- 2.37.1