Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp298286ybg; Mon, 1 Jun 2020 01:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/oZxqi5Uc+U0WcmWZBlqPqwrZG8+a5FjfzHYkByNDT1K5INVfdvjXpdvL/iDzLxK2vdbB X-Received: by 2002:a17:906:29d9:: with SMTP id y25mr17647186eje.198.1590999846543; Mon, 01 Jun 2020 01:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590999846; cv=none; d=google.com; s=arc-20160816; b=BPfeYjByR1lvad2gAv7WvkYb+m7Vcaw2IzLGilCgIgJ+EzsTDBXKyNsF74n9yWYEeH gpBuiAlRXdSrb/PW01AT0d6CIOoe73MlZTwnslnk1ya6xLg5zZeciVHShzHpcJ319wES rS7zwgzLs43vcaoE0/9TYu6I2u1fGjyMNWIGsnlMeNcdccAUgIo8k/tpyz76l3EcgySx jUiZDzxYcWrRNPi+Z/asl8hJusHonMjrPSIZOCHpQ60NPiGLR7L/NgAhN2Kxn6Fa2reT qEbkTNPIcKEylf52aH/iWTtChkZtgPByQARj7j6WAvstydtHnBKGLQvBujGtLvMvhKxd cabA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=s3Ec/lKFroeeFCLe2u/iYci4hhYxXJEs5l6GyVdbeD4=; b=ySnpO1T7KCsgrLSjHwCck/NBx/3QcLj7mFqqUSbDJ3Gw9IjO3nGRLBrYIiZCazPS8u nHCmkh+p8yDcM24pMh35nz/xfToCxiMqJglpmo/My/DM14ZKzKi6B1xbMLwIGcslJRXY v0SpIFSBuJ3ukXkZsEldjOtjf0xCFDNeCr/6LD+GcK1/QxuGb+xIExZgyERlAVRTfLBU ZKyMC0XC8bwQh1aGTf/aWDtZiw9+iTr33dCbI1MCK7ZHT2kEuGkdMUQmo23j5noIcG8z lUSw6QaotKtEfXAg6/kQrE6CjwAk0BwUYzbt20HrPIHd3dtUsFVLnpQL9AIIOlQPLpsn 4pUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Y94+MSvJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si1675398edq.44.2020.06.01.01.23.43; Mon, 01 Jun 2020 01:24:06 -0700 (PDT) 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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Y94+MSvJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727989AbgFAITt (ORCPT + 99 others); Mon, 1 Jun 2020 04:19:49 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:59059 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgFAITs (ORCPT ); Mon, 1 Jun 2020 04:19:48 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200601081947euoutp0148eae0efe2bc2be9ea219013a8d14ee3~UXbIEX1iX0273702737euoutp01F for ; Mon, 1 Jun 2020 08:19:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200601081947euoutp0148eae0efe2bc2be9ea219013a8d14ee3~UXbIEX1iX0273702737euoutp01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1590999587; bh=s3Ec/lKFroeeFCLe2u/iYci4hhYxXJEs5l6GyVdbeD4=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=Y94+MSvJceWl2X5Ixbl/oIvGj5FJsateM4dOqfXKqF7G9Sj5kt3cPYpes+l/Troi2 72+23bFyg6A0HaZkIqg4HmFqJ9DfHHrTw0mjyJ5EyO4qkdeclW/jzEClIioMFrtKSj 6Eqyd1+Qg4nMBcflmOStczyGOaz5mpPfX/cY0FZw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200601081947eucas1p16dc2db3eb04fa508f3a1be2f7cd67bb2~UXbHuG69y1270012700eucas1p15; Mon, 1 Jun 2020 08:19:47 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 90.C2.60698.32AB4DE5; Mon, 1 Jun 2020 09:19:47 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200601081946eucas1p208442218e510398cacb83e4e08217bef~UXbHa-Fuq3257432574eucas1p2E; Mon, 1 Jun 2020 08:19:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200601081946eusmtrp1593276250b5abf23051607514e822098~UXbHaMPla2264822648eusmtrp1W; Mon, 1 Jun 2020 08:19:46 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-73-5ed4ba235d7f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id ED.B4.07950.22AB4DE5; Mon, 1 Jun 2020 09:19:46 +0100 (BST) Received: from [106.210.123.115] (unknown [106.210.123.115]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200601081945eusmtip25475d48146a4203d6398e2ca580244df~UXbGSU20M2280122801eusmtip2Y; Mon, 1 Jun 2020 08:19:45 +0000 (GMT) Subject: Re: [RFC PATCH v5 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties To: georgi.djakov@linaro.org, cw00.choi@samsung.com, krzk@kernel.org Cc: a.swigon@samsung.com, myungjoo.ham@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Rob Herring , devicetree@vger.kernel.org From: Sylwester Nawrocki Message-ID: Date: Mon, 1 Jun 2020 10:19:45 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20200529163200.18031-2-s.nawrocki@samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRiA+XbOzo6j2XFavpiZTYtU8oL9OJCsFINhGP0KstRmHqbmpmxe Wn9SRDNvmEreSrvMFDUvc4nM1FJLcl5AxTSNVS5FRULUxGaW2zHy3/O+7/PxXvhITDjJdSJj FUmMUiGNFxF8vP391uhpN/1EhG+JhksbqzIR3VrWzKU/ri9w6er+ES49sfGDoEu7tARdZCzE 6dHRFh6tnZvk0uP6RwRdNtrNoV/2f+bRM+l1BJ3Z1c+jy4oXifMHJdr6+4RkdvI1ITHmDnAk bZq7kgJdPZKsaV0uE2H8gGgmPjaFUfqIb/BjJsfbUWLr4dvpi9koDTUIcxBJAnUGhnVeOciG FFJ1CBamnHMQf5fXEcxVt/HYYA3BdpqOY7EsD4ZqSzhsoRbBG/MmxgarCEZqx3CLZU/FQMfX fMzCDlQwZH2vwi0SRn3jwE5jJddSICg/yH9XgCws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DFJW49mQ8Vl5do3jqbeQKj0Cwk7bOQtMxC0jILScsCRpZVjCKppcW56bnFRnrF ibnFpXnpesn5uZsYgbG87djPLTsYu94FH2IU4GBU4uG9cP5ynBBrYllxZe4hRgkOZiURXqez p+OEeFMSK6tSi/Lji0pzUosPMZoCPTeRWUo0OR+YZvJK4g1NDc0tLA3Njc2NzSyUxHk7BA7G CAmkJ5akZqemFqQWwfQxcXBKNTDW9PwIOPPpYPHDh/u2sc6YdfTX6lzNWwYrPm6NnrprHdM9 fhsGTptTrx9HOTg93rmg8F/V/az4NZOTqr727q2oU9gyZ8/uc+YrNfOFlhhoxb5sEMtVvWz6 qunA39TJL6+73XFq/CPwdsqKhTderayV/mghEmgY9Z7l/AJHq7brUV4PRO/eYE/dq8RSnJFo qMVcVJwIAIa1OQb7AgAA X-CMS-MailID: 20200601081946eucas1p208442218e510398cacb83e4e08217bef X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200529163219eucas1p2d127fe3936921f53f6fe7902e7d14a3e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200529163219eucas1p2d127fe3936921f53f6fe7902e7d14a3e References: <20200529163200.18031-1-s.nawrocki@samsung.com> <20200529163200.18031-2-s.nawrocki@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cc: Rob, devicetree ML On 29.05.2020 18:31, Sylwester Nawrocki wrote: > Add documentation for new optional properties in the exynos bus nodes: > samsung,interconnect-parent, #interconnect-cells. > These properties allow to specify the SoC interconnect structure which > then allows the interconnect consumer devices to request specific > bandwidth requirements. > > Signed-off-by: Artur Świgoń > Signed-off-by: Sylwester Nawrocki > --- > Changes for v5: > - exynos,interconnect-parent-node renamed to samsung,interconnect-parent > --- > Documentation/devicetree/bindings/devfreq/exynos-bus.txt | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/devfreq/exynos-bus.txt b/Documentation/devicetree/bindings/devfreq/exynos-bus.txt > index e71f752..e0d2daa 100644 > --- a/Documentation/devicetree/bindings/devfreq/exynos-bus.txt > +++ b/Documentation/devicetree/bindings/devfreq/exynos-bus.txt > @@ -51,6 +51,11 @@ Optional properties only for parent bus device: > - exynos,saturation-ratio: the percentage value which is used to calibrate > the performance count against total cycle count. > > +Optional properties for interconnect functionality (QoS frequency constraints): > +- samsung,interconnect-parent: phandle to the parent interconnect node; for > + passive devices should point to same node as the exynos,parent-bus property. > +- #interconnect-cells: should be 0 > + > Detailed correlation between sub-blocks and power line according to Exynos SoC: > - In case of Exynos3250, there are two power line as following: > VDD_MIF |--- DMC > @@ -185,8 +190,9 @@ Example1: > ---------------------------------------------------------- > > Example2 : > - The bus of DMC (Dynamic Memory Controller) block in exynos3250.dtsi > - is listed below: > + The bus of DMC (Dynamic Memory Controller) block in exynos3250.dtsi is > + listed below. An interconnect path "bus_lcd0 -- bus_leftbus -- bus_dmc" > + is defined for demonstration purposes. > > bus_dmc: bus_dmc { > compatible = "samsung,exynos-bus"; > @@ -376,12 +382,15 @@ Example2 : > &bus_dmc { > devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; > vdd-supply = <&buck1_reg>; /* VDD_MIF */ > + #interconnect-cells = <0>; > status = "okay"; > }; > > &bus_leftbus { > devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; > vdd-supply = <&buck3_reg>; > + samsung,interconnect-parent = <&bus_dmc>; > + #interconnect-cells = <0>; > status = "okay"; > }; > > @@ -392,6 +401,8 @@ Example2 : > > &bus_lcd0 { > devfreq = <&bus_leftbus>; > + samsung,interconnect-parent = <&bus_leftbus>; > + #interconnect-cells = <0>; > status = "okay"; > }; > > -- > 2.7.4