Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4136412imm; Mon, 25 Jun 2018 10:18:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLsPy3Nks7EoAtqojAD2sXiRyobZsprlNegOoJsvAsBE/mYFLzUarac76VhSRL0GA+vnwf5 X-Received: by 2002:a63:8648:: with SMTP id x69-v6mr7990590pgd.172.1529947085318; Mon, 25 Jun 2018 10:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529947085; cv=none; d=google.com; s=arc-20160816; b=crRa8K8NS8wLBJvtXEqrGVBg82VXuE2sHvL2vITlsujjZqVJDrF3GSF5/OLCwDmbkO tlQJld74XF/1xwaOgqP10Kv6dchLKtfoQQf/YmFPnDF1wkHXoJcWcybxWAFAun+GBduZ I+Ydia55hPOW7eqL+jgAGrEj6y749TmjUCPqaAlhJjNpRMzcK9269B1uzRHVrVR1SCn/ qZ77BITgSY6e9vLgs5Fx+4HqW/YZ2y4PRIvxtMXz7DaZVXBx2t6MFUxENnzdwqs7mEHz lAHEaENbQV2Ry9gpbPWFHST+tOfwujwQm6uQ/A89vr1+8eFSb9mZanuZw4KyM25Aps5f zjFw== 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:organization:from:references:to:subject:cc :arc-authentication-results; bh=RpewJ9aE5nklhRbo5ucaFX+6o3tSPUaN4xd1TeNdRDc=; b=quoK7NqVDVNCKVl7dVlSemCMfunMGN35hwAJRAybQA6mUYQeDThHTN9GHkq8ozJScs 5E0VCy6vRuIgsytXdRRvsKeCZR+haDK/k+Se/A+SzIgCOgz3fhPw+RvcjQjaYTE3MHq/ qRw1UI/pTdI3qHaqbityntsa1/mG8wl04uvAfSYXDpkeudHlN57VCqfkWEsWABU1jIJC C7uZyxA/ZkMlY2KDjewnoLhtm+HupHOAGDQkXSsM5+MRM49BAFtUUDUrAlOTfXjMh3jS mZYuaDlSmkZVhKdXm2CNFwu3/91j+yVcOUt8BRZ/JOQENaqqs2w7LGT7nHxHJ05pLz0M 45JA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j33-v6si14483936pld.151.2018.06.25.10.17.50; Mon, 25 Jun 2018 10:18:05 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964833AbeFYRP4 (ORCPT + 99 others); Mon, 25 Jun 2018 13:15:56 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34084 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964790AbeFYRPu (ORCPT ); Mon, 25 Jun 2018 13:15:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BFB4180D; Mon, 25 Jun 2018 10:15:49 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 012673F5AD; Mon, 25 Jun 2018 10:15:46 -0700 (PDT) Cc: "Rafael J. Wysocki" , Sudeep Holla , Andy Shevchenko , "Rafael J. Wysocki" , ACPI Devel Maling List , Michael Turquette , linux-clk , Linux Kernel Mailing List , Mika Westerberg Subject: Re: ACPI support in common clock framework To: Stephen Boyd , Srinath Mannam References: <152908459103.16708.4012421602830600322@swboyd.mtv.corp.google.com> <152994466823.143105.11787470853817181844@swboyd.mtv.corp.google.com> From: Sudeep Holla Organization: ARM Message-ID: <914341e7-ca94-054d-6127-522b745006b4@arm.com> Date: Mon, 25 Jun 2018 18:15:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <152994466823.143105.11787470853817181844@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8 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 On 25/06/18 17:37, Stephen Boyd wrote: > Quoting Rafael J. Wysocki (2018-06-16 08:50:18) >> On Fri, Jun 15, 2018 at 7:43 PM, Stephen Boyd wrote: >>> >>> Is this for clk_enable/disable? What about clk_set_rate() or >>> clk_set_phase()? Is ACPI's AML taking care of that? >> >> That's for clk_enable/disable AFAICS. >> >> AML doesn't manage device performance states at all. > > Alright. We may need to add a better way for device drivers to get > handles to clk pointers on ACPI firmware so they can change frequencies > or phase, etc. Is there any specific usecase/device needing this in the kernel ? SPI slaves ? > Right now it's all through clkdev and it looks to be > mostly based on string matching of connection names instead of > associating clks with devices. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Regards, Sudeep