Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp428259ybn; Tue, 1 Oct 2019 23:58:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJxynJtUYh3Gk6MWtFiXIDS6jC6kcVKm2Bdxc/hj4uc6taA7AwZUU65FIlbhKvDMuC5OPO X-Received: by 2002:a50:baab:: with SMTP id x40mr2227889ede.60.1569999522012; Tue, 01 Oct 2019 23:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569999522; cv=none; d=google.com; s=arc-20160816; b=hPu1EiImgkrmTJYKpKjrTycO5VnCWn06/i/STFkEpPDYuFFqZfqvo54N/LjWNcTxb9 uSCdvPjXze2PXbxKJO59291dQbuXbOi2Tijqwry3OZe5joDs5cSSweoMF3166i7W7187 84mZAXWlXAKfTISTSp5rUjjc/dGrm8ozYyUNr7An+77Niakukhy3mGwAHAEeTKNosOYo FAj9mJjqYyMa0YZU+bDHIHQD5aFIDiKyBOv2CW2DQR8r0Y2ioQDXFMZ5QUeigiYPhtBY NhuV3zjq6pjkAj7BeNwTxm8Iv6I7ooRopUYrOdK26GnWxXjeAxyMN7STJ4O0RzUw5Pmp AqEA== 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=Ug7S/ZE6QUpnX3bV0nuiz2vhWYXfhV5caDeoQLh5WRc=; b=rF5jkk/xgVrvsI/Mb4uqXf60WG3urc6GUlZP+GTK8ul+NzR5z/PfUUrCZ72lmnhf0v gw3xW2DCFzDj/HFXYHJsqO5U49wzjUskKauKH7djrfuj2jpjhoJUsGco+8lRKixrxmmW P+q42uftWJFZyU4BvmmJEIcNlhDQZkedHrHZqta4oMlzD7xhZ+25zsEV9+nFPwtQhrHP jdLxfi76v+RU/KPBnkWIyFoUewqyRJuJg1wtMW/HTWw0xJxqiV701AQB9msebJHq1rFr q8BeNFK9bgIfCQw2soqpLH2ateVQrBuSdXshq7sCewfiRa4mjP2edVZs2m0ST4VOFTji 2mNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IeouzOu8; 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 x25si10537714edd.350.2019.10.01.23.58.17; Tue, 01 Oct 2019 23:58:41 -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=IeouzOu8; 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 S1727468AbfJBGFc (ORCPT + 99 others); Wed, 2 Oct 2019 02:05:32 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:51383 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726965AbfJBGFH (ORCPT ); Wed, 2 Oct 2019 02:05:07 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20191002060505euoutp02b71bc1212e1a1b6a1084cc901daa36f4~Jv1JYYllO1401814018euoutp02R for ; Wed, 2 Oct 2019 06:05:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191002060505euoutp02b71bc1212e1a1b6a1084cc901daa36f4~Jv1JYYllO1401814018euoutp02R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569996305; bh=Ug7S/ZE6QUpnX3bV0nuiz2vhWYXfhV5caDeoQLh5WRc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IeouzOu8cMuJqlIyFZk7R9j6VCnZ7m61x0QZg6kBYcUR2vfEaUNaReWoWbYg7bEIe 5/u8SIxDyrI5inhXdJk+D6HYZIVB0OYzVJoT6cRdtZG7fRfJDUJ3t1LIPgZaOixQ9v o5NmfLX1kF4k8KC5gO4Ctvnxs9BsS2Yfo0i00rXg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20191002060505eucas1p12765bb350b5dc9a32fa717e7ad3135b5~Jv1I_39i51280312803eucas1p1P; Wed, 2 Oct 2019 06:05:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 43.62.04374.01E349D5; Wed, 2 Oct 2019 07:05:04 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191002060504eucas1p2f023677bb85a7f6a1efebf891e8d81df~Jv1IgQHtj0451004510eucas1p2w; Wed, 2 Oct 2019 06:05:04 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20191002060504eusmtrp2fb088467c3645c18ce8aa0bb80a5df94~Jv1IfZLdU0112001120eusmtrp2y; Wed, 2 Oct 2019 06:05:04 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-9f-5d943e1051b9 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BD.14.04166.01E349D5; Wed, 2 Oct 2019 07:05:04 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20191002060503eusmtip2ad095572e421552af8ac29e1ce16d181~Jv1Hul76X3226032260eusmtip2e; Wed, 2 Oct 2019 06:05:03 +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 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description Date: Wed, 2 Oct 2019 08:04:52 +0200 Message-Id: <20191002060455.3834-2-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: H4sIAAAAAAAAA0WSa0hTYRjHe3d2tjNzdjZFX8ySJkIaalbQm4oV+GEggoF9MSRXHlRyTnfU tAtNKyuvpaYiXrFQ1so1h5dpUs60sjYlvKCJMgPzNiLNLt7a8Uz69nv+z/95/g8vL4GJdbg7 kZicRimTZUkSngO3rf+PyY8MLYs5OrkehF5WtuBobHUOR3V9JhwVzy5iyGzW8tGnnCU+mlB5 IN3sKI4+G6p5aKWwD6BKcw8HPe+b4qOnY8McNJndzEN3X/XxkXHpHo7W3lnAGZFUU6sB0s6q Kb5Up37Ak7Y+uSV9Y+3mSIv0aiBd0R2M5Ec7hMRRSYkZlDIgNNYhwazdBCmPhZk/5r/gKlCw Nw8ICEiegOtrZsCwmGwGsPWFnOVVANeGwvOAg41XAOxq78Z2B7Y+ZnPZRhOAGvVfwBa2iZrl SVtBEDzSH3aoU5kBF7LRtskYzXgwso0DZ9RrOONxJuNghVbGeLikN9zM6eIyLCRDoX5ilMu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nJ+7iZGYKRsO/Zz8w7GSxuDDzEKcDAq 8fA2BE2OFWJNLCuuzD3EKMHBrCTCa/NnUqwQb0piZVVqUX58UWlOavEhRlOgmyYyS4km5wOj OK8k3tDU0NzC0tDc2NzYzEJJnLdD4GCMkEB6YklqdmpqQWoRTB8TB6dUA2NsaKRo8ib9+66S X/b07TM7/6Hh641H69efeB2aa5v2fkbyrqY3jwwWaqUGBoYcbjvUKsZ29CWPFIe+d9h9Ga70 v62fhLWr7Tw337p8yu7VWY7HjsZpHAdZlvC9Xb6cK3bPlbIVjUqty47e+Kz/v6/wyct/F87a dacodC+75muf3hG1gN057L0SS3FGoqEWc1FxIgDSu1YsqgIAAA== X-CMS-MailID: 20191002060504eucas1p2f023677bb85a7f6a1efebf891e8d81df X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20191002060504eucas1p2f023677bb85a7f6a1efebf891e8d81df X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191002060504eucas1p2f023677bb85a7f6a1efebf891e8d81df 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 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt b/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt index 02aeb3b5a820..e2434cac4858 100644 --- a/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt @@ -31,6 +31,14 @@ 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 in DREX0 and DREX1 channels. Align with specification of the + interrupt line(s) in the interrupt-parent controller. +- interrupt-names : IRQ names "drex_0" and "drex_1", the order should be the + same as in the 'interrupts' list above. + Example: ppmu_dmc0_0: ppmu@10d00000 { @@ -70,4 +78,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"; }; -- 2.17.1