Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp193323imp; Tue, 19 Feb 2019 21:35:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IY5+IBNwlJ6BWZ186uFWH43G188pbV6TyP8udbsX8djkqGl2mhfGhdSBMO7LTB4+27zsq7d X-Received: by 2002:a63:d846:: with SMTP id k6mr27925303pgj.251.1550640919751; Tue, 19 Feb 2019 21:35:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550640919; cv=none; d=google.com; s=arc-20160816; b=mqoj0OFx+/P1wmHKhmwszqVeT4z+JcWv1RB393xL4EabakvUmzi4i10q0VjSt8ixxz NMbWCatNgzGsAXE0BrQGckypbNlpBTN3IY/SojLsJKfqjaWvAmx0AtJ3SvZDbMVKWD1H 1W7PRgFfTde8r34icK41ttFsyfQ4rSYO+3dYzXD0eSU1MERNl2+vAWZZoUWj/IkqaZr5 +9rPQfy5QE/eOeFwXZY8B/Cd44Rsc+ZAu5PHkSsfqSt2eE/sERce+eeTRBsjKBjL9nOn oz/Jif8B4RFEE8JllU1WV4KqQNhUKG6zA3izM3LveQZDaTMJfl4rL9/7ADRxRDIiPOsS 1xNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=SONOZl48q+1ulRJ85hjztHK+JikC9hB9ZfnOvau0xYs=; b=XQkVBAk8nezLLteag0yoNBpnrD6qvG/WEvZ6tPxAQy7R9YuqHczOfniTADAkCHJeFe Kph+9/lW4N7jy3HF/3osXO8hrHj9WBW6miO69UvlAumP87Ubf6v1uvQRab3daKQDbD2F Wt19at5UuSedGL8yl9Ct/Cypk9EaNhU6fXMzIy5OMx+mSkLMQyyptvMDfhvU7c2FCA4m q78gii2LeSVnSXqqTBtUMh/gFmDoR5oquEZcPoDmzjSUxFb83CHGjbPxEuoHiGAfBP+W h/TY5SNecnquZJXQs5a7+Q67b3Phrfnk7O1UNJXvL8MwXevssMpNUZ1uz5fthRtF3znL cODg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jkhIERgv; 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si16909942pfm.16.2019.02.19.21.35.04; Tue, 19 Feb 2019 21:35:19 -0800 (PST) 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=@nxp.com header.s=selector1 header.b=jkhIERgv; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726591AbfBTFdd (ORCPT + 99 others); Wed, 20 Feb 2019 00:33:33 -0500 Received: from mail-eopbgr50087.outbound.protection.outlook.com ([40.107.5.87]:23472 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726082AbfBTFdd (ORCPT ); Wed, 20 Feb 2019 00:33:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SONOZl48q+1ulRJ85hjztHK+JikC9hB9ZfnOvau0xYs=; b=jkhIERgv4/YjXf7BV1Z0iykkkQkuNQqjeyXoueSTZXNwGSGRkgKKEd0BbzJzTyf4SR+YHcFqpe5OOxbcGlC8vLuMHj4yvpycvIwJDPHwJ42PhXDhVfM7eN7jdG6Y7mxxkyPEfyLrrEWzIF95vCk03wVKc/eTcK37YIL2ki5h1mo= Received: from AM6PR04MB4215.eurprd04.prod.outlook.com (52.135.168.141) by AM6PR04MB5351.eurprd04.prod.outlook.com (20.178.86.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.19; Wed, 20 Feb 2019 05:33:26 +0000 Received: from AM6PR04MB4215.eurprd04.prod.outlook.com ([fe80::e944:6749:3ee6:4e08]) by AM6PR04MB4215.eurprd04.prod.outlook.com ([fe80::e944:6749:3ee6:4e08%5]) with mapi id 15.20.1622.020; Wed, 20 Feb 2019 05:33:26 +0000 From: Aisheng Dong To: Anson Huang , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "ulf.hansson@linaro.org" , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rtc@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH V3 1/4] dt-bindings: fsl: scu: add general interrupt support Thread-Topic: [PATCH V3 1/4] dt-bindings: fsl: scu: add general interrupt support Thread-Index: AQHUyACy8HmIYiPaSECjXHiTh1QyKKXoHWZg Date: Wed, 20 Feb 2019 05:33:26 +0000 Message-ID: References: <1550545569-7197-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1550545569-7197-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f09f7e54-9e2b-49fe-10a3-08d696f4f050 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB5351; x-ms-traffictypediagnostic: AM6PR04MB5351: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;AM6PR04MB5351;23:mdT7hGt7Yk9GKR3OdA7Vs5MtqJGyOeos4GFhBMrWF?= =?us-ascii?Q?vEPx1AbsITGO6f1dfmdZ0S3k6ukh8qBgP5ChShJmwQ4VqcdH/DKuDY0Hxcz+?= =?us-ascii?Q?B5kepEnS2KvDJJXA8zzD9m782sZaMc867iGSF+femTsCVjFZzoAEbuLdg6R/?= =?us-ascii?Q?L3byLPsIn1D9mc8xFzM99r0LAgxsa2D5MFw8r9tqs0DaUH5Y4AwmPoCAwuGD?= =?us-ascii?Q?WKZRZM2RnYVS067Kw1gDfN6gxuHesXZIbBbb1HKvVhAZcoOLXVIUByzCqMbh?= =?us-ascii?Q?8BEhZoXHFsdXCPMFAP/hr8Eb2bDD572zbtNO8wsNS0W+3DN0SpZruZaHICfR?= =?us-ascii?Q?2XqYADYYWnsJ9mAJX+IHYEXi0skQSvOz/EwyBk08tWX5O+Q0pQSR3pYbovWk?= =?us-ascii?Q?rO7Bg/ziyU65sf8MPtFidy3gU/dGhZZsIoAKRIvkvEYZmFwZjGUgGng/2dVM?= =?us-ascii?Q?oKwyrszX0GXHegvmWn9NT0NURRexNzfZOHtuSNiEYqkAa6iWHEE34tl3rMtC?= =?us-ascii?Q?4C/cEwXDGPIN+dLxqxnRLWUUvuO77muETgZNfe4BaEaAHwM3RzxK8b3d5Tc9?= =?us-ascii?Q?3vRj3Flcf/Z8T4zDvJK+fLTQl/YPEDTguQawX/m5wDBtXG/GF5fM2E84IotI?= =?us-ascii?Q?xzxrw/weqXqZC5/7N85UuR4j2th70teUnq23XIeE5+KjuvPkShIrpIixeS6d?= =?us-ascii?Q?VIAE1OlSO3Oj0hQOn+zi+vTqRr1as4q1GA/W6gijYmUr1AFy2fdJE9y1UlKb?= =?us-ascii?Q?dwW483wMO2M3SJuyzF/LCkpLGmgO6atdkGL0oikSPBHiVmjEev2CrK5U7nsM?= =?us-ascii?Q?RqpmE/TOUmV+HHrUoOSEgSxu3rFfSJoq8FS6Zon0zq+sdR9R/h1PEgGeFdTC?= =?us-ascii?Q?DLAlhe20KxGTZ5TpZj3GuBW9CuFjlWgvu2lSzff5ImQVWflSFdFQp3toATkb?= =?us-ascii?Q?5dZAXf5DvefPhiv2wGBrJRe0F7E75GTxZvHXbbWfSANv35IOePnBcaTfVYry?= =?us-ascii?Q?STF/gnnSqBHrU1xEY0u+LCQNJ55rX7JzdDTM0dp0Ta8R0xMmL37u6sxm4CW3?= =?us-ascii?Q?izfKpu1fok+qTZTMuAlKCnAe4VrMrDH0iVBpQwhLDRk+v0VIznNYpxlVScfK?= =?us-ascii?Q?fwW2Lc5GK/4JlDeaJVDNh7t/vJeN6m7btm/lkMwJ4zylwnV02CHlAQuKUROx?= =?us-ascii?Q?zWwIe1tHJRCWcJLZZZrEZwI8Oe6W8Yekn93kxS6hjPW7IqJeV7FRgGBEDaV4?= =?us-ascii?Q?2OKFsgN5K0+rRgwD9alJi8/l4t/oIr6qNMb7fCpiJKf3A7XkTLJ0pG9hwUlv?= =?us-ascii?Q?kPv6cbVBuXPGF5lcjFx5+k=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0954EE4910 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(346002)(396003)(366004)(136003)(199004)(189003)(110136005)(99286004)(2201001)(86362001)(102836004)(6506007)(53546011)(7696005)(33656002)(26005)(76176011)(446003)(11346002)(486006)(44832011)(68736007)(229853002)(186003)(6436002)(476003)(316002)(55016002)(9686003)(105586002)(106356001)(256004)(71200400001)(71190400001)(6116002)(3846002)(25786009)(53936002)(66066001)(7736002)(6246003)(14454004)(478600001)(81156014)(4326008)(97736004)(8936002)(81166006)(2501003)(5660300002)(305945005)(8676002)(7416002)(74316002)(2906002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5351;H:AM6PR04MB4215.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: sLtyYUAyd2zL0PhZwQw7fDl9lqMVjr7jtW0hu+OKdDdEPIfgzIFgAOWrIGffwsFyUkgLM2+YLPH7XKRJqtQLiCH+jWFHu9CdJoG6G2SKFZDHXZlRfriSGv/VfykkZNiPsXidMT++niGFk14XBr98Vbphn+fVFRZt4xpybVXejVfjEwgXXAoRJJoQwVmw0MkshBkRL3rH5xsQ1epVtTDpzqTyGtYmhdwRg00KPd+O7Z+ixui2pByi8Fs/AHTuW8TrLZeZnkE/1+HkqZ8Zne7DeiOulTWA75OSqniQvZtSAhDgxr3u/HKDgTPJ/ZsSP8iDaFbW0HAryGMLCO91eqWsMjXdMPi5VX2ca0gmjOLJjif2LRqFliYOvjtAKvAHzwr/0sH3CV38bmpbFn5OG0229f3SX+pVSG+SLeBMrxk/St4= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f09f7e54-9e2b-49fe-10a3-08d696f4f050 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2019 05:33:26.6488 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5351 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Anson Huang > Sent: Tuesday, February 19, 2019 11:11 AM > Subject: [PATCH V3 1/4] dt-bindings: fsl: scu: add general interrupt supp= ort >=20 > Add scu general interrupt function support. >=20 > Signed-off-by: Anson Huang > Reviewed-by: Rob Herring > --- > No change since V2. > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 18 > ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index f388ec6..e5def3e 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -22,9 +22,11 @@ Required properties: > ------------------- > - compatible: should be "fsl,imx-scu". > - mbox-names: should include "tx0", "tx1", "tx2", "tx3", > - "rx0", "rx1", "rx2", "rx3". > -- mboxes: List of phandle of 4 MU channels for tx and 4 MU channels > - for rx. All 8 MU channels must be in the same MU instance. > + "rx0", "rx1", "rx2", "rx3", > + "gi3". Should it be optional as SCU firmware does not require it for normal functi= on? And as MU also support sending interrupt via GIRn register, How about using gip3 to distinguish sending general purpose interrupt? Regards Dong Aisheng > +- mboxes: List of phandle of 4 MU channels for tx, 4 MU channels for > + rx, and 1 MU channel for general interrupt. All 9 MU channels > + must be in the same MU instance. > Cross instances are not allowed. The MU instance can only > be one of LSIO MU0~M4 for imx8qxp and imx8qm. Users need > to make sure use the one which is not conflict with other @@ -34,6 > +36,7 @@ Required properties: > Channel 1 must be "tx1" or "rx1". > Channel 2 must be "tx2" or "rx2". > Channel 3 must be "tx3" or "rx3". > + General interrupt channel must be "gi3". This can be: General interrupt Rx channel must be "gip3" Regards Dong Aisheng > e.g. > mboxes =3D <&lsio_mu1 0 0 > &lsio_mu1 0 1 > @@ -42,7 +45,8 @@ Required properties: > &lsio_mu1 1 0 > &lsio_mu1 1 1 > &lsio_mu1 1 2 > - &lsio_mu1 1 3>; > + &lsio_mu1 1 3 > + &lsio_mu1 3 3>; > See Documentation/devicetree/bindings/mailbox/fsl,mu.txt > for detailed mailbox binding. >=20 > @@ -153,7 +157,8 @@ firmware { > scu { > compatible =3D "fsl,imx-scu"; > mbox-names =3D "tx0", "tx1", "tx2", "tx3", > - "rx0", "rx1", "rx2", "rx3"; > + "rx0", "rx1", "rx2", "rx3", > + "gi3"; > mboxes =3D <&lsio_mu1 0 0 > &lsio_mu1 0 1 > &lsio_mu1 0 2 > @@ -161,7 +166,8 @@ firmware { > &lsio_mu1 1 0 > &lsio_mu1 1 1 > &lsio_mu1 1 2 > - &lsio_mu1 1 3>; > + &lsio_mu1 1 3 > + &lsio_mu1 3 3>; >=20 > clk: clk { > compatible =3D "fsl,imx8qxp-clk", "fsl,scu-clk"; > -- > 2.7.4