From patchwork Thu Nov 13 15:37:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingjoe Chen X-Patchwork-Id: 40780 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2B692240ED for ; Thu, 13 Nov 2014 15:38:41 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf3440999wiv.5 for ; Thu, 13 Nov 2014 07:38:40 -0800 (PST) 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=WFI35OXUwbV9zlicin7PcstDFhODgbUV7fQL5bkM4bjOn4Usyp+z2Hp3ShBfX89gT2 ykB5k3lHaT/Dapx7an39DxbMCGlugKIoYzWzzqJXhi6MaDoJrH7WsJcg1oK30jZdx7oC x2l7z2gnxDVbyIDR7IV8d51Yz+XuIV7lndPdHybbMJfa+3VskiT+VbDqeRx4iow9FRFp 8HJPbC65qG1WhqivZGHdJ+8TyOVHc1UaEYSKvfO/sL/hdgwErotXlls60BzoyCgbfsfv 9pWzj6MytxSZft1ODjGSTufCCFI9a66aPu8AR9FCnjmaeUAXr7z8T/8rv3zmC/i3T7yH eyLA== X-Gm-Message-State: ALoCoQkks4MMDW4vkuNP/gMkRMHa2ocUBg+vCY8Bxbqu+CPwsDp5YvN0UVHNepBs0H+gmS7Hogdz X-Received: by 10.152.27.38 with SMTP id q6mr3410306lag.5.1415893120354; Thu, 13 Nov 2014 07:38:40 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.227 with SMTP id v3ls882344lav.91.gmail; Thu, 13 Nov 2014 07:38:40 -0800 (PST) X-Received: by 10.152.25.226 with SMTP id f2mr2677110lag.98.1415893120114; Thu, 13 Nov 2014 07:38:40 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id wv8si38804928lac.86.2014.11.13.07.38.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 07:38:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id n15so11434527lbi.18 for ; Thu, 13 Nov 2014 07:38:39 -0800 (PST) X-Received: by 10.112.12.35 with SMTP id v3mr3121548lbb.80.1415893119911; Thu, 13 Nov 2014 07:38:39 -0800 (PST) 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.184.201 with SMTP id ew9csp607704lbc; Thu, 13 Nov 2014 07:38:39 -0800 (PST) X-Received: by 10.70.10.195 with SMTP id k3mr3374957pdb.41.1415893118076; Thu, 13 Nov 2014 07:38:38 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xj9si14226777pab.73.2014.11.13.07.38.37 for ; Thu, 13 Nov 2014 07:38:38 -0800 (PST) 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 S933330AbaKMPig (ORCPT + 26 others); Thu, 13 Nov 2014 10:38:36 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:39397 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933049AbaKMPiP (ORCPT ); Thu, 13 Nov 2014 10:38:15 -0500 X-Listener-Flag: 11101 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1059444310; Thu, 13 Nov 2014 23:38:10 +0800 Received: from mtksdtcf02.mediatek.inc (10.21.12.142) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Thu, 13 Nov 2014 23:37:38 +0800 From: Yingjoe Chen To: Thomas Gleixner , Jiang Liu , Marc Zyngier CC: Rob Herring , Pawel Moll , Mark Rutland , Matthias Brugger , Russell King , Jason Cooper , Yingjoe Chen , Grant Likely , Boris BREZILLON , , , , Bjorn Helgaas , Yijing Wang , , , , , , , Sascha Hauer Subject: [PATCH v6 6/6] dt-bindings: add bindings for mediatek sysirq Date: Thu, 13 Nov 2014 23:37:09 +0800 Message-ID: <1415893029-2971-7-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1415893029-2971-1-git-send-email-yingjoe.chen@mediatek.com> References: <1415893029-2971-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.217.173 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>; + };