From patchwork Wed Oct 29 10:00:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingjoe Chen X-Patchwork-Id: 39739 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 545CA24046 for ; Wed, 29 Oct 2014 10:08:05 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id ge10sf1482571lab.1 for ; Wed, 29 Oct 2014 03:08:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=E4e+55gqcyKSp0ArUMQnzMqY91bOtyYYKLjRKNOh8f0=; b=hLPaQxhQpEz6H6p+c79F/GyOL/c/hr/o0mTzhtcm/WmILbf2WsCQjvomq9a3ul1Asg g82wlTVTEQDz21XbWVAjLGXVy7TjapnW2LDk+mNaJFdzpqrEqvQ+E7n4P7WoaP/lnTXd cw1NH+JPfJz7AqGIPoj9wWBRvQQ/kR5i6ePnGfkNOivubbtcBViGSkLjcYQn2fOjKATp mkEPhO40ChgOOsXlBXCnlrs76spRTD0Dsb9EUFbrULCSbvUUfcrOg8jGhvdq/gfLSf0j qsd3GbSrzy/C80varo0W0K35LcvsyeNW7I45JjxITqyFbENS4vG1Xd5h8d6WWEt7C6hm howA== X-Gm-Message-State: ALoCoQnDGYK2hjrtxDaIz0olhRFnPrkde9U5bFu7nOcNEFtr9SqPcQLd+NPSI/XdbkyPPjjJBEZu X-Received: by 10.112.142.36 with SMTP id rt4mr1565843lbb.3.1414577283898; Wed, 29 Oct 2014 03:08:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.80 with SMTP id be16ls174247lab.107.gmail; Wed, 29 Oct 2014 03:08:03 -0700 (PDT) X-Received: by 10.152.2.41 with SMTP id 9mr9983813lar.47.1414577283640; Wed, 29 Oct 2014 03:08:03 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id y2si6501468lae.49.2014.10.29.03.08.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gf13so2225294lab.17 for ; Wed, 29 Oct 2014 03:08:03 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr10107581lbc.23.1414577283309; Wed, 29 Oct 2014 03:08:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp629568lbz; Wed, 29 Oct 2014 03:08:02 -0700 (PDT) X-Received: by 10.70.2.65 with SMTP id 1mr8452893pds.13.1414577280255; Wed, 29 Oct 2014 03:08:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si3641376pdo.118.2014.10.29.03.07.59 for ; Wed, 29 Oct 2014 03:08:00 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932543AbaJ2KHv (ORCPT + 26 others); Wed, 29 Oct 2014 06:07:51 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:58853 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932496AbaJ2KHs (ORCPT ); Wed, 29 Oct 2014 06:07:48 -0400 X-Listener-Flag: 11101 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1914143201; Wed, 29 Oct 2014 18:07:43 +0800 Received: from mtksdtcf02.mediatek.inc (10.21.12.142) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Wed, 29 Oct 2014 18:07:32 +0800 From: Yingjoe Chen To: Matthias Brugger , Thomas Gleixner , Jiang Liu , Marc Zyngier , CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Jason Cooper , Benjamin Herrenschmidt , Yingjoe Chen , Grant Likely , Boris BREZILLON , , , , , , , , , , Sascha Hauer , Olof Johansson , Arnd Bergmann Subject: [PATCH v5 6/6] dt-bindings: add bindings for mediatek sysirq Date: Wed, 29 Oct 2014 18:00:24 +0800 Message-ID: <1414576824-16143-7-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1414576824-16143-1-git-send-email-yingjoe.chen@mediatek.com> References: <1414576824-16143-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: yingjoe.chen@mediatek.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add binding documentation for Mediatek SoC SYSIRQ. Signed-off-by: Yingjoe Chen --- .../bindings/arm/mediatek/mediatek,sysirq.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt new file mode 100644 index 0000000..8669536 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt @@ -0,0 +1,26 @@ +Mediatek 65xx/81xx sysirq + +Mediatek SOCs sysirq support controllable irq inverter for each GIC SPI +interrupt. + +Required properties: +- compatible: should be one of: + "mediatek,mt8135-sysirq" + "mediatek,mt8127-sysirq" + "mediatek,mt6589-sysirq" + "mediatek,mt6582-sysirq" + "mediatek,mt6577-sysirq" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Must use the same cells/format as parent controller. +- interrupt-parent: phandle of irq domain parent for sysirq. +- reg: Physical base address of the intpol registers and length of memory + mapped region. + +Example: + sysirq: interrupt-controller@10200100 { + compatible = "mediatek,mt6589-sysirq", "mediatek,mt6577-sysirq"; + interrupt-controller; + #interrupt-cells = <3>; + interrupt-parent = <&gic>; + reg = <0 0x10200100 0 0x1c>; + };