Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2570079pxa; Fri, 7 Aug 2020 14:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLa9ESLRrYxpMO6MI6/QkD5RNVlzLSsPvHZXbyLu6PL3n82r1F1lEsJ0rQPgzEH5hWLhqp X-Received: by 2002:aa7:d818:: with SMTP id v24mr11199986edq.259.1596836619332; Fri, 07 Aug 2020 14:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596836619; cv=none; d=google.com; s=arc-20160816; b=Ucd++lBlnTJj9/ZC3zTQjvbN1KEjy1YEpNCI5BWem5VvDqiNk3a8UVWnZKd9AF1BXr i8qbupTc4w2oB0l2hXqZ5DXX9KkCTu2XSJ7wGkOY9VzVgjr1Wd36R0qxHoFJ+dxRuGAP rIzkndUpRKKkV0L+hM7zF9sCXq0sckFYDtmBAbr9RtUFGktZD2taMmE8kuupS7VpKmll UoTiMC4ITOtrh3CzPX8xmpgV7Xp6tqP3Po89WnJx0XHVHX5c8xXXQ9SR90LEWpxDh1hn 5Y/sqkeTWH/UkKmyuoDnrEz54DM61aZzAgWhiDhzKwvOIPiRmlMk1f9ReI7+qyJOaPkU HX4w== 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=0ZPTpdxzlk/66qsx1mAbON0/ae+cOZ7pauCs7kW5OyM=; b=BEeXv8dM+JDESo6NyBtLB2GhfyursVOxrL8/UxE6Rd53MBdGdXiwPj5zgQRMGdf6xP OJXvQj3MSYRjy47JMuESYq3M5RRBpGrf1zwOewkDRlofQ1gCy2Pi7D0393CMTR2EspdJ 3gqIdIjupUEH5x/YunlWKxQueCmar+JLZGyc6tYNwrvkALk8m3VyHZD7msp1B/Joc96l Ce3ggN9OBeNbWAcDAv6N/V1p/dlGy3AXmimcG5jUnyqBKkeCeRbuoPggafRQaa7QCLGC ID/gKhSBK6Re/TcnXqXGVPoi3ciS+POO9T87clGZx6fnnLJcVIfdhR1nEpU2jlUEXARw jdhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o3p7Ebfj; 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 j9si5986743ejx.438.2020.08.07.14.43.13; Fri, 07 Aug 2020 14:43:39 -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=o3p7Ebfj; 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 S1726242AbgHGVmp (ORCPT + 99 others); Fri, 7 Aug 2020 17:42:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:43820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbgHGVmp (ORCPT ); Fri, 7 Aug 2020 17:42:45 -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 AE0BA2086A; Fri, 7 Aug 2020 21:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596836564; bh=amSzRwwB4oYiIBlYBqJnUvxcuZpXcMQU+1NE13Uhz/w=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=o3p7EbfjtrsPbqMjEVpHTChatxG2U+g+Y/76zMxBGYfXNq47yA5q1xAtEyNT7UUTA AVnyg+xclHYJkn7eJbqYZFYEenzOPSzAbYIobeJ86YspziAZBtnBN382qb27VMzAcs FykDgGgEcIVzWrR+yMzt3LPk7wQt6K6G9b8/UIBw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <13ac9aad-2377-472d-b2be-a762a21c2dac@codeaurora.org> References: <1595606878-2664-1-git-send-email-tdas@codeaurora.org> <1595606878-2664-5-git-send-email-tdas@codeaurora.org> <159665909245.1360974.10366839079633595523@swboyd.mtv.corp.google.com> <13ac9aad-2377-472d-b2be-a762a21c2dac@codeaurora.org> Subject: Re: [PATCH v5 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: Fri, 07 Aug 2020 14:42:43 -0700 Message-ID: <159683656359.1360974.18078513144154056292@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Taniya Das (2020-08-05 22:23:05) > On 8/6/2020 1:54 AM, Stephen Boyd wrote: > >> + .hw =3D &core_clk_src.clkr.hw, > >> + }, > >> + .num_parents =3D 1, > >> + .flags =3D CLK_SET_RATE_PARENT, > >> + .ops =3D &clk_branch2_ops, > >> + }, > >> + }, > >> +}; > >> + > >> +static struct clk_regmap *lpass_core_cc_sc7180_clocks[] =3D { > >> + [EXT_MCLK0_CLK_SRC] =3D &ext_mclk0_clk_src.clkr, > >> + [LPAIF_PRI_CLK_SRC] =3D &lpaif_pri_clk_src.clkr, > >> + [LPAIF_SEC_CLK_SRC] =3D &lpaif_sec_clk_src.clkr, > >> + [CORE_CLK_SRC] =3D &core_clk_src.clkr, > >=20 > > And all of these, can they have LPASS_ prefix on the defines? Seems > > like we're missing a namespace otherwise. > >=20 >=20 > These are generated as they are in the HW plan. Do you still think I=20 > should update them? >=20 As long as there aren't going to be conflicts in the clk names I guess it's OK to do nothing here.