From patchwork Tue Oct 1 12:54:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11168705 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6CC4B14DB for ; Tue, 1 Oct 2019 12:55:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40A0C21924 for ; Tue, 1 Oct 2019 12:55:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="P01yNIei" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726464AbfJAMyr (ORCPT ); Tue, 1 Oct 2019 08:54:47 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36774 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732807AbfJAMyr (ORCPT ); Tue, 1 Oct 2019 08:54:47 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20191001125445euoutp02333180990f550af94becb87bd1991cf3~JhxjcgzzI2356223562euoutp02m for ; Tue, 1 Oct 2019 12:54:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191001125445euoutp02333180990f550af94becb87bd1991cf3~JhxjcgzzI2356223562euoutp02m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569934486; bh=Dff1QQUQTxaLdn9SHTAHGnAGkjyFlPwvKZ2REzcJ6xQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P01yNIeivkJFv9vWi2MN1wIxmA9Hf5z/Zix9N9igywyBeLzVVCAybRz9u+v3bygu5 ZFPXwg3wbbBspc5GTsMFgOz/2gZjAdnZ4uoesjxXjbY2JI2LIHc0of7iJAA/8n3Ap7 HH2FiHCmbXyNnFrZ4qwM5bEdi8ZFQsv+d/zHEsNU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20191001125445eucas1p2fac5195573391f634fd79286b51b81f2~Jhxi9Tpnx0692006920eucas1p2Y; Tue, 1 Oct 2019 12:54:45 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id A0.FB.04309.59C439D5; Tue, 1 Oct 2019 13:54:45 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191001125444eucas1p2e4254acf8434e1fadf0e208dbe62b2d7~JhxifxGrv0693606936eucas1p2R; Tue, 1 Oct 2019 12:54:44 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20191001125444eusmtrp1cc6132812dd0108339642ad2d6067443~Jhxie2J5x1469914699eusmtrp1o; Tue, 1 Oct 2019 12:54:44 +0000 (GMT) X-AuditID: cbfec7f4-ae1ff700000010d5-6a-5d934c95df99 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D1.D5.04117.49C439D5; Tue, 1 Oct 2019 13:54:44 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20191001125444eusmtip1452069ff3bb73b3f1d41a685afecc540~JhxhxjLxQ2421824218eusmtip1E; Tue, 1 Oct 2019 12:54:44 +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 v2 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description Date: Tue, 1 Oct 2019 14:54:33 +0200 Message-Id: <20191001125436.24086-2-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191001125436.24086-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSbUhTYRTHe+7d3b0OV7er6KGkaBSVkGb04YlejaB9sJIg6AWpqbclObXd rMygGWWlW5qjMumVNGttueYaalq5TWdGrjKa9oa0MsslyEwKluS8Vt9+53/+538ODw9DcnZq BpOVs5/X5qiyFVKZxNH+q2vRuRRj2mJrP+B7lXUU9o18ofBVdxeFy/yDJPZ6rTR+dixA4ze6 OGzzv6Zwd9MlKQ4a3AhXeh8S2OJ+T+Ma3wsCvy26JcUnWtw0dgVOUni04yNaM11pvmJGysaq 97TSZjotVdZXH1W2DjUTyjN2E1IGbbNS6e2yFZl8dtYBXpu4apdsjzPwksyrjTzkszyidcgm K0ERDLBLoWi0RVKCZAzH3kJQ+62REIsRBMdLfUgsggj09n7p35GL/X5JmDm2FsGn+qn/Jrqs zVQJYhgpmwANpn1hTzR7A8Goa3vYQ7IOAvpMo1S4EcVmwuDwp4lQCTsPPD8tZJjl7Gpor/xN istmwx3r4wmOYNfAzZf3qXAQsJ00BF1jlGhaBz02Ly1yFHzz2Cc5Dp4a9RKRBdAZriORj4C/ 7PKkZzm4PC8mjibZhVDXlCjKyVD1+QMdloGdCj3fp4dlchwrHBdIUZbDqWJOdC8Au/45IXIM 1JrPT4YrYcDglorPY0TgMJeS5Wh21f9l1xAyoVg+X9CoeWFJDn8wQVBphPwcdUJGrsaGxv/S 0zHPSANqCqU7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yXph+ZoME573zyrs/+dfu3XpG zq+iSuVJ1J/pZ1fsnOj1xOf70pcT2+Z0SfrK6eWofDvsvvP2aab4qGvbKuRstsvyHd3Bk2yq k3dLdabqi77/Zc2fmCcosRRnJBpqMRcVJwIAN+QHDqoCAAA= X-CMS-MailID: 20191001125444eucas1p2e4254acf8434e1fadf0e208dbe62b2d7 X-Msg-Generator: CA X-RootMTR: 20191001125444eucas1p2e4254acf8434e1fadf0e208dbe62b2d7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191001125444eucas1p2e4254acf8434e1fadf0e208dbe62b2d7 References: <20191001125436.24086-1-l.luba@partner.samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add description for optional interrupt lines. It provides a new operation mode, which uses internal performance counters interrupt when overflow. This is more reliable than using default polling mode implemented in devfreq. Signed-off-by: Lukasz Luba --- .../bindings/memory-controllers/exynos5422-dmc.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt b/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt index 02aeb3b5a820..afc38aea6b1c 100644 --- a/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt @@ -31,6 +31,13 @@ Required properties for DMC device for Exynos5422: The register offsets are in the driver code and specyfic for this SoC type. +Optional properties for DMC device for Exynos5422: +- interrupt-parent : The parent interrupt controller. +- interrupts : Contains the IRQ line numbers for the DMC internal performance + event counters. Align with specification of the interrupt line(s) in the + interrupt-parent controller. +- interrupt-names : List of IRQ names. + Example: ppmu_dmc0_0: ppmu@10d00000 { @@ -70,4 +77,7 @@ Example: device-handle = <&samsung_K3QF2F20DB>; vdd-supply = <&buck1_reg>; samsung,syscon-clk = <&clock>; + interrupt-parent = <&combiner>; + interrupts = <16 0>, <16 1>; + interrupt-names = "drex_0", "drex_1"; };