Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp930069ybc; Tue, 19 Nov 2019 11:34:59 -0800 (PST) X-Google-Smtp-Source: APXvYqx4uGd0+JpDgK6QzyRNg2KWPhquR9I5h/9pS1rY8SPvUbEBB68Pdj90VZ8SIHduK0xbG370 X-Received: by 2002:a17:906:5c0d:: with SMTP id e13mr7418792ejq.82.1574192099150; Tue, 19 Nov 2019 11:34:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574192099; cv=none; d=google.com; s=arc-20160816; b=ihMGUNuC2KtcwvvHOukzon854KQuRz+ZiD1NMK9v3p7BcKF9GfFBIOfarRkbNbctDy K2p89IyQJkDwYQfYGcyfGu6dmI23Luz89XiYc20TSo2nsPFkmoTDOxa9QV5A1J1yk/4V B4lw6AtNlsLTj4cb4/brsccx9XAY5bE9UKd9X//vNW846YmFIQMV5jgJFhrQj33cAcP4 Gof/KFi5IiLKN4bTygAcIJaRCX1eLwjc8wAmxexvwm1Q+KxgCvVT3YU108E0O7Ft2RFV Cb0jsnY46tYpJ4yE0EYTlCc5VusCBoVGkGqr6W23v9GYhOSYcGzI9HFaVGBWtzZn6E3P HSwg== 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=K/wS8YbexkELQZx4ScpHh2pnM5m90l0vHV4bZJCcSQo=; b=dCr752yqMj/uIdnsq8TTUs+7RMQz85esR3S0TL8b0E6OoQ2O8BkyNUTDqZAlgTcb42 9M/RsJcrHwua2egJ69hm6QcM/A2qWLJACg/lfuzuFpdz5meakuDLb0oxQIl023IiQ+zB ddCU4/HvSFALCSt9nyohgLaTCyoYX/spwTBcjSz0qBX+OKexFaai8TcQBMrwdg7Qe2UV hCy6qsjYovnqskaUZb5d0T9faVZnVvawwtNd78rmswysljmebwoGLM+MzVKcKHVGqezF UVim11bDu41Z9hnmQIzWVrXDTNocBvZlno46pHJG9Fk6PDf0PyoMaOc31sDETTHuhBl8 10PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q67Eo3FK; 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 n6si14312624ejk.160.2019.11.19.11.34.35; Tue, 19 Nov 2019 11:34:59 -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=q67Eo3FK; 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 S1727521AbfKSTdW (ORCPT + 99 others); Tue, 19 Nov 2019 14:33:22 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:44363 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbfKSTdV (ORCPT ); Tue, 19 Nov 2019 14:33:21 -0500 Received: by mail-lj1-f194.google.com with SMTP id g3so24667350ljl.11; Tue, 19 Nov 2019 11:33:19 -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=K/wS8YbexkELQZx4ScpHh2pnM5m90l0vHV4bZJCcSQo=; b=q67Eo3FKgEaS5G/rWOxTm80yl+6l9H4pWDOOImts/4fXTWTZmPG6aIc33CdhRS2uPn qoh1Y5hans7jOz8KNE852BxHSaZ8q9+jOS627/ysBRKjdQosU8eQY4YrFyRIaMy4klM/ aZFFSboxln6pwVrLG2q4fg6O1YL6Kf1WEUncbNuqZ50N5XcV8ArpR4G28ePXKx6FmfK6 8xoMdMHiCww75QhTX3LcJ5/llnw3UM/zTaeukb33hgfgbbH55UUU6+MUYwrxqbekyFve u4yNSU6bXxFwghXGMf9qzWW8QP3r+fFj+QGABECIfMgAn4RguN9odp3fI7zxHewWf4C3 Be4g== 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=K/wS8YbexkELQZx4ScpHh2pnM5m90l0vHV4bZJCcSQo=; b=NGPlsCbifjPud3+xiFZ2pfmJZh/UCDYUnazePn9yTMeH8EI6ACjZTRpbmm9HiBMmAH g7bMTmXPlm7KzG6XDjNymWDP+nBA150E764+Qc6V8IaSge7moASYBkdlT/4/a8v5ZsmV 2iUQopmTxw+XmTmJ0LfzgBEI405EvRwVDw3DkfxINqGy4FgrK3JsP6xeKmERiS2pb2Hn 6Swc7W5+uLKN0mjsCnTC+xAWl15XaQ2hoZ4eH1ExMK2bcBjR/A2NqpIFCdCl9bnawlQC WcjtOSpUdwSsDyd5UPGmSjD7fON86K1H5ETAaDJWX9LvDV+vAMKaNoyEKt9jK/XAHdJu wB1A== X-Gm-Message-State: APjAAAXdVk0xduytTRpj85p/W6hJKvzgq4pDjeQzi+8cwuMNwo5vA4Nb gyDQknjpp8mzHxAEzI57rfgeY46h X-Received: by 2002:a2e:8188:: with SMTP id e8mr5346065ljg.152.1574191998403; Tue, 19 Nov 2019 11:33:18 -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 g23sm12278480ljn.63.2019.11.19.11.33.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Nov 2019 11:33:17 -0800 (PST) Subject: Re: [PATCH v1 10/17] 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 References: <1574146234-3871-1-git-send-email-skomatineni@nvidia.com> <1574146234-3871-11-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: Date: Tue, 19 Nov 2019 22:33:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <1574146234-3871-11-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 19.11.2019 09:50, 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 > --- > drivers/clk/tegra/Makefile | 1 - > drivers/clk/tegra/clk-id.h | 7 ------- > drivers/clk/tegra/clk-tegra114.c | 33 ------------------------------ > drivers/clk/tegra/clk-tegra124.c | 44 +++++----------------------------------- > drivers/clk/tegra/clk-tegra20.c | 24 ---------------------- > drivers/clk/tegra/clk-tegra210.c | 32 ----------------------------- > drivers/clk/tegra/clk-tegra30.c | 32 ----------------------------- > drivers/clk/tegra/clk.h | 1 - > 8 files changed, 5 insertions(+), 169 deletions(-) > > diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile > index df966ca06788..1f7c30f87ece 100644 > --- a/drivers/clk/tegra/Makefile > +++ b/drivers/clk/tegra/Makefile > @@ -12,7 +12,6 @@ obj-y += clk-sdmmc-mux.o > obj-y += clk-super.o > obj-y += clk-tegra-audio.o > obj-y += clk-tegra-periph.o > -obj-y += clk-tegra-pmc.o > obj-y += clk-tegra-fixed.o > obj-y += clk-tegra-super-gen4.o > obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o Why clk-tegra-pmc.c itself isn't removed? [snip]