Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8301579ybn; Tue, 1 Oct 2019 06:19:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEZREtw6eQIUmtiYKKmkmsUiScNLTRjvhK9iOAIAmj7zGTTDIKTeaoA//OZeF5G9mujNga X-Received: by 2002:a17:906:1853:: with SMTP id w19mr24260385eje.232.1569935953150; Tue, 01 Oct 2019 06:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569935953; cv=none; d=google.com; s=arc-20160816; b=uM4jC6Hzg+6V7TYMER2+lGHMyOIkrL9PD3Tw7Xrn+OnaoDrIlxfty8uuBGruV/OqPA obCPwOPni4pOQFETADuKh63lx8F+TZaZxMKu3Jvcex2DKGl+g/RACTR0L/w1PqjujIG1 UOzYjHybFPYIzHr6sEbUn6R1FCv+cf1kpPCgXlw5WoNniREUViHYN9KwaICgTbJ5vm45 UraZqJhdLVl1NC3doi/7WuIFsfs3latH32sQT0r0xWxtFOPvdCYdLl2qOQlte28K2Yr6 0pk8TrNO9+flFbX1rxnAyhOddXWWG1SF2+Tb+yFbg6yPruYHAMV+DSp3E1KhZUZlk3ka BUFg== 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=hpSRk5pH5ZfX94ui4Po6gctzu/8HdpWpMgPRUTWIgiY=; b=KgDqYP8v5yNQqPtpfNxAnWnmfNJmqmg8JZq7CkD6vw6yXFnRKSdMuznxl6lVLvvit1 CXmTQIsB1g2ntFj3Iq1a6zU+wWikm4K5d3UjQpzfWus+77VLYZWBa9Qn22gyyfwYmyEL WwzE9x6nBuf1+A5oky8vubZMqQqVL5YGV/8faOtAu6l0IokhSJgyJ+Yeii65let/EuEf 5rv4SNCxiAvrFOWEmcE7TQyrubYb3rgNczsKDjkqLrJSbh31YwaaHZS4Nx7L9akdPNmZ 9qM5EKsSafQ7d/7GUdrRav0sCfLU6yRneDAxmPKHw/b007e8rpjFlOm9IYVw6FhJMOFZ NcuA== 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 f17si9518459eda.232.2019.10.01.06.18.48; Tue, 01 Oct 2019 06:19:13 -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 S2388212AbfJANSO (ORCPT + 99 others); Tue, 1 Oct 2019 09:18:14 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:50600 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726917AbfJANSO (ORCPT ); Tue, 1 Oct 2019 09:18:14 -0400 Received: by mail-wm1-f65.google.com with SMTP id 5so3381470wmg.0; Tue, 01 Oct 2019 06:18:12 -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=hpSRk5pH5ZfX94ui4Po6gctzu/8HdpWpMgPRUTWIgiY=; b=MrhHfgTtB4RjVbFnJ6YgniZNBkuh9hi0OKISlgGry6z+29FbKkQbABS745yrCQE2TF 8/HXLyZ7NNSg2Ah4CK06PM73IRwhEc79dLdIU6C0x5aWfTakf6aD1E9Dfqmai5Zcqoy2 J4vwgDsCUIgIpjoexu7fwkuNZcgvJZTOJfm4DzqQoYIin06NhFHeae9Qa+ncGop5R9kC INY9OfJGCVVBluywOLZv0GmYPBPiiHDtZX8/egqWgE6OYRVo2mnHWg8AEpQyU3V52eUA xtTg9lGa6J9e+Ic/qOGulWUjs5IQA/vjStB2efPVTKeJzaUk8/DuPYpknHlGOSvSJl8g OvKg== X-Gm-Message-State: APjAAAX9CMUhtt07RmNccHWZQqjHiVeaY5TThHFOWP41Eiuvq4/0QpT1 S7hX3iAqrQCQIQcyIxpGI4BcGbji X-Received: by 2002:a1c:7519:: with SMTP id o25mr3603916wmc.16.1569935891213; Tue, 01 Oct 2019 06:18:11 -0700 (PDT) Received: from pi3 ([194.230.155.145]) by smtp.googlemail.com with ESMTPSA id y5sm3780299wma.14.2019.10.01.06.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 06:18:09 -0700 (PDT) Date: Tue, 1 Oct 2019 15:18:07 +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 v2 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description Message-ID: <20191001131807.GB30129@pi3> References: <20191001125436.24086-1-l.luba@partner.samsung.com> <20191001125436.24086-2-l.luba@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191001125436.24086-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 Tue, Oct 01, 2019 at 02:54:33PM +0200, Lukasz Luba wrote: > 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. Since the names are important (not the order) they are part of the bindings and they must be listed here. Best regards, Krzysztof > + > 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"; > }; > -- > 2.17.1 >