Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp159243ybl; Thu, 23 Jan 2020 20:39:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxJUcVapxvpnhVrXHAHtg/oKFD2sD3n1S1j9QacgoZj80j5wTf22DiUi7gvTSmH+HxJvEuW X-Received: by 2002:aca:de06:: with SMTP id v6mr861245oig.168.1579840758969; Thu, 23 Jan 2020 20:39:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579840758; cv=none; d=google.com; s=arc-20160816; b=wKN8jjFX37tzSkwXiquXbJxiqlJshKoW/yI+LPjQbMIFfJXQOMPIpa/g96aySu5AQG EaT0neEE2MtUG0ZL8YwmPmreb90Gu1r/odbdxtAmxs0k5Zv5IJuFXLZvF+4UWQzBztQA 3qLSJJ//ccXhO8HvCuwiw78ad8UI+wC3MRa4MmbE12f+HPDnmB7SQpGzdBWzcPDXOk/N Tk1dvGf2QtjFUB9GGqKug+s79GjK1hRLZMIhqJ1rm8wh6xjUN/d+BlmQ6ohBpdtYb3Fh 1NLYjpY0xL44LC9vK6BmnzQRZvs1QgQPTPGY9aCDqpMG4/M7CnOB/NDefTql2th4/PrB rZGA== 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:references:cc:to:from:subject:dkim-signature; bh=iRMdTlWpB/i07RpBQjACVTfdEIqwZ2lTL+v769LcM3k=; b=bDLefkT3CRfbDhhxZCU+tqzjzoiAXVQK4ij3HYWZ3x50DCiTmYdEjtnn/x1PUydEyA Z4gxKMxGzXB+COp1xFtL/jGKU5wZoaI83ZlGoHqfnOejQpVFM4VflnK7xnnTb75BDgK9 AsvKI/AR4akT1LQ0Ri/Z9zmPCzQzS/QjYmShYpeq37/BxPw7TasHNgxAE+BnQ+RO7/xD zsRDs6hpm9GIoNtiM9Yb2dZKQP+z++QdDaswHG/2cp2zyURz6OuqgqdsVejSBQpqAnvl t6Nvz3Mo3RbWIC5AxycjCMb+v4XT6gbDfp0NI+t4ZwrDK243XwbacE3FCdOXOxUtIOAM H21A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZLeNoJj9; 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 w9si2187157otk.91.2020.01.23.20.39.06; Thu, 23 Jan 2020 20:39:18 -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=ZLeNoJj9; 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 S1729893AbgAXEe3 (ORCPT + 99 others); Thu, 23 Jan 2020 23:34:29 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39414 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728799AbgAXEe3 (ORCPT ); Thu, 23 Jan 2020 23:34:29 -0500 Received: by mail-lf1-f66.google.com with SMTP id t23so300396lfk.6; Thu, 23 Jan 2020 20:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=iRMdTlWpB/i07RpBQjACVTfdEIqwZ2lTL+v769LcM3k=; b=ZLeNoJj9lm0TqcCEmDTQPBhM4MiG15+CetdBuDpzpbSxShkmzI5SwGqj59jyQFvOlU pRT57mMmEo1vymIWW78BJm0TDGiHlSEQp1SPfjt7isJp6VHa5PMa9hhr0IArUZPAiKnd qrb/4pmjor6Nu/yDJ3YHmaD0gjH+Ch6PM/JoXoVhT0x4z2HP/dRluVtMESb5dTfNIU36 /BO/L6or0QUemYBYVDEHyq3S1+7G6BxcdiCRCNfl9SPcsqahMkXJjsiX+70vOKxIanYz nf2Ntft1yg40iZ/6/QzgSmAE9vCRqwWQoUQsopiNXS5KQ3XqtMSzmg1Ghv1dW4cR/Sjk hVJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iRMdTlWpB/i07RpBQjACVTfdEIqwZ2lTL+v769LcM3k=; b=Y1V4VFzudyDxd1L6da9QUfvWdsZhHvDbLaUrCi1+NxQ9C/u5DINQ1Xrmg0nDWUxv1D UwgFeRE6rZ0+MsTAR75YTOFcFfMG71wQ1McSczG3rr1w8v6XWhlKktegGqTpLdEAjB6M IGMcP/luoza1wh6rqYqQwAEkj22AYc2ywCW7YFw9Ao1O4MlQ8PCaOIcW19QYhMDRzGbN 0wSKnYKkXy6RiyY2UobanQ7jDVj8vbo8IpNziR+nno8j4krWKhWKUdHGrnIputh7FGIm 6KCbuhWNWRXidX7NaBwMlSKKWkxEX31ylBvmrSVXyixq60WN3R3PS4V9JM9dJHSNCw80 nwwQ== X-Gm-Message-State: APjAAAV7RnBimkRwwTZauEoqu4DwQ0CXwphnBGp5FYKi5jFtv/a8I5ru Yqp1ScCDeWrlm3i6JGJoe3TX6jUr X-Received: by 2002:ac2:544f:: with SMTP id d15mr529764lfn.126.1579840465779; Thu, 23 Jan 2020 20:34:25 -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 y5sm2069884lfl.6.2020.01.23.20.34.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jan 2020 20:34:25 -0800 (PST) Subject: Re: [PATCH v8 22/22] clk: tegra: Remove audio clocks configuration from clock driver From: Dmitry Osipenko 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: <1578986667-16041-1-git-send-email-skomatineni@nvidia.com> <1578986667-16041-23-git-send-email-skomatineni@nvidia.com> <9765b723-33af-9863-72c9-8094203c8cb8@nvidia.com> Message-ID: Date: Fri, 24 Jan 2020 07:34:24 +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: 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 21.01.2020 19:57, Dmitry Osipenko пишет: > 21.01.2020 19:19, Sowjanya Komatineni пишет: >> >> On 1/19/20 7:04 AM, Dmitry Osipenko wrote: >>> External email: Use caution opening links or attachments >>> >>> >>> 14.01.2020 10:24, Sowjanya Komatineni пишет: >>> >>> [snip] >>> >>>> diff --git a/drivers/clk/tegra/clk-tegra30.c >>>> b/drivers/clk/tegra/clk-tegra30.c >>>> index 5732fdbe20db..53d1c48532ae 100644 >>>> --- a/drivers/clk/tegra/clk-tegra30.c >>>> +++ b/drivers/clk/tegra/clk-tegra30.c >>>> @@ -1221,9 +1221,8 @@ static struct tegra_clk_init_table init_table[] >>>> __initdata = { >>>>        { TEGRA30_CLK_UARTC, TEGRA30_CLK_PLL_P, 408000000, 0 }, >>>>        { TEGRA30_CLK_UARTD, TEGRA30_CLK_PLL_P, 408000000, 0 }, >>>>        { TEGRA30_CLK_UARTE, TEGRA30_CLK_PLL_P, 408000000, 0 }, >>>> -     { 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 }, >>>> +     { TEGRA30_CLK_PLL_A, TEGRA30_CLK_CLK_MAX, 564480000, 0 }, >>>> +     { TEGRA30_CLK_PLL_A_OUT0, TEGRA30_CLK_CLK_MAX, 11289600, 0 }, >>>>        { TEGRA30_CLK_I2S0, TEGRA30_CLK_PLL_A_OUT0, 11289600, 0 }, >>>>        { TEGRA30_CLK_I2S1, TEGRA30_CLK_PLL_A_OUT0, 11289600, 0 }, >>>>        { TEGRA30_CLK_I2S2, TEGRA30_CLK_PLL_A_OUT0, 11289600, 0 }, >>>> >>> What about to use the assigned-clock-rates in device-tree and thus to >>> remove those PLL_A entries? >> >> Yes clock rates can be used and also PLL rate is set based on sample >> rate during hw_params. So this can be removed. >> >> But PLLA clock rates are not related to this patch series and also >> changing this needs audio function testing across all platforms and >> currently we don't have audio functional tests in place for older >> platforms. >> >> All audio clocks proper fixes and cleanup b/w clock driver and audio >> driver will be done separately. > > If there are real plans to make sound driver to drive the PLLA rate, > then indeed should be fine to keep it as-is for now. Looking at tegra_asoc_utils_set_rate(), it already sets the PLLA rate. Maybe those table entries are not needed already?