Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8377pxu; Wed, 6 Jan 2021 19:13:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS+1FcrB1zEGwr6DcXndJZootgUZQZk8ZwHQA4CJ7c3OEwnwJGfgbMXQkw5wKp7eZi/fnG X-Received: by 2002:aa7:d7d2:: with SMTP id e18mr104728eds.256.1609989193099; Wed, 06 Jan 2021 19:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609989193; cv=none; d=google.com; s=arc-20160816; b=EnAXNQKUTfr7eQmYiu8QSjCgCkJkKeK0iBHQTLjSsoUXFaKMmvF3T0bKPFKeIF6Qvl +SyJhBmSMkLCHmujef37r8OBJRrM05+r7qSDRLYa7LC1DfUinJQeghrCr2x1TxKMxxd/ +vvD0VNhRLosLH53UkCti5yAjV5UKpCkwQTrWbqkubmrsCELYZQRIaNEKxsJrKLXcnDl FIH/J/wZ+4MF/l3go/LkvoWraMVr+KL7agv4UwCn3M0q9TJFbwMXvFlVHucrMrkUl1W4 paxK5O/v/zdpHpLsihJsOr3y2I1mhVIUI6W8wbU72Wt7nC8mXBdrQ1iNij1gMBOKam69 Vn6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=RuaePCEF8nNF13nD3ScHGenLPc/er/3mUplJuX/5xwg=; b=iPudG2iKJQPxAV/S2x6UFfJOfoT7M+zbQ/Rlce0oWG93od9tPZ76YyMmn5Xxog+DlK b8b9Anzq+24tVoonohA1rMNCyxcQ4EyZkIa6yAFopj0/8rcSm1k3alCCYLpZE2iQCLCI NcL4bmAxzLf7A5a4/BJrzkpeBjSr4GZZiaS1POTFlpgsGxLuhMiBSgGUzJS6SMam7K+1 AyzK74WGEzKVYAxZPIPg1iJHppeYCf6NfFjD9REdMOaKGqJYzi3sxLE3gw0pUhg3eUMy chManHgPL+LNmPVzMi151jNmnsKM+/b7v2nQYGoYZawGvYkbFjGeFmBbF6vk7V71ELnP eSFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb26si1630919ejb.487.2021.01.06.19.12.48; Wed, 06 Jan 2021 19:13:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbhAGDMM (ORCPT + 99 others); Wed, 6 Jan 2021 22:12:12 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:44907 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726092AbhAGDMM (ORCPT ); Wed, 6 Jan 2021 22:12:12 -0500 X-UUID: 2ff67c3ec6a8448dbe331a53cfeb546e-20210107 X-UUID: 2ff67c3ec6a8448dbe331a53cfeb546e-20210107 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 976730749; Thu, 07 Jan 2021 11:11:27 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 7 Jan 2021 11:11:25 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 7 Jan 2021 11:11:24 +0800 From: Yongqiang Niu To: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger CC: David Airlie , Daniel Vetter , Mark Rutland , , , , , , , Hsin-Yi Wang , Yongqiang Niu Subject: [PATCH v9, 01/11] dt-bindings: mediatek: add rdma-fifo-size description for mt8183 display Date: Thu, 7 Jan 2021 11:11:11 +0800 Message-ID: <1609989081-29353-2-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1609989081-29353-1-git-send-email-yongqiang.niu@mediatek.com> References: <1609989081-29353-1-git-send-email-yongqiang.niu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org rdma fifo size may be different even in same SOC, add this property to the corresponding rdma Signed-off-by: Yongqiang Niu --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt index 33977e1..b07881e 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt @@ -66,6 +66,14 @@ Required properties (DMA function blocks): argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.txt for details. +Optional properties (RDMA function blocks): +- mediatek,rdma-fifo-size: rdma fifo size may be different even in same SOC, add this + property to the corresponding rdma + the value is the Max value which defined in hardware data sheet. + mediatek,rdma-fifo-size of mt8173-rdma0 is 8K + mediatek,rdma-fifo-size of mt8183-rdma0 is 5K + mediatek,rdma-fifo-size of mt8183-rdma1 is 2K + Examples: mmsys: clock-controller@14000000 { @@ -103,6 +111,7 @@ rdma0: rdma@1400e000 { clocks = <&mmsys CLK_MM_DISP_RDMA0>; iommus = <&iommu M4U_PORT_DISP_RDMA0>; mediatek,larb = <&larb0>; + mediatek,rdma-fifosize = <8192>; }; rdma1: rdma@1400f000 { -- 1.8.1.1.dirty