Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4097123imm; Mon, 25 Jun 2018 09:39:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK1iFxVSZ6p9von0wowrhpPKcGjJHt7Woia/xylRocmS5ILvVUfSPorxs77g/e7GflyALvg X-Received: by 2002:a62:5bc4:: with SMTP id p187-v6mr2248238pfb.226.1529944773887; Mon, 25 Jun 2018 09:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529944773; cv=none; d=google.com; s=arc-20160816; b=uLoUtPwDqrkhRHHkEdzwRK+pjLSQBK9GrM5D66K4rFmchaqV6ABUUd9w8qywtI43lO /eAnFhDQJStTXciNVmqPzATWP08DH+bHNqUcyJtUjiYPRizY6WwgTLH02qpZihZ7EgGo POxwajJIO1eDRq3Fm8KpPnR+5PbUYiq2kMLBH8Ty9frEzEVcczIluqTvNaxk7+X2aVIe xc9blcSUXmqynLjziHweiKGJtRkwAGwDID+P3/q8GRDfQm3cTMhns8SybOE3DYna3Wwa irWMjR4F0+vkLaadtWlqV/+VoTGnR9L7okN0tTGWkHd5f8C8W1pziyLk97Wnc5iWiiQg 7iXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=8BmREDQSPd6cPCyXu/Z52hUi1hslr49rvqxyn5IlAkU=; b=p+KOgy2rKFSVzgK0QNjS/qvtHEphzYOymLHpy0kKmqcd/L+9m0cnPLUAnO01KyrPEX riB4yR/MGgnIjDibAd0P+jpGsJXeZFRYebKzr5a7MVYIKHXlZ1iSVymw0DNG+SlK+bAQ 5J5PvMBnhg1ncX+whJ4UI91q1KtzhtwNTTZVnHo+xlilC1Pld6aLi/OF7mI/30QyXWE5 rJS4A3NkjI95k1sbybUKGJq3AFu81K4jEwyUXF/XlxZKktqdCsbka3ycY8yOONpJn/WR 8B7qs9ObipuQ8nDKBTB5AY0O0gzK2rJpUTSQT+YnFA2tO6WA+liyPqkwqc9kq06VKiaw o7Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SJTTEno6; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16-v6si13506174pfm.341.2018.06.25.09.39.14; Mon, 25 Jun 2018 09:39:33 -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=@kernel.org header.s=default header.b=SJTTEno6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933720AbeFYQhw (ORCPT + 99 others); Mon, 25 Jun 2018 12:37:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:48352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932315AbeFYQht (ORCPT ); Mon, 25 Jun 2018 12:37:49 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ECC0E25C50; Mon, 25 Jun 2018 16:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529944669; bh=8BmREDQSPd6cPCyXu/Z52hUi1hslr49rvqxyn5IlAkU=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=SJTTEno6cLfPjq8o0AhQ0u4MzaSzc54whb3UI0tuQ0G7XajQ6MC+csKATC89WUyKH UOQmTQLQBth8dmU7mrYb6n61IRn/PtbmVX+x4h9ddMFkhjlelujed0NINVcKW2WuTY VcnTQlOnbWY+R+/zULJFrAsaa107T58p/kmtQBV8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "Rafael J. Wysocki" From: Stephen Boyd In-Reply-To: Cc: "Rafael J. Wysocki" , Andy Shevchenko , Srinath Mannam , "Rafael J. Wysocki" , ACPI Devel Maling List , Michael Turquette , linux-clk , Linux Kernel Mailing List , Mika Westerberg References: <152908459103.16708.4012421602830600322@swboyd.mtv.corp.google.com> Message-ID: <152994466823.143105.11787470853817181844@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: ACPI support in common clock framework Date: Mon, 25 Jun 2018 09:37:48 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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.