Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3155562ybn; Fri, 27 Sep 2019 01:54:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFY6OFA1ZBRUcnIrbX/lRWD0v12+NkinQJnxLdjq3kjwQeQaXTw6APYu77+PM+Q3TnJgnk X-Received: by 2002:a17:906:1e54:: with SMTP id i20mr6677996ejj.51.1569574491134; Fri, 27 Sep 2019 01:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569574491; cv=none; d=google.com; s=arc-20160816; b=V4HnBh/9gkU3zrFrFdKaYLsjnaSg13GlcUcmz5D9xASWB1TbUuJAbzSbWhhCg6h32H mh//VbdGF85MluLlo7Z6BP49I9MRlgMSe1PmFv0YjI+51E5yFU9WZrdRinxc+T78mxZh vA5P+EnDSx3QrasNhhNVKVO2d3jGmR1l8dw72rvLgQTz4/ZBRBsXvm/iftOmn/mypvdv 3uIPlbE6Zr6taPXmjdZmkJwyQ+Ei+iaxxYco9ffZmmzsayrbr1Pno/NFgp3ON5/+zK76 PdR70RT/OSqw3HDp+eNLOl6TaqlTJGFGTWL4ClUVOMphVUdm4JxLN252E8vWtkyEwucb WTBw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=YW69Gs/nZumApetQocA64F9f6OkcL5o8Z3LcVdigjvc=; b=ZhAM3cBA334f2es/YJUTe4DTlruUjgTT6FhfyaUQOMOBoA6akbiasECWvemcf2hWXY yC+7p+MM9gcIQV3WD9Ml987MVSuJ61Z6STgflzGAHd1uPkbGU6cXnjmTzwgY+hiC5NZ1 Gx7yjlWP/6nSWoCQcrrkAd/IvHMNyzZ7SHtOGT45t3CfkXe8zo+96m/4ks06QPiWrLPi rlWmIn+7W7QmLT/ihnNPO3Qxbvytp4u7ZMYq3COaxvSw6A/9pNt+Gs2GOw6RXyzVeX4B lewfCEsE+r01w3gaE8vgFiKzhFzGLFWH2I+J74QY8p462Dmjv5DLMp22wvlo+dh213rj oOWg== 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 nj7si2393740ejb.262.2019.09.27.01.54.25; Fri, 27 Sep 2019 01:54:51 -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 S1726118AbfI0IyQ (ORCPT + 99 others); Fri, 27 Sep 2019 04:54:16 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39745 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfI0IyP (ORCPT ); Fri, 27 Sep 2019 04:54:15 -0400 Received: by mail-wr1-f66.google.com with SMTP id r3so1774019wrj.6; Fri, 27 Sep 2019 01:54:13 -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:in-reply-to:user-agent; bh=YW69Gs/nZumApetQocA64F9f6OkcL5o8Z3LcVdigjvc=; b=rCJ9PS1DXGNWZMIOYIPNeGsw2OIqoxdHgSWa3nN1Y4lHXBpaPz7aljO3XtKFfklxXs UZTjfzAuW/jOqBoHZy0PlPHbemU3Zmaj2nprs0Wi80JMsxC/9PREHW50naRMJq3lWj99 mdsjwKaFXgFhPD/9OjjzMTQHmqKsvUPWahRmbgHSui3jS0YW0pYqg+E+hLLTuMpetxNZ MIy7liK2yISmzbNtVkaXZzPIqP8b4qPA3p92h11FZmY/iHzR7wlX4H7ZeQypsrGN0MjV DmPudK47p+cD448LfyxzALCLkrGvbl9sZfZaIpQDRnSmqdL45sHVzZnAg/cKB1gEcQdz o3IA== X-Gm-Message-State: APjAAAU+d2F1lTU3wYIpA7FHsjpmo7tjX8JOeDWlSVPWuK0cgvh0Abjc /0GhZ4JuH8TdKDNCulOH3sQ= X-Received: by 2002:adf:f2cd:: with SMTP id d13mr2169788wrp.143.1569574452936; Fri, 27 Sep 2019 01:54:12 -0700 (PDT) Received: from pi3 ([194.230.155.145]) by smtp.googlemail.com with ESMTPSA id l6sm4346315wmg.2.2019.09.27.01.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 01:54:12 -0700 (PDT) Date: Fri, 27 Sep 2019 10:53:59 +0200 From: Krzysztof Kozlowski To: Lukasz Luba Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com, kgene@kernel.org, mark.rutland@arm.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, robh+dt@kernel.org, willy.mh.wolff.ml@gmail.com Subject: Re: [PATCH 1/3] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422 Message-ID: <20190927085359.GA19131@pi3> References: <20190925161813.21117-1-l.luba@partner.samsung.com> <20190925161813.21117-2-l.luba@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190925161813.21117-2-l.luba@partner.samsung.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 25, 2019 at 06:18:11PM +0200, Lukasz Luba wrote: > Add interrupt to Dynamic Memory Controller in Exynos5422 and Odroid > XU3-family boards. It will be used instead of devfreq polling mode > governor. The interrupt is connected to performance counters private > for DMC, which might track utilisation of the memory channels. > > Signed-off-by: Lukasz Luba > --- > arch/arm/boot/dts/exynos5420.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi > index ac49373baae7..72738e620d11 100644 > --- a/arch/arm/boot/dts/exynos5420.dtsi > +++ b/arch/arm/boot/dts/exynos5420.dtsi > @@ -240,6 +240,8 @@ > dmc: memory-controller@10c20000 { > compatible = "samsung,exynos5422-dmc"; > reg = <0x10c20000 0x100>, <0x10c30000 0x100>; > + interrupt-parent = <&combiner>; > + interrupts = <16 0>; You register DMC for DREX0 and DREX1 but take only DREX0 interrupt. Why skipping second? Best regards, Krzysztof > clocks = <&clock CLK_FOUT_SPLL>, > <&clock CLK_MOUT_SCLK_SPLL>, > <&clock CLK_FF_DOUT_SPLL2>, > -- > 2.17.1 >