Received: by 10.223.164.221 with SMTP id h29csp1694574wrb; Wed, 1 Nov 2017 22:33:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+S661gZkWRVBWXUdOMUqnmeQ+vjbnJyeYHQSYdrnqLLyjSrBc5MW/nkx4trNqyigPt1xfl/ X-Received: by 10.98.147.197 with SMTP id r66mr2517848pfk.20.1509600797712; Wed, 01 Nov 2017 22:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509600797; cv=none; d=google.com; s=arc-20160816; b=NKY1g7V8shhf1Jpkrl3IpwxCF4djgU2nQ6pIZJ13sfMOnm9moUAI7NktxY05V8TspR SawBycYC1cuOLo1zcpWWbNeBKG3DRpSQ5v+enHg5up8Kb8owd9e6KKmnYp5Cwr033nwv LnAd9gik2/jnL/ByYsv3/MiATxcMu26sJblKuB+GWSd0jWun1VEib2dZpOand9aSbnQk 1eZ0qL0FOkJz77zCIOAN6CqA1ms4DPXW/qhbEw9GsB0o/fUchOkTZTMQUQEppCZXE3E3 TYn6NNjQTTq5ejsWBmVEMjuWZPDcX9sEY8/ICzfAqcudDdzotkmXGh5EMEpaEhjO+HAy jYOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=bHywNmbN2rwicQ+dyBeE+qXJVydZRjKF4U8CH8PF4Pw=; b=p+35NDwrZOlqxheOc39D76ZGLhaJ40JGSBqUOm2mX4Dxi9JmB0dahMVYml80jA2Jr/ PlmN0/NsSNvT36v8WTWKv79/jdyNH5UzzXfJuACGGHnYPWqqtrC4OIIokr0HWAcXyjcU jlzhbKfsdx2y5ugatL6S/kRGk+vafqgSJJ7KhNKDxD4GZQWbCIa9DYm81QEEc3SE/tvc xoEWLHAT3N862I0hxoBD49UCEbi5hY2/Bg91x2/AcPSmXne5OdXTjBDtPE/z8T0ktgVH gpD1y8+/v/v2AeS/rzLk/65yrgMfLzLBI5Kye+fGwbvXTH1chFwAVJth95QK5+49yFUd IbmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=pKAt/wSF; dkim=pass header.i=@codeaurora.org header.s=default header.b=pKAt/wSF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s10si2554481pgp.531.2017.11.01.22.33.03; Wed, 01 Nov 2017 22:33:17 -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=@codeaurora.org header.s=default header.b=pKAt/wSF; dkim=pass header.i=@codeaurora.org header.s=default header.b=pKAt/wSF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752395AbdKBFc1 (ORCPT + 99 others); Thu, 2 Nov 2017 01:32:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33610 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786AbdKBFcZ (ORCPT ); Thu, 2 Nov 2017 01:32:25 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B61FD607CC; Thu, 2 Nov 2017 05:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509600744; bh=ZgZCd4ZV2UpIimqcjZo/VEG1EGaYn8GGeRE93P6lyvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pKAt/wSF/yhvNiPtuw91eNCe1/lSZ4sq0BAzmBMOArrBL4ALrJ9/b4HDQl+DfFBkB 5a4A1/eYVihl4QXPKeDigqql2rRzXSNsmzvURjGsVqYZzj9tCEHFepqNW2+vRBY/O/ HytBYiDLK/PYPmC/CMjCxX2ExUBV6fP48mi0pdZM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EC85C601EA; Thu, 2 Nov 2017 05:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509600744; bh=ZgZCd4ZV2UpIimqcjZo/VEG1EGaYn8GGeRE93P6lyvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pKAt/wSF/yhvNiPtuw91eNCe1/lSZ4sq0BAzmBMOArrBL4ALrJ9/b4HDQl+DfFBkB 5a4A1/eYVihl4QXPKeDigqql2rRzXSNsmzvURjGsVqYZzj9tCEHFepqNW2+vRBY/O/ HytBYiDLK/PYPmC/CMjCxX2ExUBV6fP48mi0pdZM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EC85C601EA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 1 Nov 2017 22:32:23 -0700 From: Stephen Boyd To: Masahiro Yamada Cc: linux-clk , Stephen Warren , linux-fbdev@vger.kernel.org, Michael Turquette , Bartlomiej Zolnierkiewicz , Linux Kernel Mailing List , Hans de Goede , Russell King , Shawn Guo , Dong Aisheng Subject: Re: [RFC PATCH] clk: move of_clk_get_parent_count() declaration to Message-ID: <20171102053223.GH30645@codeaurora.org> References: <1507166751-2012-1-git-send-email-yamada.masahiro@socionext.com> <20171012231709.GH18706@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/29, Masahiro Yamada wrote: > 2017-10-13 8:17 GMT+09:00 Stephen Boyd : > > > USB has a > > similar case, which I think Shawn Guo/Dong Aisheng was trying to > > add an OF based bulk clk_get() API called of_clk_bulk_get() > > for[1]. If this get all clks API works there too then we should > > use it. If it can be non-DT specific, even better. > > > > [1] http://lkml.kernel.org/r/1506415441-4435-1-git-send-email-aisheng.dong@nxp.com > > OK, we can implement it based on Shawn/Dong's work. > > My concern is clk-bulk.c still needs to include #, > but it is a bit odd since clk-bulk.c is a helper for clk consumers. > > Understood. I'm not concerned though, it's one place where this happens, not in a bunch of random drivers. What exactly do you need from clk-provider.h in clk-bulk.c though? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1582523760869493837@xxx Sat Oct 28 17:37:45 +0000 2017 X-GM-THRID: 1580379036941733641 X-Gmail-Labels: Inbox,Category Forums