Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp112190iog; Sun, 12 Jun 2022 20:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUWvzXs0RiWXTByPOJFhHBfKsyB6fThaxCRUBGC1cZ1AQYn7kIZvYQnpbd750L71occ+wC X-Received: by 2002:a63:c07:0:b0:405:408:949 with SMTP id b7-20020a630c07000000b0040504080949mr11594740pgl.368.1655092304691; Sun, 12 Jun 2022 20:51:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655092304; cv=pass; d=google.com; s=arc-20160816; b=iilZdXILFkswVZgRvBtJoiDvaCoGmtM9eMDIOtR7gw2UW61g31zuQlyg674nCvWcN6 oRvZc/ALbJT3OGIvvXU87j+T0ZbcbH3XoBlHYP9ld8HGlzAd3iR7mUd5JFfQ7uGN1IeF BqfcwZp+60Yd+Q0hJCBZiPUzHUNmWcnlLItgdSTyQ3g3yNuhBEGRQbotVrZ3zeejwwxM X9dVxfbNOPHFzSAc3N1ziyTGFRp0cnP0ltpeaPuhJn7QRxa/wyty72yPjJZ6jJSfJwPr 0ZjE8sx8jmofdvwWsahXhMRAxxfV/0Y4ZMBAcRjD9B9DTmoMEm8ZKP82lsZlG1oa8Xoz cBPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=h16zyG/rs43KguYCruxXlnFbU0ZdRwbQZ6S6SWj67mY=; b=QALIqViHpc9dszBzN/aU+3of52cumtgV+0NvEOXfXKNU5lDzKxffmrH/0WPhpyGfyM x+sHmJQvE14hJfDbm5etI9Ahub0S2q0pncWaiKI5TpLElDXZ0ijrnXYX8IkqS26cAGTF 0QWHEVTDzmX5w8FJjFWXKQych0b/Cdt3TgJu6Wx6KhlLS3EeIW0P+oCipAA6suTgY8uf bRx2Vh9x75dONl3rKoLBNtOQvtrTp54za+mQkQDe1S8iKei78GP3oKQAEO2aD7V0TBDI Zs9ycIMqGo3tF8qX3Rk5dD/aydmIzsoXxxANsZ9Q0wKnubHTHCLdLlU6lw293aQomM4z zePg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q8MqA0BH; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g14-20020a056a0023ce00b0051bfcba3bbbsi8910776pfc.232.2022.06.12.20.51.33; Sun, 12 Jun 2022 20:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q8MqA0BH; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229760AbiFMBXj (ORCPT + 99 others); Sun, 12 Jun 2022 21:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiFMBX1 (ORCPT ); Sun, 12 Jun 2022 21:23:27 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2055.outbound.protection.outlook.com [40.107.20.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0EE7BAC; Sun, 12 Jun 2022 18:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3awgTej/7llnJswGPgwz26pJEF7C+T0mgWWSuH6YCgi99gib76sYNlq8IvkKIZZqImpju++RMFEhI0PbPYDi3z9kGqi7qliF0bZyiEI2ffhJSzJy2hdDvF+03YuGMUm1dI6aBKc8xYMx0eUXhnNicQQ82mVEa2xY/KBxSeH8rc2sI3hLgDanO2fW+EUacAp5Jz9myhiskKrAh8Dw11xa0BIBzXPxcYFfRcX64PQ/z6PUNEOxWS+uRtXzweAA29pnDQRXOLXn0TyNtne5NxUu1iJPG+iEaPJ7uZM5mXNvIXlgSN7+kX5Gln2lN/aNNn9r61Ib7xv7i8N+dvybFtwag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h16zyG/rs43KguYCruxXlnFbU0ZdRwbQZ6S6SWj67mY=; b=B/G+M7smru1+HCDAGz97Cbsj+ff4/hdDeczedx4wDMTw3NJ/1FS1Pcn/UPb6lD9mPh2QQe3/ee0nFhMzPThc32o18GSngGy6B/ofb0EbsZ8mOanG1AZkdOSBbcUbKRI2SdKzO+npFUD0HTv9K6teipqj5HFf4QdteWIBFykO/boxAENujr78fhKbA0Eyd63Xl09wZ+KJGAFPVmGhmZ6OunzRStzrIoE3FnHSUM4gnNy1gtA8U1wSuDy3xHAYR6H3gPJn+vujsav2YVn7NKytNEyA1c7bx21PPj9nG+/evzjyK6Cmk1uYG8uJzh8VKjGL5V6/zxhaV38maxHpwhzFug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h16zyG/rs43KguYCruxXlnFbU0ZdRwbQZ6S6SWj67mY=; b=Q8MqA0BH8sBAgKIy8q2Ih2qADlyQMGiiD7rpVBv3JCbe8MLCJFyF4qL1vnqoPcHx4HBcTwiQWajEOHB3PSZSJLvxDQADWSBQFx8TyEcsrb4X3OxwlR7a4YohTWSoHPzdBMV4osKFAUH3gPC3oBKrQ+hXme9sbP0OtnzYaOlnZb0= Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM6PR04MB4327.eurprd04.prod.outlook.com (2603:10a6:209:40::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.19; Mon, 13 Jun 2022 01:23:19 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5%8]) with mapi id 15.20.5332.015; Mon, 13 Jun 2022 01:23:19 +0000 From: Peng Fan To: "Peng Fan (OSS)" , "djakov@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , Abel Vesa , "abailon@baylibre.com" , "l.stach@pengutronix.de" , "laurent.pinchart@ideasonboard.com" , "marex@denx.de" , "paul.elder@ideasonboard.com" , "Markus.Niebel@ew.tq-group.com" , "aford173@gmail.com" CC: "kernel@pengutronix.de" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH 0/8] interconnect: support i.MX8MP Thread-Topic: [PATCH 0/8] interconnect: support i.MX8MP Thread-Index: AQHYdZuXp1k0Y8bakU2NzRLysk7WMq1Mm6BQ Date: Mon, 13 Jun 2022 01:23:18 +0000 Message-ID: References: <20220601094156.3388454-1-peng.fan@oss.nxp.com> In-Reply-To: <20220601094156.3388454-1-peng.fan@oss.nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aa016d06-251d-41fa-f610-08da4cdb4c73 x-ms-traffictypediagnostic: AM6PR04MB4327:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9vk6cDWUo1yx12QTR5Hvo9/sQk9BXciW6nYJHbJxM2G8mMC7k0aiMhlXfcHz6oUGivW1/na/f4zMKqtBDt2utR4dDAP/A4hTCUMqPs3TgNcUpTdeoCD6tiZ7znf6c6+QxiYKuDBg7FnpdB465cKyOr5TRlqtLPRUtCzm0uYjz4OsSyKhwvwliF0PMgrk8bCvyHU29ypvbj7BzOYm/nL509NGTHor56CYakQzassqlOxomFgddZeGMqZm6t3ste4MXsEpdZJdHW4LTu2VJTj+YZ8TZI/Gw1FlCZfh4pFzCjNAaHuBsn7A8smLt3IKNy+dA3uTGev7254jyzw2vensULCVCmicq53389IAH/Q4mweEoEE/3H8E+ICLlOxyu4vTdzQnkiMfrzztMyypl4KkDJvlliC5P5Wd+ECJpovpvBxXFQ1M4VsOX6fMDVHzID3uzK2AyiMOtz3p8HkZRGqBxQSG150QXRNmFdwtX4O+Arib6Q/JY8ncEgF/gUBn13Q93MBLn3CpmpwOjXQB0BOxOzF1dyIyKz3lef3AfsSow+/AsGbOLsoK8bdV1icNRguwCzhidxupYBsMxvQWg088WCwRlKI2gcKc5EkxEbzmoPioEYOCbCYGM05eXy18HaMFtBk83fM5M8VschJRmEhDzwb0vK4iEqtKf6Ha53b2r5IBX8OCessGGwK9/c6EV85YqVcI4u6wU2SfCYIL6iJf8OX+1Lv9zCP+afZ02THRSbLmqE4hI6VIwgNnu+D5UYDdlOEMOBWW3Xsz9uOWZ2H7EiDk4V2oSiN3cyOIq1C+vGn+K3cswwpauytZAcdYhuqnCvTUbBtrLM2TyUEDhWDek5M9C5JXTbXfzOD/vfKkgBA= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(52536014)(966005)(71200400001)(44832011)(86362001)(66946007)(122000001)(83380400001)(33656002)(921005)(66446008)(8676002)(66476007)(186003)(66556008)(76116006)(2906002)(4326008)(64756008)(7416002)(8936002)(508600001)(54906003)(5660300002)(110136005)(316002)(6506007)(7696005)(9686003)(26005)(38070700005)(55016003)(38100700002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xlCNgaBqyJOSQ9yQhKCoUvAsRgOsGf6nCP1otTjqBT+oM4wYLeqfBjmlrJMQ?= =?us-ascii?Q?M/cT8eJc6EryYkV0IAAZEi20P4xRsbEZThmn6Q5Dkj6ZasqDhsuGOYAxlLwF?= =?us-ascii?Q?H1VNvIDbRMY8tNRxUzUK9I/7+b/TVtxYdWalWug0S0JVn6sqdw0lQ1VR7TO8?= =?us-ascii?Q?JglfMMwQS8KTsrCA1BvpJ5SoQcgCdvHFQ5Sx4NpNxB9PhqGF73YKWB+OlqOn?= =?us-ascii?Q?+VFdbN4d0bP0y1RhnM7fWGV95u7GipDx9vQrBqn656MSk8YCek+IQWxLU3pl?= =?us-ascii?Q?kpQGDiMgtxhizX79qjmrLUHPSxaqvSWA1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kIbImtFCfxdBZPjbrNVedQn8Ahuo+5Qt/7B66wTMPYs7+ieRjzUTsudNnF?= =?us-ascii?Q?kKhLgDUKKPKx9c1G52uv2XoLwk1WB4b0ivPxJ5+xjuJZOuX9dCftnlQFSQWJ?= =?us-ascii?Q?GFMqWy8NR/K59wcAR+kEXWrm3NSkJN+JvIE9cI/RCppMWgn0QYcr154jHL5g?= =?us-ascii?Q?FV9hSHt1jumoMVyY0jmNyVtkKnZn99+LriNyj8FaSJl0m+noetAs6Z4y1+xV?= =?us-ascii?Q?0+yu/Q7lHMLnB+prO5/IUwel2HBJ5n3H7lR5Ti8JNfliJUuiLVD8e647KbJn?= =?us-ascii?Q?k3UdbCx2wg0PcudFWUgYWkGPN57kYmsb63aW8oKdTpuCQXl3sUpFs/26pNCY?= =?us-ascii?Q?7IaYb2Ts8Iod4QO0Q3gkEbPchQ7CyCTHlINnBfjPlN5EJV4rV7bv2c/aviiZ?= =?us-ascii?Q?uJ+RzhZLWaM2B3ksx8hRs8jgQSMjw/quYkFcWZV6Ee3bSZuDuKDb79DzoUJN?= =?us-ascii?Q?AM4aDmwTk9wXC7Z+HR4Wlu7MX4Gb4a3DyBRGFqFqbcn7A/TY?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa016d06-251d-41fa-f610-08da4cdb4c73 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2022 01:23:18.9938 (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-CrossTenant-userprincipalname: /DncKipyGXC1h7Kg8kkIo/PWrR+jW00vLOsnHSSQsDfVOFjuZSYVTemkusphesQTdIc1+XXP7X/6Vh4dR6u+TA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4327 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All, > Subject: [PATCH 0/8] interconnect: support i.MX8MP I am going to send out V2 this week to address the comments until now. But before that I would like to see if any one has any comments on the design here. Georgi, do you have comments on Patch 2 " interconnect: add device managed bulk API" Lucas, since you had comments when I first use syscon to configure NoC, are you ok with the design to use interconnect in this patchset? Thanks, Peng. >=20 > From: Peng Fan >=20 > This patchset is to support i.MX8MP NoC settings, i.MX8MP NoC initial val= ue > after power up is invalid, need set a valid value after related power dom= ain up. >=20 > This patchset also includes two patch[1,2] during my development to enabl= e the > ICC feature for i.MX8MP. >=20 > I not include ddrc DVFS in this patchset, ths patchset is only to support= NoC > value mode/priority/ext_control being set to a valid value that suggested= by > i.MX Chip Design Team. The value is same as NXP downstream one inside Arm > Trusted Firmware: > https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/im= x > 8mp/gpc.c?h=3Dlf_v2.4#n97 >=20 > A repo created here: > https://github.com/MrVan/linux/tree/imx8mp-interconnect >=20 > Peng Fan (8): > dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc > interconnect: add device managed bulk API > interconnect: imx: fix max_node_id > interconnect: imx: set src node > interconnect: imx: introduce imx_icc_provider > interconnect: imx: set of_node for interconnect provider > interconnect: imx: configure NoC mode/prioriry/ext_control > interconnect: imx: Add platform driver for imx8mp >=20 > .../bindings/interconnect/fsl,imx8m-noc.yaml | 6 + > drivers/interconnect/bulk.c | 34 +++ > drivers/interconnect/imx/Kconfig | 4 + > drivers/interconnect/imx/Makefile | 2 + > drivers/interconnect/imx/imx.c | 68 +++-- > drivers/interconnect/imx/imx.h | 25 +- > drivers/interconnect/imx/imx8mm.c | 2 +- > drivers/interconnect/imx/imx8mn.c | 2 +- > drivers/interconnect/imx/imx8mp.c | 232 > ++++++++++++++++++ > drivers/interconnect/imx/imx8mq.c | 2 +- > include/dt-bindings/interconnect/fsl,imx8mp.h | 59 +++++ > include/linux/interconnect.h | 6 + > 12 files changed, 424 insertions(+), 18 deletions(-) create mode 100644 > drivers/interconnect/imx/imx8mp.c create mode 100644 > include/dt-bindings/interconnect/fsl,imx8mp.h >=20 > -- > 2.25.1