From patchwork Wed Feb 20 14:38:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10822219 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FE4517E9 for ; Wed, 20 Feb 2019 14:38:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 573242E4A0 for ; Wed, 20 Feb 2019 14:38:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AF152E67F; Wed, 20 Feb 2019 14:38:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F31D62E4A0 for ; Wed, 20 Feb 2019 14:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbfBTOi2 (ORCPT ); Wed, 20 Feb 2019 09:38:28 -0500 Received: from mail-eopbgr60085.outbound.protection.outlook.com ([40.107.6.85]:41318 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726191AbfBTOi2 (ORCPT ); Wed, 20 Feb 2019 09:38:28 -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=LUgEZTf3JikD95+qvKdhfBTxahgDdQAjUv6RzP23D0Q=; b=P1XzkdtZFvJw1V+8aHOQQQP0hSecGXizrPHWmv69HJRqvNHWBWMTwfRCD3WeOaSl0hoai5T0M9UTGT9NG1EY6XVg69r505DHgmcPUqYrFBa+Eyxp2LOjgOfVP8VLyou/gaQtDO4gVjtGJWNQxcqpa1vhgMvUzkgUNCQE9y5YtDk= Received: from AM6PR04MB4215.eurprd04.prod.outlook.com (52.135.168.141) by AM6PR04MB5975.eurprd04.prod.outlook.com (20.178.94.220) 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 14:38:24 +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 14:38:23 +0000 From: Aisheng Dong To: "linux-arm-kernel@lists.infradead.org" CC: "dongas86@gmail.com" , "kernel@pengutronix.de" , "shawnguo@kernel.org" , Fabio Estevam , dl-linux-imx , "rjw@rjwysocki.net" , "ulf.hansson@linaro.org" , "khilman@kernel.org" , "linux-pm@vger.kernel.org" , Aisheng Dong Subject: [PATCH 0/3] firmware: imx: scu-pd: generalize the implementation Thread-Topic: [PATCH 0/3] firmware: imx: scu-pd: generalize the implementation Thread-Index: AQHUySnusuHh5S/UWkWe6S7ocFkvvQ== Date: Wed, 20 Feb 2019 14:38:23 +0000 Message-ID: <1550673013-21462-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0074.apcprd03.prod.outlook.com (2603:1096:203:72::14) To AM6PR04MB4215.eurprd04.prod.outlook.com (2603:10a6:209:4f::13) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5a7bc80a-5846-420e-2e8a-08d697411107 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:AM6PR04MB5975; x-ms-traffictypediagnostic: AM6PR04MB5975: x-microsoft-exchange-diagnostics: =?iso-8859-1?q?1=3BAM6PR04MB5975=3B23=3ACy?= =?iso-8859-1?q?TAhcrT+2eBAcsICIr9i7mxjtBncETBPka5IwoKY4MDB5t+F3Pk4IexO/lxZ0?= =?iso-8859-1?q?iHYQMDZmIezV3QKyH9G6Va37UmxayNJXv9mF1J/+4Wbmpjv/qGiXtbEUfQl2?= =?iso-8859-1?q?X/ZcHoFEb/lsaui+RBzNMy5tDeDFeoE3+XFYbZRSLUuSlQe8aDP5TOIxakKr?= =?iso-8859-1?q?m03EmaPIxQEC/526jhtLmO4PlFxnBmkc2haxHydEB0fXAMksSl8NnvZXl50+?= =?iso-8859-1?q?wyhFkCmjmM+Fg053jBjoA8uRJkoE3FRtIarLcGqBjgMuzWbpWlA7xlP91KkU?= =?iso-8859-1?q?W3QSky3m989totMGhZ2KKqUEeRuPwG77v0CUy91n2IG5/1pG92hwrBlJ9XJU?= =?iso-8859-1?q?yiy8IFufIwILoxPp4pO8TjJVFf1NkeyiVd03xhJQnFtLOBzU/5qgELHQZvVr?= =?iso-8859-1?q?sTdn2z3ieDYGWZ0joSqgXcYntOAg3ES2Pp+mqHpXfr9j3aPbOMkPIHOIhw4O?= =?iso-8859-1?q?ZsTxsf6fxuNH45rUsUOvHqx0zjdw26WgERNZ97w52MrZbk2Nmxic70mIXPBe?= =?iso-8859-1?q?Y0dZmwaHiiSSAITLmedkgyjsEhEnMoCLFexYYCwLfHuFW3p6xYS4YS1od8jJ?= =?iso-8859-1?q?/NaJTKHEsitYEr5fIRSwfVJyr2f/kNVFL/0WqNaFU0WsJyQ+mNq4JegtHXKc?= =?iso-8859-1?q?im/jwFSy/WMeAIWeUVeSqwiH2gYQ0qthEOfGtrJEtbeS7FBlZe/d7bikQotT?= =?iso-8859-1?q?yAZH8En+Ib0um60QgaHJEPXRuwlbKyAnrWDip8q1BN9F3ERnFzNqiPIsTa4c?= =?iso-8859-1?q?yOZrucrlVyV/1fleP+NKvtyojur+g8sg0MFBpCb8AYykTuoFh5WprFJT3qHX?= =?iso-8859-1?q?8YPqHtwrdtPQoY6WkDmZdq+1xBUYymjkWvNmGVwZuJUDt1P5MeNlpn1QTgGy?= =?iso-8859-1?q?z/94qgV9UXvj9x2dgcmicRVV1X1ICEAu50gLA7FmCtAEwe0EcPpW6vd0sqck?= =?iso-8859-1?q?VnKstn4lqjEGzUP5ItD0toLAxfyZPn8B0RU7pTqpp26mwfwV04BBzOlq0jyk?= =?iso-8859-1?q?P8YT34k4tEOOmW0lQHa3Wikmh9MGy8Lahr6+sZznpUDMRBIBcfqV9sq1gZga?= =?iso-8859-1?q?6ci1NOcYlEfbXeE2K3uXjnwPPBfM26hizNqXfp/6QvWg0eGt/URKA1C5Qczd?= =?iso-8859-1?q?O6spcfZ0G34hd8GELz5If1liswYoJaWUNqJD/t2qRBQr0Js0NwhHVZaxJ5Pf?= =?iso-8859-1?q?k364Zkjkrcfl1SukZIXiaTx8QpU0br/oDpGw=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0954EE4910 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(39860400002)(136003)(396003)(189003)(199004)(14454004)(4326008)(81166006)(476003)(81156014)(6916009)(25786009)(186003)(2616005)(105586002)(8936002)(102836004)(66066001)(86362001)(71200400001)(3846002)(2501003)(54906003)(71190400001)(68736007)(6116002)(52116002)(6486002)(106356001)(486006)(6436002)(386003)(4744005)(316002)(305945005)(478600001)(50226002)(6506007)(7736002)(5640700003)(8676002)(256004)(6512007)(2906002)(53936002)(26005)(99286004)(44832011)(5660300002)(36756003)(97736004)(2351001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5975;H:AM6PR04MB4215.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: HEUw1pc20wkJckWRbB3deUjEg3OMyoESEfkdsE1wkomO0lvFDv5qzqSd9HukhlUl1Ebu4LGP1uhPlToYui161/fJwmgOVJroYyPc+Fw+uX7XYV+JIKO3bHfU5ZqAdqTr7fJ0jLbAfILEQo2ZkBs6T5EzK8+Szk89TZcP/ugpMgR5XuDk1fZLPBkoJE55Kf4ipUE/JwvZ0ppmh3LTuV2TstnBBTA5ou4HmSKYkiOZ1Zgmph13WCh9uwf2kRM03IZrXFrKZssPeHQulUhGwOB708ZnFoMr4ODsdgWLd+myGsxm5zOPf1PG+fGqhifH1Ha19dVgT1MbafC3/flPkQJ0vPzGXxEIGJHUWpLeXWPYdKN2iR7CQCZq5WOTzSXDz25/bPA+H5Q7X0+WuxHTopaeZx0aZ8E0tHN5qqnF6eAj43I= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a7bc80a-5846-420e-2e8a-08d697411107 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2019 14:38:19.9150 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5975 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series used to further generalize the driver implementation for better adding new SCU based platforms. e.g. imx8qm which is mostly the same as imx8qxp except a minor SS name and resource avaliability difference. e.g. QXP has ADMA SS while QM has DMA and Audio SS separately. So we decouple the SS information from domain names. Dong Aisheng (3): firmware: imx: scu-pd: use bool to set postfix firmware: imx: scu-pd: add specifying the base of domain name index support firmware: imx: scu-pd: decouple the SS information from domain names drivers/firmware/imx/scu-pd.c | 121 ++++++++++++++++++++++-------------------- 1 file changed, 64 insertions(+), 57 deletions(-)