Received: by 2002:a4a:3008:0:0:0:0:0 with SMTP id q8-v6csp865634oof; Wed, 19 Sep 2018 07:45:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdadOLOkJfGRzs/6E5kMNhGcYNko/tME/AShqxxLwFx/Ol2Ax7sn0jsECpkppgvEqt62Z5Rg X-Received: by 2002:a62:3a08:: with SMTP id h8-v6mr36439870pfa.61.1537368354939; Wed, 19 Sep 2018 07:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537368354; cv=none; d=google.com; s=arc-20160816; b=0Pl5SppZIdlaB+Oihu8IYsyqSWjBA7YBStnOk5e74cU9mxJ7aqZJUAl5OvJ6E8ZZ7C tNZfXm7+44RuyZhykjgnqMOv0+S/WeBs3MO8Wkwr6nC9kUeVsgACZaXf0p7OPwufhpFq 2yiDsls92XJJlMRvF5o5QR94KbiVDlptXgfblX9JhRsd5/3MDtzoiym7373hFW23HWvN pPXTsCd6kVyduvpcl5vLfyNLOI/Y2nb/sZbN/J5UiO3oArPukmAbrmci/Ik6Kgqb4Eu4 tq9b/rcAQLtGbusKDxb0f2ZfMq/d9DWTHMwGSeDxwY93TB3ZokBwo5nMnhDZMtv69pd3 IDVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to; bh=6W/sSdfO8rczPsu4smNJ5TXGpZ76/0OZamGeq14wxas=; b=WEWL0rhNH8woyvS2AR16oXxDKyNQpkatzBI82nye4E8yKPrGNq1+x1S/PQfhxESxjz 2ULOnmn0KhlaWTh1MDX8f4q7Q3wvOZEtLWSKB1/BKMmSGu/x0ASQkZ+sCXj+2GYB+kwF O8GzE6j4AFm0cUQCYWDkWx52uXW1GIDBdloQSGZGWSJkd5mwxz8gcqhZR1GJklI/Gdks EL3/6Hl/jC0KR1SPRyNIotDD0ZiYQSg4SCOp00mW08TuKNfy5UJhXea+jRyfqjnvNuZG ISf5jT5GIIvkvphGn0zff0fZlFulBhbXq0j7zUDCOPg6e0+QRJ2jROVJTmmsoJAqFoiZ rIUA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y26-v6si21046381pfn.111.2018.09.19.07.45.38; Wed, 19 Sep 2018 07:45:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732178AbeISUXO (ORCPT + 99 others); Wed, 19 Sep 2018 16:23:14 -0400 Received: from mga18.intel.com ([134.134.136.126]:62082 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730986AbeISUXM (ORCPT ); Wed, 19 Sep 2018 16:23:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2018 07:44:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,394,1531810800"; d="scan'208";a="81693516" Received: from tthayer-hp-z620.an.intel.com (HELO [10.122.105.132]) ([10.122.105.132]) by FMSMGA003.fm.intel.com with ESMTP; 19 Sep 2018 07:44:54 -0700 Reply-To: thor.thayer@linux.intel.com Subject: Re: [PATCH V6 0/4] clk: new APIs to handle all available clocks To: "A.s. Dong" , "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 , "hdegoede@redhat.com" References: <1535690756-22234-1-git-send-email-aisheng.dong@nxp.com> From: Thor Thayer Message-ID: <7e612f6f-e9d2-2f6f-1903-3a6bcf1b65ba@linux.intel.com> Date: Wed, 19 Sep 2018 09:47:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 09/16/2018 08:24 AM, A.s. Dong wrote: > Ping again > >> -----Original Message----- >> From: A.s. Dong >> Sent: Thursday, September 6, 2018 11:23 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; >> thor.thayer@linux.intel.com; dl-linux-imx ; >> hdegoede@redhat.com >> Subject: RE: [PATCH V6 0/4] clk: new APIs to handle all available clocks >> >> Gently ping... >> >>> -----Original Message----- >>> From: A.s. Dong >>> Sent: Friday, August 31, 2018 12:46 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; >>> thor.thayer@linux.intel.com; dl-linux-imx ; >>> hdegoede@redhat.com; A.s. Dong >>> Subject: [PATCH V6 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 handle >> 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. >>> >>> v3->v4: >>> * improve 'devres->clks = *clks' according to Stephen's suggestion >>> 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 | 72 ++++++++++--------------------------- >>> include/linux/clk.h | 65 >>> +++++++++++++++++++++++++++++++++- >>> 4 files changed, 186 insertions(+), 55 deletions(-) >>> >>> -- >>> 2.7.4 > Just checking on the status of this patch. The clock routines (patches 1-3) are useful for one of my drivers but if they aren't accepted or will take a long time to be accepted, I'll need to refactor my driver. Thanks, Thor