Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp242310imm; Thu, 16 Aug 2018 19:35:29 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwEifMjjkHG+xvC+wY5N6S8XSlQCslcRceV0MVHiJEjOckXU9H3cevqCaU5l5NwQ6F6ZIZ4 X-Received: by 2002:a63:ea49:: with SMTP id l9-v6mr31381953pgk.427.1534473329091; Thu, 16 Aug 2018 19:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534473329; cv=none; d=google.com; s=arc-20160816; b=ZxfswVkGOYgnPkxWrazQsLSuarzWJtNIu7SHW93BobNWobFkjQ5gbUmPD4shXyaA/3 jm/9rJC1HhiOufNa5/adEcRTnneySsPS3kQ9qhONQI1B8F5PCfNa+XBbEc2tHuPyfnmO lhqejPX6sV9FWijGKme4PeareGU8+ZQvmkNjUlfVq1xoYGGhJBsOqg5w67hElUG9qs2y vjrqtl1NMeJc2qPGG1aFqSqhb8I6/spUHWbJi9ghTViifhPgayOV8V+eUC1CS2pa+q5I Y8F1g7JdJCUf3zWDXtbBBTwPIw69BMq3aOAvws+QoILqpvlKJ3C4e4J0smOCZaBorwCM +PDA== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Z1VLVmaZbNtFcEvfKF9Xxfr4M7ZiYOzVaM17kNgucJE=; b=MYgjHjyynjoRMGf2kN/H35ouxvF8q1vkDk0GAGylDjvPlAg5vT9t0cTZq7bQGlReyG Dst5MdsJg4nQ6e1eCXQbZeW1tgCG9z2ctFLLDIhk1E1T6NcZUjJ2Jn/OiOPbpeyT0Zlu Eey2hhswnSz5n/7c4MePsKKAqWSz2xxGD6afidGf3VHRRaFHqXtIcLIo8OCVv1wcRl4W URfZVcjM3FQ0E6OmFZHxlUxzAqOuleNDOPF3f8KqTnLdvh93BP9sa+FU8kYzbVCkkgjQ YVmcZoejo81wfgq3+fLtdVfpvlQnjrGzml9Vuqq7/2U9vBWhScDPsEOpqMVNp53Z+82Q /wCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="lYPwP41/"; 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 a24-v6si973911pls.353.2018.08.16.19.35.14; Thu, 16 Aug 2018 19:35:29 -0700 (PDT) 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="lYPwP41/"; 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 S1726340AbeHQFf1 (ORCPT + 99 others); Fri, 17 Aug 2018 01:35:27 -0400 Received: from mail-eopbgr00088.outbound.protection.outlook.com ([40.107.0.88]:41166 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725833AbeHQFf1 (ORCPT ); Fri, 17 Aug 2018 01:35:27 -0400 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=Z1VLVmaZbNtFcEvfKF9Xxfr4M7ZiYOzVaM17kNgucJE=; b=lYPwP41/zfN9YBI5iS1ZqcZbgVSVLIqUhHm0B7U05YgSS1MnjcBfOQCWnMzjihZAPKxKqoEyFuYALXZ8dvQjMP85Sa6eV4igzRc/cO7Mf/OKW1QsYehGpcO5OkdoehGyItFPyD0xF39Ifdkvbt3sAeMB6bTI/zJ0iNVV3MwXTkk= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4772.eurprd04.prod.outlook.com (20.176.215.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.20; Fri, 17 Aug 2018 02:33:52 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9d03:cb77:db21:fa1b]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9d03:cb77:db21:fa1b%5]) with mapi id 15.20.1059.021; Fri, 17 Aug 2018 02:33:52 +0000 From: "A.s. Dong" To: "sboyd@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "shawnguo@kernel.org" , dl-linux-imx , "thor.thayer@linux.intel.com" , "linux-clk@vger.kernel.org" Subject: RE: [PATCH V3 0/4] clk: new APIs to handle all available clocks Thread-Topic: [PATCH V3 0/4] clk: new APIs to handle all available clocks Thread-Index: AQHT9BSLZakbaB/d6k+ADoO1VMpzWKRom4gQgFsgTNA= Date: Fri, 17 Aug 2018 02:33:52 +0000 Message-ID: References: <1527244643-10736-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: 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-microsoft-exchange-diagnostics: 1;AM0PR04MB4772;6:QP4y9GgMD2l4XymGwpdXyalpg5ekPlRi3GqUc6Mg+4wiR+OvhGOWyVcAdFCFVCeCAOWK7sqyVP6ShpNfDei9wQtKm8Izuu5QNvGcTJ3naUqZoNazeeNxA/thHD3HRLU5P6jJ6kgZZTIBJESiHfif6pzsdTasqar57P/imBKHcA6ZRwIQXqxfNDWOnxkIEJHPOi69ygaolo/kSfXMkrFke7TnrWN2mLClKml2hgHlsiumLurGpb4sWhVqwUmsNtumE/F5L4UGzf+4dKDGIt0dHA8baiZOfVoNKRKC9q4ZwDGP7Daqe3AoLvHUrd8aQMeM31YMPFmEJ0tiX0VrrPeldXb2l1k3IvC+3Ophcu2LOkv9FiudoANWir/OsljXuzE3jPGeWJJBflSC81Gg1vzrzMdVfltJrJMzcMR4A/By+Nps5FvKVUZUrqMpdzhyAvTwId6+eVd1ypv2G35Vu7pOyA==;5:9N3LALiXe+LVVG5yBRgtFIgMOQVvMkhcZRraVrnsNYXKTchA8ovX+AA4itE4rM5lDYrOMgK+nfC8JTSjEtW1FjjffCyQIdoikg3Utu2A0f/FEz3HM9cpKkGoY83PkeL6YCMgFNuVnaHUkAIkc1GKynsSAMuwZqNWIZCluBroMiE=;7:qPNfoTeL2CjTVqIyy8gJoDaNQVt3qhSKP8OJKV3WpIz1uyNbfwRrKcPkXEhTukqfugAKbbeRRFemG9tVdr7+QJ4U3pd/VErS9Q8BoaSyJDCRP/mbeLaLGKRU6/NzGOTZMVtCF5tPejqNFZ3IT51fq6MjksjdV+0u+lbHcvorSuWq1rURUNsdSf1tGp9KWC7swUI+xqVP6JWupEqphrt+DwH6VnXeN/KOYrxe+HTwfTno7rzcg7BwVamtYN1Zqk8i x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 68ff3666-f2f7-4fd3-c47c-08d603e9df50 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4772; x-ms-traffictypediagnostic: AM0PR04MB4772: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(258649278758335); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699016);SRVR:AM0PR04MB4772;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4772; x-forefront-prvs: 076777155F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(366004)(39860400002)(396003)(346002)(13464003)(199004)(189003)(1730700003)(14444005)(256004)(102836004)(55016002)(11346002)(6306002)(9686003)(53936002)(186003)(446003)(25786009)(6436002)(97736004)(33656002)(6506007)(66066001)(305945005)(486006)(2900100001)(53546011)(26005)(7696005)(4326008)(5640700003)(74316002)(76176011)(99286004)(5660300001)(7736002)(6246003)(3846002)(6116002)(229853002)(86362001)(8676002)(966005)(106356001)(14454004)(2351001)(68736007)(316002)(54906003)(5250100002)(478600001)(2501003)(8936002)(6916009)(81166006)(2906002)(476003)(105586002)(81156014);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4772;H:AM0PR04MB4211.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-microsoft-antispam-message-info: k7B+1MwWrZtetXWq5nBw5Ab7BLvZvUOqOymAZmRHGsJjEJBHlDXJJYKDf1+BQIt/stgMVjbDOLuZaVeHUOEmLNaIw5yl1m92N49x2lq8guv9fjNS8gtJMcP7Tb82uyFuzjiPRbpSuiPmA7qycYl3paQV1T+m1lq3msEHST0BR4CHucFaJ8tn+EwwRZIAj4r39rmgSeU82AlGieZgty9cmOw9lTiqoqzlTUflbA1SHWhNI9fapSDgJ5cmGfkZdIhaLYg8ZxPKxwpPg7hU9SFdM410vBkWnDJcX5PJYA95Zkh45mZ0u+Ux5a4Gtke5u5FGFWZvh22R5YNfXFCNquteIrPzrQ5R7gycvnJn9gr6xoI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 68ff3666-f2f7-4fd3-c47c-08d603e9df50 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2018 02:33:52.7285 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4772 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, Do you want me to resend this series for review? It seems have been pending for quite a long time. Thor just pinged me for its status as he wants to use it. Regards Dong Aisheng > -----Original Message----- > From: A.s. Dong > Sent: Wednesday, June 20, 2018 10:54 AM > To: linux-clk@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > sboyd@kernel.org; mturquette@baylibre.com; shawnguo@kernel.org; dl- > linux-imx > Subject: RE: [PATCH V3 0/4] clk: new APIs to handle all available clocks >=20 > Ping.... >=20 > > -----Original Message----- > > From: A.s. Dong > > Sent: Friday, May 25, 2018 6:37 PM > > To: linux-clk@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org; > > linux-arm-kernel@lists.infradead.org; > > sboyd@kernel.org; mturquette@baylibre.com; shawnguo@kernel.org; dl- > > linux-imx ; A.s. Dong > > Subject: [PATCH V3 0/4] clk: new APIs to handle all available clocks > > > > This patch series is a continue of discussion from here, > > https://patchwork.kernel.org/patch/9986293/ > > that some users may want to handle all available clocks from device > > tree without need to know the detailed clock information likes clock > > numbers and names. This is useful in writing some generic drivers to ha= ndle > clock part. > > > > Note: > > This patch series is tested on MX6Q SDB cpufreq driver with a minor > > change to switch to use clk_bulk_get_all. > > But patch 4 only test compiling. Hopefully someone could help test the > > function. > > > > v2->v3: > > * address all comments from Stephen > > * fix build warnings on other architectures. > > v1->v2: > > * add clk_bulk_{get|put}_all() which only supports DT platform > > currently > > * remove _all variants and the wrapper struct clk_bulk > > * make of_clk_bulk_get and of_clk_bulk_get_all private until someone > > proves they need it because they don't have a struct device pointer. > > > > Dong Aisheng (4): > > clk: bulk: add of_clk_bulk_get() > > clk: add new APIs to operate on all available clocks > > clk: add managed version of clk_bulk_get_all > > video: simplefb: switch to use clk_bulk API to simplify clock > > operations > > > > drivers/clk/clk-bulk.c | 80 > > ++++++++++++++++++++++++++++++++++++++++++ > > drivers/clk/clk-devres.c | 24 +++++++++++++ > > drivers/video/fbdev/simplefb.c | 66 +++++++--------------------------- > > include/linux/clk.h | 65 +++++++++++++++++++++++++++++++++- > > 4 files changed, 180 insertions(+), 55 deletions(-) > > > > -- > > 2.7.4