Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp926582ybg; Wed, 10 Jun 2020 18:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhloAhCFjbPm3e1Nqvio0Ed7y25rhAZV+8UyWRHfCwqmfmASR4nZQhDCBgmIkh6CM8omZG X-Received: by 2002:a50:9a81:: with SMTP id p1mr4792581edb.221.1591837776663; Wed, 10 Jun 2020 18:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591837776; cv=none; d=google.com; s=arc-20160816; b=Fl6mC+YrI+DfJ3UnDbNEenEJp/rd7QndazXHvBjJy7mT8Db2JCnCHVA7EKLGtyRb6I 3qKfefaijy51D4BLxnAy2R+delyu58C5N2UZfcKPuI/YSl9YIa2SH4OLEWYLQ5ocmVtA oIMN4zI/atMeNnMUjvQS11avRR+QAP4PiyRpWVt1jULJRgFfb3zQxKDPAuyFO/3hY8iL rkIRsJLCH8vtgZ2f7GYroeO+c2/qDge35WeQ2q7iZ1FI6EeVeCqFZd/juABpvnOZC8bL 7tW3whesQTJ9Z7yDhu/bYevQ68gy3t9/Lxflk+GipncEvNaFkFC4F+XCq/zKHaVhexkL 90Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=RbZF6IRPJQ699LkFQyaDxe0hFQSHidql9GdKoM67icI=; b=j24qfeBcEOqI4TT6Lb+tvqTuPJb1+zlNBudgR+O8xVtBhffMOhvwUAJm5on9+YaPMZ lOgkWkaw+rCUbkrvL7pbI+1CRfsDjORuFTd3Do6k6EVvwkKsyy0Qxcy9Ac1gOeDTvIsH 5+/plBGlBZStzV+SF5nV2xgVZfbeieLIGyw7W4B8gkO4g5C8pUcKxUePm3pVFeYsPO8x vzibFREi/t+sXw9i9YSNBmbINuw6ze7mjKvs9G9K9f5waM4IRa+k8EDyyDl4ATNfzhDw RUNihj+LAGXBtNrVbZiug73ZHBvSlzcwatP/E6W2wJsA7UxEX1bKVmP5NVu9Au00H2h9 sKyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="p5Ws/B7v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b16si763935edw.278.2020.06.10.18.09.14; Wed, 10 Jun 2020 18:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="p5Ws/B7v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726312AbgFKBGo (ORCPT + 99 others); Wed, 10 Jun 2020 21:06:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:46534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbgFKBGn (ORCPT ); Wed, 10 Jun 2020 21:06:43 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 643962078D; Thu, 11 Jun 2020 01:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591837603; bh=W6LKa2P4P/rOjYxLOpN3TGjHxp6jobdkYSFv//1nxqI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=p5Ws/B7v9A2CtqbLecns1vXEfFust/09wjIA3exRacTuoXpAUu1lFo/8oQi1QviGH rWzf2rT+Jx9bbxyjuuDKAZ99lRt4PBEKCa6Ia+lB0qKC2dS7eA5KYoR0vt+H6Q2ioR eddd++OO/z0hFuBbX8Tdf2N+8e0S9oruT9rl4AJE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <3ac34bd7-bc5b-bc04-99ba-8ba3c5a9a691@codeaurora.org> References: <1589707344-8871-1-git-send-email-tdas@codeaurora.org> <1589707344-8871-5-git-send-email-tdas@codeaurora.org> <159054904061.88029.1394425232497625411@swboyd.mtv.corp.google.com> <3ac34bd7-bc5b-bc04-99ba-8ba3c5a9a691@codeaurora.org> Subject: Re: [PATCH v2 4/4] clk: qcom: lpass: Add support for LPASS clock controller for SC7180 From: Stephen Boyd Cc: David Brown , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross , devicetree@vger.kernel.org, robh@kernel.org, robh+dt@kernel.org To: Michael Turquette , Taniya Das Date: Wed, 10 Jun 2020 18:06:42 -0700 Message-ID: <159183760269.242598.3005455698894049563@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Taniya Das (2020-06-10 10:11:49) > On 5/27/2020 8:40 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2020-05-17 02:22:24) > >> + if (ret) > >> + return ret; > >> + > >> + lpass_core_cc_sc7180_regmap_config.name =3D "lpass_core_cc"; > >> + regmap =3D qcom_cc_map(pdev, &lpass_core_cc_sc7180_desc); > >> + if (IS_ERR(regmap)) > >> + return PTR_ERR(regmap); > >> + > >> + /* > >> + * Keep the CLK always-ON > >=20 > > Why? Presumably to make sure we can access the lpass sysnoc path all the > > time? > >=20 >=20 > This is an always ON clock from HW, just making sure to keep it enabled. I'm not following. Hardware says it must always be enabled? If it isn't enabled is it even possible to write this register? >=20 > >> + * LPASS_AUDIO_CORE_SYSNOC_SWAY_CORE_CLK > >> + */ > >> + regmap_update_bits(regmap, 0x24000, BIT(0), BIT(0)); > >> +