Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp353104rwb; Wed, 5 Oct 2022 20:35:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rnktPOwzpoRhpcaX13GzbTsZh+qNfRemd7sGAf7BKA2Q1WtNJ+gcEWWkJqrzLV/GDRGJx X-Received: by 2002:a17:907:762f:b0:78d:22d2:b396 with SMTP id jy15-20020a170907762f00b0078d22d2b396mr2164971ejc.684.1665027321945; Wed, 05 Oct 2022 20:35:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665027321; cv=pass; d=google.com; s=arc-20160816; b=fW7sW8n/rSIgz2Wo6sbsvkwY1smXtPxy4i37rdKJm5Hz03lxNoq6s+tGGWKvMT5EbP iIR0IkHvCI/Qq2suO/bqiNFSbHQw2UIBzctsS/QWkYqR8rYz5G5u8QvSSHheyO3rw3Ne kt9da/XNOoH5FVnds+tRtbJW3xYUZ0tAFt8sk10MVQmWs2L8siF9I0QmJf6EpBkWhE7F VKoPZMrjKDJ/O7NtRH6cCCmOpgG5ZM8hASZlweI0Yb515nTIOAXw5tLrjsa/ucn/a8eE AlPdaV1OPiRzIX3+0jsFd40KQ3RHWIBM9aIddSDJ19rQRBbNkU2kZ+r0xmweDpeKShoT jBkQ== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=UVq5tj+4RyWRWBb5WXXCFt93bEskGCCAFVBaQ6MZ82o=; b=jgDP8usZyNTiUtvqRAnyhpIwRgg6OcA8NcxT/vEY25/pZxmtix3YEklH2mhcjbGARs qtQJ1THxa1Yf8ol+Itl/xu/wfOJQHc1gyJGmI2uYqSBF1shoirVET8anJaRz2ZLTNxOn tsSE2LbLndwY1RHcRtrKYyvVBtQmcU8G9cCNyCPrss0GvgnDLsUjmeTBAckaNWcnxZEy auoWhV3q9rm9Aoq1QC+Vg8wi4BU3PXBaEzs4e8GQ76zClCbCTbMLeZgrfTQ8r28zydNH r8M7bk1xOUJmyfDXTFaIhvLpVLA0BsokLqOGcVvpR8DhX7BXLYq5OGBSzYwve/kpsBSg Lz3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=EAC1jak2; 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 hq6-20020a1709073f0600b0077c5ec87ec2si15364765ejc.297.2022.10.05.20.34.55; Wed, 05 Oct 2022 20:35:21 -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=EAC1jak2; 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 S230003AbiJFD0F (ORCPT + 99 others); Wed, 5 Oct 2022 23:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbiJFDZW (ORCPT ); Wed, 5 Oct 2022 23:25:22 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2047.outbound.protection.outlook.com [40.107.22.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BA8189CCA for ; Wed, 5 Oct 2022 20:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gQJdLIhmErgqawgqUddSQFWamF85wJl3io4j1L2TIEJzKCw2ftMi3qzvy+Pu8f0hJjr6PVh1xQYsp4HRtF0GLoml5h1EXLKRrBPHAoI3Mt5Oz93Lr1ZC3g5ImOMH4fhHqqoOPRdNReIpJSHdh2MLOjVo75/Yzvp5oM7/oRKeyOsAdITT+dRHEomDzG2tiRkSyXESJLpBKPTLsQi33SK4yMH1ZyVW9rzCTKMBeR6Byfbp1Mtri0G/NUOVHaxubdD1jCJhdlxo2FAxJMlMjPZEvEjajyZ9q29GTx3cXVblTnv7qJwuYYqWFNO03wtlc5W6qKT/HNUEFt2bzayDAZRQVQ== 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=UVq5tj+4RyWRWBb5WXXCFt93bEskGCCAFVBaQ6MZ82o=; b=iSLZyH/eNWb6DU4fkj8n2bu+5EQnH1JZJIzA2Sc1zIq3gkFVtzDTP9cnt6l4edqN3RpVY7ZuY1JmxsliPjz/A0i8wosa1iyxKic41e5peQOLURv0SM03XPY6fbspjm90RZECst7uTNH5WFzWTsJVB8/421xFb59jEG9T6qqlOmrK35/5PzTqVXi2WrwxJk88ZlnUfdNWT1HYINrbevlnWn3tAP4wOt9XUfTvAfX9fB5N5Iox0BBDdyeNPEWnBWPm1oXlkIIIdLeNHCuYc5LndnCEcI91baXoVkjcZsjAjw8oiPd14cE6maElq/wFvfp5VRiHPLp09LQ4xnhpF4fRvQ== 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=UVq5tj+4RyWRWBb5WXXCFt93bEskGCCAFVBaQ6MZ82o=; b=EAC1jak2qIdJ4/kINxAg3Hs5xw0IS2lGGhZFHL9t7IZyak9HqUBuwjYfdl8jnYHeWOVG1zsB6AFDG5osC9ACucNd46DpudIb8Er90P6IRJh3QzK2ew1m6ZLttrCwXRMs7y5G95lFOKkoSqURPcxIxnWKAyfBieIvjyZnrOHeMVI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AS8PR04MB8498.eurprd04.prod.outlook.com (2603:10a6:20b:341::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.34; Thu, 6 Oct 2022 03:22:52 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::181b:75f7:dbc8:b4bc]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::181b:75f7:dbc8:b4bc%7]) with mapi id 15.20.5676.031; Thu, 6 Oct 2022 03:22:52 +0000 Message-ID: <6264eec36f0f383bd35ec7e3787775c4548b6aec.camel@nxp.com> Subject: Re: [PATCH] mfd: Add Freescale i.MX8qxp Control and Status Registers (CSR) module driver From: Liu Ying To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lee.jones@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Date: Thu, 06 Oct 2022 11:21:51 +0800 In-Reply-To: <20220814080457.454056-1-victor.liu@nxp.com> References: <20220814080457.454056-1-victor.liu@nxp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SGXP274CA0015.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::27) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS8PR04MB8498:EE_ X-MS-Office365-Filtering-Correlation-Id: d5c3ef08-984e-457e-0814-08daa74a0d3a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pgxbN+sCRX1HH1Kd0FPlJ+NHaPvPzS/sUYXlGsnsJvz7uWvH3DyceOs8WLZ+YLNwa75aQOgvsBiTgZlxnph2vFx4SgBB5HklRg3vEKoo3SSg+dLfVH17PQUpFxqCOBXNrpi0DsmAD15tuscPUJCeuUWmwCCgyqNq4phkfPoa/yH6ycyudVOMAw69iD5I8LOVSQA2pc9qIM0sf+Np+E/K+VLoKJn0b6OMekX5W67v7jkzlnNakXanySAoz96Op7vWv8Cn0DlVAhuRfaUgPXbXRiyB22cVcGSqVSf3fbMbJOezGLgr4MLTMZbOgSJEoZzh/p4KL+e78/HNdfG6/wm0k82B9L6C6xltiDHygoZCnl/KUs0bl6sUdiD4oVGuK+X1ivsUFOOSMN+emAEV3JnTvgPKkWBQqlsi1AjbXkyQCm4SdsZMnpg+wINvRzLJQp+HSaUoY26AogT6z28nq50qVKg2wE2a6EP7NbWh4VxZ5KVAwv3ry28jrSJtO9xKLXo9uFB6l0ARzDzX54qy1x1HgNA+ZO76TNk/lCO2RyjESP8M8HN4yqL38asOc15yZxFvzoEu7CbsA8trgpb9nBRxLIDNfKGahGkgigD0ZjYdw3OBbyxWpcn4bG1jnvWdcmlUQO8+bQRuSsGTrlZjgqf9ZUfQ4Am4S9pA09dK86dDLsLq6Bxjksf4EY4dZ2dgDHVuLuPxOeB14hWqwd+Lv301ocOIYoJqAleJBQ9IHI3nPaU9/f415YoXHFesoAUpb8NccnGo4k2f4JRs62Ai5vp8RuwqlQUEw8f/QONBYab8EYA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(346002)(136003)(376002)(39860400002)(451199015)(38100700002)(38350700002)(86362001)(5660300002)(8936002)(2906002)(66946007)(41300700001)(8676002)(4326008)(26005)(6512007)(52116002)(2616005)(186003)(66556008)(478600001)(6486002)(6506007)(316002)(66476007)(36756003)(99106002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VFZFaVR3QVJFUE1RZXF2OVVrTGF6RmNaUUxxRnFFL2NKRlN5UlZZRU40a1hX?= =?utf-8?B?OVVKbElkSm80MUhtQWNHL25KaGRtQ3h5RXFzdFJyL1RqK0dXTUw1L3VwbGgz?= =?utf-8?B?U21PWU8ybS94ZkxhbGpUcW5aNFh0azdXL2Y2N2xnakJiSEtXTW4xVWQ3RFpO?= =?utf-8?B?RUhCdHNaNjM3ZU9Pc0FNVmorT0NmeHZIUTZQclMwM0JhaytxS0NQMXE4cWUx?= =?utf-8?B?azZBUmdBWm5WY1lDa1ozTXQxMXp6bm5ETVhqbE1Tb1M1aVBCbnJCQUt3bHlC?= =?utf-8?B?RFVHT1FKK3g0bnkyZVc5UmNGUkZFSzVha1ZpcXozdlc3dFhsTkJzS1pHY0lZ?= =?utf-8?B?YWhZL2hOSnhrN0NUNC9lWmtMdEVXZWEzOEZKclhYRjdIQXVaNjIwTFFxWWJU?= =?utf-8?B?ejMyckRSWCszUXY2a0V5dUFxdEc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VXN0OEt6TVN0OHJCTmFTb0JXaitIdXk5c1Evd2Z5ZGxL?= =?utf-8?B?TnJ4aW5VbWtxMXoxWXZNRTJoNkMweGpwUWt0bUs2UjczbTUxaUM3QkI4M0NM?= =?utf-8?B?UkJZdTNRZUl4YkROWk9hd2p6d3FkNG5VTmU5bEN0Y1BDbUVyOXRTOVN1NmlL?= =?utf-8?B?Q0c3ZjVoT2pMYkxvRHBQQ29RSnlXRlBtMWVRYWtEak00Qit6azhoR24rbFo2?= =?utf-8?B?VFNFU2hxRnQ1d01BN2Z1ajhmZWpJOXdudjc2d0FxOXRxbDRGMHJMdmtxLzk4?= =?utf-8?B?WUtPN3BmMjFEd25GaitvYnJsYnVHYldoazErM0VQZS9Ndm1NQi90Z0hpNnNm?= =?utf-8?B?UjJSWXdjOG1EemZ6NFl4dy9xdk5OSWtKVmkyaXJ0TmsxUVFxZGJoVTZGa3hk?= =?utf-8?B?VzdBZkdBYjh3VjhHU2pVSkJqLzQxcEhPTy8wblhGaGlLNVRsZHhEY0pIa2l1?= =?utf-8?B?Z3p4djFYeTFybUUzdWdtUWhYM3ZVNFZzc1NOYUxGUnF4UGV2TTV4bG1iSUxU?= =?utf-8?B?aGpUN21CSFQ5eUJWbFRxWlQxWTVSaG5QRERKSHdNaXJNeit1WmdsMGVrYUlS?= =?utf-8?B?cDI0dXhZS1RNMWl6bmFZbndkbE5sNGkzRFBJTlovbUlMVzY1OWk1MVJRbHEr?= =?utf-8?B?R1FBSCtSWjFudlVPbURNeVBQVml5R0VqQnFmck95dWpoZTg4MjdHenBCUzFQ?= =?utf-8?B?ODVKV3dac0hRY2MzaVRiNmNNMldqSTBTYThHckRSK1UvRzJad1FDQ1MwM0xD?= =?utf-8?Q?xjJPYqDYUJ3CKMYSlhfybhsLC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5c3ef08-984e-457e-0814-08daa74a0d3a X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2022 03:22:52.0328 (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: f2VRkOMG/Ai53jEuYi5umJgH043Zolvt16dZWMDxNoQ6MiUK9oD3tPp4zSwtGrarPaL2aN75MFe5HiW2+uMECw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8498 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 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 On Sun, 2022-08-14 at 16:04 +0800, Liu Ying wrote: > Freescale i.MX8qxp Control and Status Registers (CSR) module is a > system > controller. It represents a set of miscellaneous registers of a > specific > subsystem. It may provide control and/or status report interfaces to > a > mix of standalone hardware devices within that subsystem. > > The CSR module in i.MX8qm/qxp SoCs is a child node of a simple power- > managed > bus(i.MX8qxp pixel link MSI bus). To propagate power management > operations > of the CSR module's child devices to that simple power-managed bus, > add a > dedicated driver for the CSR module. Also, the driver would populate > the CSR > module's child devices. > > Signed-off-by: Liu Ying > --- > The Freescale i.MX8qxp CSR DT bindings is at > Documentation/devicetree/bindings/mfd/fsl,imx8qxp-csr.yaml. > > drivers/mfd/Kconfig | 10 +++++++ > drivers/mfd/Makefile | 1 + > drivers/mfd/fsl-imx8qxp-csr.c | 53 > +++++++++++++++++++++++++++++++++++ > 3 files changed, 64 insertions(+) > create mode 100644 drivers/mfd/fsl-imx8qxp-csr.c > Gentle ping... Regards, Liu Ying