Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1359840pxx; Tue, 27 Oct 2020 15:04:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ17GElaUAtOWsP8y72TbMwFXtJEBQAoj/XfG2FnenaMMtmlv0oGIG4un8DqxK2ujCXnma X-Received: by 2002:a17:907:382:: with SMTP id ss2mr4672258ejb.544.1603836279431; Tue, 27 Oct 2020 15:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603836279; cv=none; d=google.com; s=arc-20160816; b=A54Rfx2HPL6AwEuf1l+YZ+118gDcIMe//d28GCqPxCzV3Li6h0tgbzUAg5AaGYAV+m W3hvPEw4znqkh6L10ZwHtVcS0om9FDWRBL0lN0HERe9r9eQbrYXe9i3WHiEZaX0HnYQg j1BRUF/ctv0yROWn0Cc/L6vchoik88aCPLFvDLJ7oPV8gC3Fr2Z+atilhrhzvsff56q1 phEy3GpD3Y8xjmPLtq1A28EJfQ3yIC+76hGXSOaml3kWGE7KsnxwuwO1mg8J9soh1M0/ rljBkaLPki32Ygza5z/0+13ViNAE/xfNXQAyiGWChHoHMbIFsbDCN6ou/LgOc5bO2YWx 0Q1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=1FV52pqxPxRYkn/qCPM+VYVwCZnaRQMEi9X650ZB9rM=; b=nbvfuoYB4mdTg/FWUKOKy0hwUvOuwlovOCl5d2ha5Ynpw6tnaMWfw6DX2ImNAhCmOB bFtV/ntOYsJjhakbNdeKguwhELxX57e33eYVVwybD/cAAIioWHjvcl/Ol58d8Ww0XKOo B3Erj0adqu3u4nEjU0CH7qT7ONU3DLvSZ8B+KovkwoQNZuo1H3+kQ6CtYCiHvdEBlddt wtAoCtPpmV2DXAyIrIzlNZ4dA/eE9iRfHVJV7kPMggxRBLEu9to/als0tps8sxpeOjqo ruLzFM7zzpETfBVLPLYdMd7TH2Qlx09ON4pLYVFdMW2Q8fxr1Noz21t6pQ9gTBKB+8GL W4BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si2016995eja.274.2020.10.27.15.04.13; Tue, 27 Oct 2020 15:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505511AbgJ0E4H (ORCPT + 99 others); Tue, 27 Oct 2020 00:56:07 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33270 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2505488AbgJ0Ez6 (ORCPT ); Tue, 27 Oct 2020 00:55:58 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A31F41A0E4D; Tue, 27 Oct 2020 05:55:55 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BE07A1A12E3; Tue, 27 Oct 2020 05:55:49 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A5CC140291; Tue, 27 Oct 2020 05:55:40 +0100 (CET) From: Biwen Li To: linux@rasmusvillemoes.dk, shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, zhiqiang.hou@nxp.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jiafei.pan@nxp.com, xiaobo.xie@nxp.com, linux-arm-kernel@lists.infradead.org, Biwen Li Subject: [v2 11/11] dt-bindings: interrupt-controller: update bindings for supporting more SoCs Date: Tue, 27 Oct 2020 12:46:19 +0800 Message-Id: <20201027044619.41879-11-biwen.li@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027044619.41879-1-biwen.li@oss.nxp.com> References: <20201027044619.41879-1-biwen.li@oss.nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Biwen Li Update bindings for Layerscape external irqs, support more SoCs(LS1043A, LS1046A, LS1088A, LS208xA, LX216xA) Signed-off-by: Biwen Li --- Change in v2: - update reg property - update compatible property .../bindings/interrupt-controller/fsl,ls-extirq.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt index f0ad7801e8cf..0d635c24ef8b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt @@ -1,6 +1,7 @@ * Freescale Layerscape external IRQs -Some Layerscape SOCs (LS1021A, LS1043A, LS1046A) support inverting +Some Layerscape SOCs (LS1021A, LS1043A, LS1046A +LS1088A, LS208xA, LX216xA) support inverting the polarity of certain external interrupt lines. The device node must be a child of the node representing the @@ -8,12 +9,17 @@ Supplemental Configuration Unit (SCFG). Required properties: - compatible: should be "fsl,-extirq", e.g. "fsl,ls1021a-extirq". + "fsl,ls1043a-extirq": for LS1043A, LS1046A. SCFG_INTPCR[31:0] of these SoCs + is stored/read as SCFG_INTPCR[0:31] defaultly(bit reverse). + "fsl,ls1088a-extirq": for LS1088A, LS208xA, LX216xA. + - #interrupt-cells: Must be 2. The first element is the index of the external interrupt line. The second element is the trigger type. - #address-cells: Must be 0. - interrupt-controller: Identifies the node as an interrupt controller - reg: Specifies the Interrupt Polarity Control Register (INTPCR) in - the SCFG. + the SCFG or the External Interrupt Control Register (IRQCR) in + the ISC. - interrupt-map: Specifies the mapping from external interrupts to GIC interrupts. - interrupt-map-mask: Must be <0xffffffff 0>. -- 2.17.1