Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp5609rwe; Wed, 24 Aug 2022 15:39:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR5r+bMolCf+BS6mbHaDEAwrf1aBXvLrYH4my3YrCPAnJAveg117K3sXE5wahxYQSzaCt9TL X-Received: by 2002:a17:902:7242:b0:171:398d:9e66 with SMTP id c2-20020a170902724200b00171398d9e66mr907521pll.19.1661380766169; Wed, 24 Aug 2022 15:39:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661380766; cv=none; d=google.com; s=arc-20160816; b=Po8Abl3tPrxFEFxhAxNax/eUzlAsVj4xT1bHuUZDEvs02rq/wm81pMZDo1m7VExNRt TvXOZIcoEqI0GAiARAd1qoT1+nM2dq+NHHmDD+WAtmRNpysOXwcKjRO46X8yjDp14MLl qIhhioNSsfdNmzFhe1GeiOhCeurlBtrBXfckYRZxhLEz6Z7Xw/oGO9NS8iH0ciHlPkCe UVWeZVTJ5m9MCYSiiuD55VKWBbGTINQkVRQu2ju5z71hIvL7PTCbKvrwfn2ibVzXTSTr F60uHdd06QKpWOjBW/EYQYJ0bx7PBQa1j2xyWQBwADkxZAvjPTuetNKFc/cb9dghh0Rw w+QA== 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=xdS6JpJs0Q7M45KU4YY2Kis/vLO/xsw5D8iVXmfrNEM=; b=oN2BgPx85gTJwa3Km56hGl9q/GS3oNW+15oq1mzwsEagCsTM7fIvYL7kSTvpOcgNb8 LDTKpkPwMOVAxe7QgQNTbo9tbUFVt4n4MaCVpvc9Qr8uHMYK0P2IDXA3TDXVKMql8puj UK2TwCO25eRSIhcnOJwfW+4vIgQRfKxnTjl/7U5xtbervCHqvjpbyg/YELCrWAXvcZeX N3kYks4Gos/NlFXhAGX2KDKZQqggFoj4ROPeID3AX/vU6hGdWcDdyCdgyNur3dVa9+CB 9q0ZtXDBBVM7o8qpBga+Jopko5LOk7xtMG46q2Q8PDL+UJwLJk4Mk7TaZYhpclsy2Luk yg3w== 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 g7-20020a656cc7000000b0041cb0d39714si20924161pgw.360.2022.08.24.15.39.15; Wed, 24 Aug 2022 15:39:26 -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 S230440AbiHXWh2 (ORCPT + 99 others); Wed, 24 Aug 2022 18:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbiHXWhQ (ORCPT ); Wed, 24 Aug 2022 18:37:16 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F3677C779; Wed, 24 Aug 2022 15:37:14 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id CE61B1A13E1; Thu, 25 Aug 2022 00:37:12 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8DE121A13D4; Thu, 25 Aug 2022 00:37:12 +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 3E58940A9F; Wed, 24 Aug 2022 15:37:11 -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 07/11] arm64: dts: ls1043a: make dma-coherent global to the SoC Date: Wed, 24 Aug 2022 17:36:58 -0500 Message-Id: <20220824223700.32442-8-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220824223700.32442-1-leoyang.li@nxp.com> References: <20220824223700.32442-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 ls1043a is really completely dma coherent in their entirety so add the dma-coherent property at the soc level in the device tree and drop the instances where it's specifically added to a few select devices. Signed-off-by: Laurentiu Tudor Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index adaf337c438c..b37244acf16a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -301,6 +301,7 @@ soc: soc { #size-cells = <2>; ranges; dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; + dma-coherent; clockgen: clocking@1ee1000 { compatible = "fsl,ls1043a-clockgen"; @@ -890,7 +891,6 @@ pcie1: pcie@3400000 { #address-cells = <3>; #size-cells = <2>; device_type = "pci"; - dma-coherent; num-viewport = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ @@ -918,7 +918,6 @@ pcie2: pcie@3500000 { #address-cells = <3>; #size-cells = <2>; device_type = "pci"; - dma-coherent; num-viewport = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ @@ -946,7 +945,6 @@ pcie3: pcie@3600000 { #address-cells = <3>; #size-cells = <2>; device_type = "pci"; - dma-coherent; num-viewport = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ -- 2.37.1