Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9988370ybi; Wed, 24 Jul 2019 13:38:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTeTu0mzbWHcPZIWyBuLj54G1lKBwMUADgiiwnsyLYD5898bOWf1q4LCYIIfwtxdV7FbQr X-Received: by 2002:a62:f202:: with SMTP id m2mr13536897pfh.6.1564000697567; Wed, 24 Jul 2019 13:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564000697; cv=none; d=google.com; s=arc-20160816; b=TSTJHTfRxYpGJCPxlLq78XLDKhzB1GOAnOtHJ32avbTDx5nCRs91a5MimFFadjst8s sHPBzuO15vFfBavkHTUhuruV9VKvpTq/FGPYYz5kk3VH0lRuo1juF8VFsh4kpam5Y4Jq AjEuf2QHZR3QVlrSPynstIRB4thx+yVuIjYf/rGgFyOrn/U2qcTbbHeMs/+sVlI3eAZ0 pVmZOqNpWAUcuVNrX9429dXA3r38eMF8GbuOYGxdXe1AD6Xu5N/cS7GnAxIR+3otkZai +BVodaFGhwdMOvtRhN0emJgAB9JyQfI25OyqDbwZ4B9vZRHkQIQ+MRcH5oo/UJJyml+q Dbsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Dz7gcxsqlBOTOGGd4GvBkRr8g08E3LH6FybcUUWN1/U=; b=VbcpcSC0eWuLGtgRZFZx9F81WVT2sgRSqS9Yk+0UtMowoDJXSO8nxjKWBa1p5htdqg LKoQ79VZwzHpewf0IeHvvGPyJAsI6aXQ5++/FKXmYuIuju4n4Q/hG7pxFsMvlskDy4ph nVjmOtRdehb95uZsCRIsrtzzvA/sOVHpWFBKpo+yAWv/ANnyUlxhEaprC0U8105Zkwim VzjZA4K7i9g7qnbeOn2SEJ+JjisQuXHsmwxfVLmupXOJG5j/+pqP36HZknaumzBr0C45 9G+m0LpQ2svlkkPxND1mzJKx0SIis3AphMYqwUTLUkf+TeNhsPs70tWeG+aXhC7U9+FI MxoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si21134495pgu.469.2019.07.24.13.38.02; Wed, 24 Jul 2019 13:38:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729085AbfGXTYf convert rfc822-to-8bit (ORCPT + 99 others); Wed, 24 Jul 2019 15:24:35 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33749 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbfGXTYb (ORCPT ); Wed, 24 Jul 2019 15:24:31 -0400 Received: by mail-wr1-f66.google.com with SMTP id n9so48256611wru.0; Wed, 24 Jul 2019 12:24:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=lfXxMsdfj3/069jvw/iy7OsZv8+UN7ABTGl62C7QKYA=; b=KLLLaPbbO8eBii32cX5LOLTw947XYtHea0krdZtddLVAbCJq3zgEvX7KZSrvFeFiOn REt/zdFIOh9DOTYmmIClMDgVilFbTKEXSL/L+W7X+QJFQZHN3C8Qax/2lZgRAnnpCUBS Ao8WrJ7/5BebbGC+jobo7W5z9cRz7nPWtvcgF3lY4e2q1388+BQf/y3u0HywZHa3JzEZ Ik7k1prk7lnTrMdtp6EafMdwaaw2wAR8iMTcZLDEKctSAk19vGTDcjnkm5/sHLUorBdP GIW2mSo3ZLDspEQK3ORYLHyotRCrUgXLmulfoC69xJ0vs9lpLMmdeL6bYs4nLJofaCeL p2nA== X-Gm-Message-State: APjAAAU/RoLqKcXiSeqKQ3hwto3eCPPZ+KurFnauN7NUGGqGij+Tnc+M 1eoISvJ5U+izgM0EZxRwER8= X-Received: by 2002:adf:80e6:: with SMTP id 93mr51827758wrl.298.1563996269437; Wed, 24 Jul 2019 12:24:29 -0700 (PDT) Received: from kozik-lap ([194.230.155.239]) by smtp.googlemail.com with ESMTPSA id o6sm91244088wra.27.2019.07.24.12.24.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jul 2019 12:24:28 -0700 (PDT) Date: Wed, 24 Jul 2019 21:24:26 +0200 From: Krzysztof Kozlowski To: Artur =?utf-8?B?xZp3aWdvxYQ=?= Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org, cw00.choi@samsung.com, myungjoo.ham@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, georgi.djakov@linaro.org, m.szyprowski@samsung.com Subject: Re: [RFC PATCH 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412 Message-ID: <20190724192426.GJ14346@kozik-lap> References: <20190723122016.30279-1-a.swigon@partner.samsung.com> <20190723122016.30279-9-a.swigon@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20190723122016.30279-9-a.swigon@partner.samsung.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 23, 2019 at 02:20:13PM +0200, Artur Świgoń wrote: > This patch adds two fields tp the Exynos4412 DTS: tp->to > - parent: to declare connections between nodes that are not in a > parent-child relation in devfreq; Is it a standard property? The explanation needs some improvement... why are you adding parent to a devices which are not child-parent? Best regards, Krzysztof > - #interconnect-cells: required by the interconnect framework. > > Please note that #interconnect-cells is always zero and node IDs are not > hardcoded anywhere. > > Signed-off-by: Artur Świgoń > --- > arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 + > arch/arm/boot/dts/exynos4412.dtsi | 9 +++++++++ > 2 files changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > index ea55f377d17c..bdd61ae86103 100644 > --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi > @@ -106,6 +106,7 @@ > &bus_leftbus { > devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; > vdd-supply = <&buck3_reg>; > + parent = <&bus_dmc>; > status = "okay"; > }; > > diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi > index d20db2dfe8e2..a70a671acacd 100644 > --- a/arch/arm/boot/dts/exynos4412.dtsi > +++ b/arch/arm/boot/dts/exynos4412.dtsi > @@ -390,6 +390,7 @@ > clocks = <&clock CLK_DIV_DMC>; > clock-names = "bus"; > operating-points-v2 = <&bus_dmc_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -398,6 +399,7 @@ > clocks = <&clock CLK_DIV_ACP>; > clock-names = "bus"; > operating-points-v2 = <&bus_acp_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -406,6 +408,7 @@ > clocks = <&clock CLK_DIV_C2C>; > clock-names = "bus"; > operating-points-v2 = <&bus_dmc_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -459,6 +462,7 @@ > clocks = <&clock CLK_DIV_GDL>; > clock-names = "bus"; > operating-points-v2 = <&bus_leftbus_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -467,6 +471,7 @@ > clocks = <&clock CLK_DIV_GDR>; > clock-names = "bus"; > operating-points-v2 = <&bus_leftbus_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -475,6 +480,7 @@ > clocks = <&clock CLK_ACLK160>; > clock-names = "bus"; > operating-points-v2 = <&bus_display_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -483,6 +489,7 @@ > clocks = <&clock CLK_ACLK133>; > clock-names = "bus"; > operating-points-v2 = <&bus_fsys_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -491,6 +498,7 @@ > clocks = <&clock CLK_ACLK100>; > clock-names = "bus"; > operating-points-v2 = <&bus_peri_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -499,6 +507,7 @@ > clocks = <&clock CLK_SCLK_MFC>; > clock-names = "bus"; > operating-points-v2 = <&bus_leftbus_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > -- > 2.17.1 >