Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp427778ybn; Tue, 1 Oct 2019 23:58:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaDlWHNJQGNKlc9VxLyCthPpBnVmczb8mlga40W7yw2dsKzun/1m7C/ym1Fk6dsdUjqLHN X-Received: by 2002:a17:906:e112:: with SMTP id gj18mr1712779ejb.280.1569999485912; Tue, 01 Oct 2019 23:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569999485; cv=none; d=google.com; s=arc-20160816; b=ybhVT4xPRxvrtjDrKrnT05YRqoi1KYHnedyOUW/s7wnSSZMio2Ag+tMYWJnzeGC43A zDfnAbo03dqgsa+G9tqio9TbQtm1QC/5gO0KLINGJ6Nell5j7EHAs3RI8Hd4mMC6Neuz rYuPHMbpCNokzRGjFoDSFGsujSpeMTutqVrY3POs/h1+beGx4wygoZThZej1PgF1nZ1O 0ijVlDuXREa9vLcunbTaHGFKRkRJrctf3w4S0eqrMVIHbB1h6aQmCE+n5L8avR/gQuzV dxVD8gSyiXf7o5tJS2czsOXPXAo6V3PmMPGMjbbfZZodGgV4PJVCzGFe8iI3lubTy2O2 a8Rw== 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:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=vznnw8/ZImwrHPelkoL0LBLjMQ+XqOxLrcrGR3tiPIs=; b=frJqNhJncmmM6RF/6wJiieWNiIvh19zQyvE39x0jSBSJXRnGE0m4g1vnWReQ+OQz5y AV7mrjK6HF5IAhzwd+e4CZgSr28jpSMH9/617bPEuKs0yfk7QfXSCYnXohITEwxTe5pR beOuY0+kEkdvD6q1A7l2JlCPkTkQ03TsG/HZpoNX7ql/9iLabWoK3UCvYS4ZxM6p4TeM e2MMVz1ix67rRGsKRm3IZS+4/TerEwyqr5tMw5GIDFER0Beobotz4MNVfSKecW0uVQCE y93YKoHwL1d9Fyh0+ZrEQmxaMno7tANCmhlwev/pDmo23NerIPAMoLOut1EhHq2VVCQx OfHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pLHUbwM0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si9854134ejr.246.2019.10.01.23.57.40; Tue, 01 Oct 2019 23:58:05 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pLHUbwM0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbfJBGFX (ORCPT + 99 others); Wed, 2 Oct 2019 02:05:23 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45474 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727294AbfJBGFH (ORCPT ); Wed, 2 Oct 2019 02:05:07 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20191002060506euoutp0107a32da1f253506ad35a7ff2167ec7b5~Jv1KV4aZB1736217362euoutp01E for ; Wed, 2 Oct 2019 06:05:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191002060506euoutp0107a32da1f253506ad35a7ff2167ec7b5~Jv1KV4aZB1736217362euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569996306; bh=vznnw8/ZImwrHPelkoL0LBLjMQ+XqOxLrcrGR3tiPIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLHUbwM0uLNcb8eksqDDnzQN1W2LJ+771grSSjkQuimvUjlGgY5f5x+BAfZc8Qbkx /TQXEyGW+oeTDU5ICipZEo0z++AwQ6LS5W8qhcRpHGDgqrHJwuVp45x8/zB/Nu55cd j2zIMnlsLPYPJgIS/ohjykh5CCBl0NBDReU2f/5E= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20191002060506eucas1p1c302ac36b85ec6e83325c0351ac37669~Jv1J6yd9Q0353603536eucas1p1z; Wed, 2 Oct 2019 06:05:06 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 64.62.04374.11E349D5; Wed, 2 Oct 2019 07:05:06 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191002060505eucas1p2efd80ccde8c728973df8d932580cd58b~Jv1JUx3S40451004510eucas1p2x; Wed, 2 Oct 2019 06:05:05 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20191002060505eusmtrp2d6cec5606a70442d5ce7a351c4767788~Jv1JUEe4Z0112001120eusmtrp20; Wed, 2 Oct 2019 06:05:05 +0000 (GMT) X-AuditID: cbfec7f5-4ddff70000001116-a2-5d943e110fc0 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id FE.14.04166.11E349D5; Wed, 2 Oct 2019 07:05:05 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20191002060504eusmtip22e10129d7ab4a3a21f1dcfc74dff71c9~Jv1If9uHN3226032260eusmtip2f; Wed, 2 Oct 2019 06:05:04 +0000 (GMT) From: Lukasz Luba To: 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 Cc: b.zolnierkie@samsung.com, krzk@kernel.org, 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, Lukasz Luba Subject: [PATCH v3 2/4] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422 Date: Wed, 2 Oct 2019 08:04:53 +0200 Message-Id: <20191002060455.3834-3-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191002060455.3834-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSfUhTYRTGe3d3d6/m4jojD6UJo8CCNLHiDXUVCY0IKrA/UlbOvE3JTdtV 0wqafarlB/Zly7Qw0eZCm8Om+dVcTjFboqQUUWmYlBoxXYitcl6t/57znN95n8PhpQlJPbma Ttaks1qNMkUq8hY2ds06NklkNxSb9fvwk9I6Eg9NfyFxhe0ViYtGvxHY4aincN/5CQq/1QVg 0+gbEg80l4mws8CGcKmjTYAf295TuGqoX4Df5dSI8KVWG4U7J66Q2NU9gnb6yo3lRiRv0r+n 5CZDnkje8PCc/PlUi0BeaDYgudO09gAV6x2ZyKYkZ7LaUFm8d9Ll9glRmovKqq3ooXSoR5SP vGhgtkBNlY3KR960hKlB0Np1l+SLaQSzOWVCvnAi6Cl1oKWRIptRxDeqETjqB4X/Rp4a7UQ+ omkREwIWw0nPwEqmEoGrM9bDEEyjAD4aXKSH8WMOQ3GXzCOFzHoo7KU8UszIwD0YxkcFQW19 B+HRXswO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Oxksbgw8xCnAwKvHwNgRNjhVi TSwrrsw9xCjBwawkwmvzZ1KsEG9KYmVValF+fFFpTmrxIUZToIsmMkuJJucDIzivJN7Q1NDc wtLQ3Njc2MxCSZy3Q+BgjJBAemJJanZqakFqEUwfEwenVANjp966Ta9DDvvtcmRVsWd9ckVC dc1ZUT3Xjz/+yTyUnKG37JJW8+/VXz5EF3AssRY5Ge1oaX70Wfja+b/NTh2PPTwziCXxYvid W+YPbm5/xNr+h81nya5ne0zZrwksnXmdzVQ47qhnc0WFihRn0NNTTgwNj7Q0j/ae1yk/mrZY I6xqXsXa1qnySizFGYmGWsxFxYkA3EL4bKgCAAA= X-CMS-MailID: 20191002060505eucas1p2efd80ccde8c728973df8d932580cd58b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20191002060505eucas1p2efd80ccde8c728973df8d932580cd58b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191002060505eucas1p2efd80ccde8c728973df8d932580cd58b References: <20191002060455.3834-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 92c5e0d8a824..98f6c71f57d8 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -240,6 +240,9 @@ dmc: memory-controller@10c20000 { compatible = "samsung,exynos5422-dmc"; reg = <0x10c20000 0x100>, <0x10c30000 0x100>; + interrupt-parent = <&combiner>; + interrupts = <16 0>, <16 1>; + interrupt-names = "drex_0", "drex_1"; clocks = <&clock CLK_FOUT_SPLL>, <&clock CLK_MOUT_SCLK_SPLL>, <&clock CLK_FF_DOUT_SPLL2>, -- 2.17.1