Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1369455imm; Sun, 23 Sep 2018 02:35:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV63vsEAFejVMOV3GIR4gYcePCuM9wsanHMCfxpsJdOG49ptQOetMIgViEidfMbuBpZU+6LDJ X-Received: by 2002:a17:902:7e09:: with SMTP id b9-v6mr5820635plm.221.1537695359286; Sun, 23 Sep 2018 02:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537695359; cv=none; d=google.com; s=arc-20160816; b=oIro2muku6Wp/yMwZsZZ7AqvmJ+BmNf1dDgk9RSoBqeKI59V+oda4loPSQZL0m+OSe 5zroPDHwTslOOPoHsQkSRQ0et9ONikqw0PGRxQ3WoZ2FJWyYCN3BwUBiqhj/B110SnJ+ pnXU1Mao1rKtxrNt0xzPWbh0rc64DW23/NkRqLUSIcrIYjWOyArxxYmhn4Ga2Sn4biLb ZmpiCsDDiyqCA1g/E+upEhk8obfXxZ+unBslRzFkGmffBO1iptYFeU9Yh4CvdcXuEYWo WV4HG6HKDL0l8U+VmXiN/MyrL0sELl9qpEZ3DAND93+3PfTrehToJiGo+jS0yyKfKXyF UNiA== 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:dmarc-filter :dkim-signature:dkim-signature; bh=vMCLLDTOU2eAN/aHHTQHhgJ8kli4VMLsGwnN3LnMGDQ=; b=uq+cNHFHPTvJVgGSlEG/FgnM6yDQYtfHSFOfea7WC78V59kQGASWeSZmZcE+uPdV8q xmTqLA30S3tXv5LrLvD1sHL43e4zZFXswEs0ePuAQUqZcLmUVhPRtYgE9fPwKxd5WPfx aALvjR6FTg3yDu3aYoas5WS5dAB9Rqr/s4kmWpzqtnspNITSlkCXJ/bnqNFUQI18OITW LZRNS3nRp/mbyOWEePpOaEQfGvXqDTuLjWSbBtql18PYopdPesE/pfEu9qiJs8pxhlsr BTtoUiN75qTyrNtbMQSzJZE7gzXYApn9VCHBHsTdEgBBViQCYSTmw0wgQ5Rur9oWFfFP cZRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bwEm0PMa; dkim=pass header.i=@codeaurora.org header.s=default header.b=TElOT9+I; 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 f16-v6si7652024pgd.654.2018.09.23.02.35.44; Sun, 23 Sep 2018 02:35:59 -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=bwEm0PMa; dkim=pass header.i=@codeaurora.org header.s=default header.b=TElOT9+I; 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 S1726669AbeIWPcJ (ORCPT + 99 others); Sun, 23 Sep 2018 11:32:09 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35602 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbeIWPcH (ORCPT ); Sun, 23 Sep 2018 11:32:07 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 892EE60C85; Sun, 23 Sep 2018 09:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537695316; bh=JRt6QTdPzV+hiEmLqvodyH9j77nJh8dRpyJ164eCFjk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=bwEm0PMaBiKANlMR0T5/MSjNp0wCP/xQ5b/xLzkS5xUqs9rG602zZQehZCfvgM8xj d+xa9pZ6UzXq7YDWB95LULUH07T+SAdi1UY8YprxFJZ+1WRoy9ov9kPL1JlZxm2Qg5 4D31pFMiG/jWhPBGG3iDwk3yDf7qTjwgSGQK/IkM= 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 [10.79.169.181] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AE52960C81; Sun, 23 Sep 2018 09:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537695315; bh=JRt6QTdPzV+hiEmLqvodyH9j77nJh8dRpyJ164eCFjk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=TElOT9+IUdqQFKL+MOG00iF94qhkPDJN7dGbs840v2W4aIWlEfEte2ybiFGIwxHPj KCxNHAQxt/Ya404SZGrefh3qV/JAvEOIXMDKLx88L7QNshymqI1NRhQeMIM1eZNdGr rsUyqH74G8Mb43EJ/sFaz38QU6iu23D1iJcddbCQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE52960C81 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=tdas@codeaurora.org Subject: Re: [PATCH v7 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver To: Stephen Boyd , skannan@codeaurora.org Cc: Evan Green , rjw@rjwysocki.net, Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Rajendra Nayak , anischal@codeaurora.org, devicetree@vger.kernel.org, robh@kernel.org, amit.kucheria@linaro.org References: <1532428970-18122-1-git-send-email-tdas@codeaurora.org> <1532428970-18122-3-git-send-email-tdas@codeaurora.org> <1ddda4b9e6dcd7ad415235f4d6af2dc7@codeaurora.org> <153333504360.10763.8964005567051510823@swboyd.mtv.corp.google.com> <4d37a1ee4f2d5b30da3f62cbfca756a8@codeaurora.org> <153370933225.220756.12056174025047430491@swboyd.mtv.corp.google.com> <153504951102.28926.11593809590549791317@swboyd.mtv.corp.google.com> From: Taniya Das Message-ID: <3e6b6874-3560-0ea0-6861-9f47f308e089@codeaurora.org> Date: Sun, 23 Sep 2018 15:05:05 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <153504951102.28926.11593809590549791317@swboyd.mtv.corp.google.com> 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 Hello Stephen, On 8/24/2018 12:08 AM, Stephen Boyd wrote: > Quoting Taniya Das (2018-08-08 03:15:26) >> >> >> On 8/8/2018 11:52 AM, Stephen Boyd wrote: >>>> >>>> Binding describes hardware controllable by the OS. That's the reality. >>>> Let's not add mandatory clock bindings for clocks that the OS can't do >>>> anything about. >>>> >>> >>> It seems that you believe clks should only be used to turn on/off and >>> control rates. That is not the whole truth. Sometimes clks are there >>> just to express the clk frequencies that are present in the design so >>> that drivers can figure out what to do. >>> >> >> Stephen, >> >> As this clock is not configurable by linux clock drivers and we really >> do not care the parent src(as mentioned by Saravana) to generate the >> 300MHz, would it be good to define a fixed rate clock so as to express >> the HW connectivity & frequency? >> > > As a hack that works great, but why do we need to workaround problems by > adding a fixed rate clk to DT for this PLL? The PLL is provided by GCC > node so it should be connected to the GCC node. > Please help with review the next patch series which would take the PLL phandle from DT. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation. --