Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2008019ybl; Sat, 7 Dec 2019 06:34:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzQc/utvWWPlzN9FCGw1VTG1u6p+/kOuIUj9iVN9I1FMQAJvfKpKzuZJUlX1cMIVZ5k6aqd X-Received: by 2002:aca:1a10:: with SMTP id a16mr11715310oia.9.1575729241240; Sat, 07 Dec 2019 06:34:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575729241; cv=none; d=google.com; s=arc-20160816; b=WEreas+HUU5BneP62po+I+Io9IlkfgY/S9LjjIHoi/ZpnwoSEGq3c3RGu3pUstxywu Z3+u57GYPT8CC6w1Pf1XFEDN7h94LHrIGjHiDZqQDDw3y/rkuUtR4uKvWfNOxwUXEfwL YCQ2PJi/NXBx2rTRTMFFCoMhBM7LQDW4Mg5dcSGeQdpSt2Z9pP66BNES5es7ERGjiNyz dP7kIB0UNwzinBADKN08EOLaacTfCj+NCP030m5/I0NGfMd/7vwDzr0sUkUlgWVYVcPx t/Jag/EIAxSHJ9DAq+ikTL1/7dSJF5KJyeYn3eVY28RZ0j/ssDk/f8t/R7Yq7vbCNDCP tYgA== 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:dkim-signature; bh=/FFDjLwGzWA9HSQGVIzBQAFJnVseiTav15XJa3GBc3M=; b=ZiUwj/1MRGlPsxx4ZiHm5R4sTSFlzMCKXafeVzM3F/c5DqJ8E8Yj8FFpOiUmP5fak+ I37OU4hzZTh5LqlOuR/GTx0KfhVa1EIVCHfaxHhG/j+C7sw8lQC7bk6xRLjebmrROuok 6FvPLFZj5uJnVfZdqBUwGyh3QcbA/jt7lw8NvZ1pGixl5Zo/3hmb/KcFJn0UdomKFTsT AW60CNSioE3AHZ7N5ITBRQBUp34HKGx32Gxc87TXcpbs+EiOYDRWgFO+jeVKxB4er1Tm ofKN3snodSQ3yd/n7Prg3IiRKdDn6TimKRYtmGp6Ajwh0FRwee+KBfd7XdJaKJ5UiigH PGNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K3aQ1qbn; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o13si9177559otp.27.2019.12.07.06.33.49; Sat, 07 Dec 2019 06:34:01 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=K3aQ1qbn; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfLGOdY (ORCPT + 99 others); Sat, 7 Dec 2019 09:33:24 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45863 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726397AbfLGOdY (ORCPT ); Sat, 7 Dec 2019 09:33:24 -0500 Received: by mail-lj1-f193.google.com with SMTP id d20so10709766ljc.12; Sat, 07 Dec 2019 06:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/FFDjLwGzWA9HSQGVIzBQAFJnVseiTav15XJa3GBc3M=; b=K3aQ1qbnb55GNOBjWlsAMHcHx4YpXkTmspJZNtQXfZdFyWE+cwSXhC+prKM7Cj+7LU jduHbB8Y3SawAfvF6BiO8joJc70Bkgx827I05VZk19e5S08pWQHu0Xcj6ubmkd9v01yz 8vUqyzhjuQuo0tipFfpM4TEbT+am9WsUMgmv74hmFUD5Zr2yprED8P8W42B5XsatRe9S 38WrXZFsAGdVu3KbEql7dhqguT+YQlZWhEvwJyyK9ghBvbfEPEAFUPiFXdK9weISgcb/ /GbNBmS+Dg67t1paCZbFk9QohnHq8yqD2EqOYGBFRHLDRRrZm8Dj+vv5w6l+R7nUiWbP PXFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/FFDjLwGzWA9HSQGVIzBQAFJnVseiTav15XJa3GBc3M=; b=T7fb5wCFhWuvVJfSa4GmugX89IJzMVSQYSSLAo3z9q6cLHGbX6wdI7weAMNCOOyFct v9yd3epjvugCovTamoN7zKzBBphs9V/D8FWHHJZ5foHBj1gamdmUiFZhUCJ3fqvj9y+7 YqMAskPjFNOXbISmT6pjZw8ix3J6BNlab+Hmmz6y256W0kEuXZcRanPtxbky1KlHf37X 8uVL3XU/wX4PCssGBwvjDfWgrrSSfbe3cpRiXd2Th5gbKKtbEE56/eKXVpKCrUG4Ac/B MopbppdatA2KZmoOt++MRoBZTuTeAQQOEw2QcFzUw1zT2gD6JjGDSSgLzALA7nwqqWDG eO1g== X-Gm-Message-State: APjAAAXUWqmpLXDGkRnSKrO5TKazXNollmxTY5SYgzJNmItG00XaSEb3 b9tcpwy8hxmC4Iu4eQOVttQ= X-Received: by 2002:a2e:9705:: with SMTP id r5mr10932018lji.114.1575729201868; Sat, 07 Dec 2019 06:33:21 -0800 (PST) Received: from [192.168.2.145] (79-139-233-37.dynamic.spd-mgts.ru. [79.139.233.37]) by smtp.googlemail.com with ESMTPSA id l28sm8132397lfk.21.2019.12.07.06.33.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Dec 2019 06:33:21 -0800 (PST) Subject: Re: [PATCH v3 06/15] clk: tegra: Remove tegra_pmc_clk_init along with clk ids To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, mperttunen@nvidia.com, gregkh@linuxfoundation.org, sboyd@kernel.org, tglx@linutronix.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: allison@lohutok.net, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mturquette@baylibre.com, horms+renesas@verge.net.au, Jisheng.Zhang@synaptics.com, krzk@kernel.org, arnd@arndb.de, spujar@nvidia.com, josephl@nvidia.com, vidyas@nvidia.com, daniel.lezcano@linaro.org, mmaddireddy@nvidia.com, markz@nvidia.com, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alexios.zavras@intel.com, alsa-devel@alsa-project.org References: <1575600535-26877-1-git-send-email-skomatineni@nvidia.com> <1575600535-26877-7-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: <3880aa15-c47a-5ab2-dd39-e8a47f6a3d6a@gmail.com> Date: Sat, 7 Dec 2019 17:33:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <1575600535-26877-7-git-send-email-skomatineni@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 06.12.2019 05:48, Sowjanya Komatineni пишет: > Current Tegra clock driver registers PMC clocks clk_out_1, clk_out_2, > clk_out_3 and blink output in tegra_pmc_init() which does direct Tegra > PMC access during clk_ops and these PMC register read and write access > will not happen when PMC is in secure mode. > > Any direct PMC register access from non-secure world will not go > through and all the PMC clocks and blink control are done in Tegra PMC > driver with PMC as clock provider. > > This patch removes tegra_pmc_clk_init along with corresponding clk ids > from Tegra clock driver. > > Signed-off-by: Sowjanya Komatineni > --- [snip] > @@ -1230,9 +1222,6 @@ static struct tegra_clk_init_table init_table[] __initdata = { > { TEGRA30_CLK_PLL_A, TEGRA30_CLK_CLK_MAX, 564480000, 1 }, > { TEGRA30_CLK_PLL_A_OUT0, TEGRA30_CLK_CLK_MAX, 11289600, 1 }, > { TEGRA30_CLK_EXTERN1, TEGRA30_CLK_PLL_A_OUT0, 0, 1 }, Perhaps these clocks do not need to be always-enabled? [snip]