Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2441965ybl; Thu, 9 Jan 2020 12:51:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzhAOkX/YM/m2gMOrp1jGyJf+O37C+rYr8ELE2mSt9u7ei+35NZFndNtTUnZJGkzOyae9SL X-Received: by 2002:a05:6830:1d7a:: with SMTP id l26mr9743726oti.138.1578603076088; Thu, 09 Jan 2020 12:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578603076; cv=none; d=google.com; s=arc-20160816; b=JLbyLoa4eBQFj65f8NzzOB7KbcMEape5Z4WE+B3kAp6ku6M/njwjsHLVo8NdLJQJhE Kdh/+nuXTNEUOMPhASlSJ0qPODapOvnyO/1EO1l8Y7DyJl4X8oOkRQbHnISZanP5I27O dBVHqtYSxOvvtN/CNsDvD5dgxWMDlxfq/zW2zygI8DBbGB66F7/qx+qMPlJSRGIhAJKo +S8bzOCCWKg/QD95OHkH1A8ktJ3tkMiFSRCEoGxvpbN9Wnkp57YVX6My6O2Gw0TyKxKa wVKfKhLJ4aAk1x3JZfnKRqUxGkdc6q9H8yz2EfnjCGBRxHrWIracfgk8ti41pIPOx9DA PuYw== 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=sGqr1GBrT5VOU5JASIzkXUlOA3XLGCSf9edT/JCGYyQ=; b=PihGC/LuubNCAh5eJNqVQJK50pS/tF72CqZ7vyojQkeWZ+ea6oZlXePjW5Ql/YulWP wXeBbQhE2++4ihRPC0ZpT8vS5gBJqZo2ExODyJJ9sM+Kh/WMvzF0hKwEuktSgidwmysP TjXP9CpR3J9TGaw4czFUtLRZQSIpEQNnYz57utuNx5gYISIwwR8w2iagae4i8RVQ79U6 Z0pAc8FmEwNE0YlrZ4oCpGGxZZJ8cd6uMNqSSM7Khy0TAptg4M8XqPX+1RmABGQWolyB AGLHGfqkWPRUYYIx1tetpOp2Nw6DhiQ6NkRlhGpo8kKXPyTQyCTi8MupSGxtK0s3EhNw 3h9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OhXODvu2; 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 p8si5717009otc.118.2020.01.09.12.51.04; Thu, 09 Jan 2020 12:51:16 -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=OhXODvu2; 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 S1731951AbgAIToo (ORCPT + 99 others); Thu, 9 Jan 2020 14:44:44 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:32940 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728567AbgAITon (ORCPT ); Thu, 9 Jan 2020 14:44:43 -0500 Received: by mail-lj1-f194.google.com with SMTP id y6so8587835lji.0; Thu, 09 Jan 2020 11:44:42 -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=sGqr1GBrT5VOU5JASIzkXUlOA3XLGCSf9edT/JCGYyQ=; b=OhXODvu22z+cEO5MPHcWEP9kSdV/VmqOZ7QlGueoUiLaTikO6KIcF6snzDxchHFAoK ZGyOW3owzyK69OtKsMQecV0LF6CFVC2x6WiDhs+K/IZR+bFCwhgOjCKqQb+Q3kXLxYMM i3hokEn7OH3/QFxzhDgUIWFqt2CXGteCJZT3el9Rj1byc9TjXDfTIWNqHjYD27GGHHYb snRg6FeetXahBLyzUxcGyE8fWaY/r0GgEkkp9LsZRswhT8DXfGxu4EHGnzmeXzmeAR0H O2x8rs6R9a07RfTz1Gd3CgeaaX7N4j5SnP1yUVEDu/dixFDqXR3PySYOsb6hUOeDW+L9 n7FA== 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=sGqr1GBrT5VOU5JASIzkXUlOA3XLGCSf9edT/JCGYyQ=; b=H8bIRrq7zMXDA3iKpk5X6LYoH8jLxtjTrhXnYJrQuZcaW97rderB25VfmKd9B38Trf Sq49YCgj6YDjoqFJgv0YUK0cY4Kwcd1dQVUQc9/M/pgCfayNuO02STZidJ+2SKpESwbG g8fCA4mieawp6RN+0CkTukKEH9tYlQpDG9okkbuQ00qu4wSyYN1OnVFCXtio2Nbj5nFF O0c4KM+y6/a3XhTgPAwxHUlFgyv2wnNuRPsa6I01xaSp5rejjca6erFVauC8YEZkxXMm sQorEzxzvbV/Hz/ElOOSulwc1PE/ixXr2yh1F8DiQyjw+swyYIwfCsrz0s4adzZJ7DBt ejvQ== X-Gm-Message-State: APjAAAXAleTq4S+BOP/5M80LXm3XXM5BHdvPtAedWLyy6mtqaTAfchmA GKaseFaioMl4mhjw7AZ5yj4p0fZo X-Received: by 2002:a2e:8698:: with SMTP id l24mr7801290lji.94.1578599081124; Thu, 09 Jan 2020 11:44:41 -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 z13sm3494629ljh.21.2020.01.09.11.44.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2020 11:44:40 -0800 (PST) Subject: Re: [PATCH v7 00/21] Move PMC clocks into Tegra PMC driver To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, broonie@kernel.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, mperttunen@nvidia.com, gregkh@linuxfoundation.org, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: pdeschrijver@nvidia.com, pgaikwad@nvidia.com, spujar@nvidia.com, josephl@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: <1578457515-3477-1-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: <4e9fab30-14b5-bf1f-dc91-fd57ef614503@gmail.com> Date: Thu, 9 Jan 2020 22:44:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <1578457515-3477-1-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 08.01.2020 07:24, Sowjanya Komatineni пишет: > This patch series moves Tegra PMC clocks from clock driver to pmc driver > along with the device trees changes and audio driver which uses one of > the pmc clock for audio mclk. > > Tegra PMC has clk_out_1, clk_out_2, clk_out_3 and blink controls which > are currently registered by Tegra clock driver using clk_regiser_mux and > clk_register_gate which performs direct Tegra PMC register access. > > When Tegra PMC is in secure mode, any access from non-secure world will > not go through. > > This patch series adds these Tegra PMC clocks and blink controls to Tegra > PMC driver with PMC as clock provider and removes them from Tegra clock > driver. > > PMC clock clk_out_1 is dedicated for audio mclk from Tegra30 thru Tegra210 > and clock driver does inital parent configuration for it and enables them. > But this clock should be taken care by audio driver as there is no need > to have this clock pre enabled. > > So, this series also includes patch that updates ASoC driver to take > care of parent configuration for mclk if device tree don't specify > initial parent configuration using assigned-clock-parents and controls > audio mclk enable/disable during ASoC machine startup and shutdown. > > DTs are also updated to use clk_out_1 as audio mclk rather than extern1. > > This series also includes a patch for mclk fallback to extern1 when > retrieving mclk fails to have this backward compatible of new DT with > old kernels. Suspend-resume doesn't work anymore, reverting this series helps. I don't have any other information yet, please take a look.