Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2273312ybd; Mon, 24 Jun 2019 03:43:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJSMOIcxVYK8SNLlHqOBX/YF+wYw68fFFUfjqaLXWX3n+0GSY9Mj2PVFEwm+oFEgRsA8Hm X-Received: by 2002:a65:64d5:: with SMTP id t21mr32935957pgv.310.1561372980861; Mon, 24 Jun 2019 03:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561372980; cv=none; d=google.com; s=arc-20160816; b=G4kKvMbppBldaiGDM0QatAR9mnVbSCJ+uCsaCNC3RDXqaGt8A41UF+jw5n7YqGqLMv cxJHM2PTIUHSFrO6alUQhPKR/6sGozM0coFoI22ZQTbUDwKyWv0S8AcxD4lG9wXthfcM nsO0FmaWoFsfvCIIh4tep4XcATg2BJPm6En8e2WcmDnrWDNLBmHD2dUU3GkCzCn5VtRR UUkx9wZ4pOfKReu8qzBSQ5FDSXpc6oURb8iZcWV1keNRhmnkaorHJVa6FddG0bnp73yM /TtnNv2CsoWMK8oSnh1r5XYTCI+rRiz8kZKJvN2Tzk8MTjOWSdDoCHnEKD73DEnT7AJb 0WIQ== 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=ZKQur/4feM7yNS7/yjihV2CmCsKO6qLzrXuCht+A5oM=; b=BjcgIaILaSxOHMXfTiVHC7YcUXI3ARAw8RIS7m/USDPOWY8tysA0rEu2K2JKMUcaOL ZdE1vPPIAT8Okas7sffYEEOEpegeaXqiyVqSig10gqqNgNhSZhmSP5kq8JRYWg9KWq9Y 7S0L/CLEadQWIwqgEmVSBx0kr3jvVgY1wFbSi+mk/3wlmAzyE6WMquCtaB6D+uDZWUm9 hVM0SyNuOTo2ZCRH2lbhsF4RBk4GqtR90osYYzNbZgTCvDPaCElE+TNE9xf+fB8+w2EF xjBAcAVYS0VMN0M7D/TaaKSB65Xjxb/JdMOBDih9LklejNv4CMvBlG+OyBpwO4nIH3nW pFHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LdYoeXBB; 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 r11si10273609pjq.108.2019.06.24.03.42.45; Mon, 24 Jun 2019 03:43:00 -0700 (PDT) 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=LdYoeXBB; 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 S1729348AbfFXKmZ (ORCPT + 99 others); Mon, 24 Jun 2019 06:42:25 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:44976 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728676AbfFXKmZ (ORCPT ); Mon, 24 Jun 2019 06:42:25 -0400 Received: by mail-lf1-f65.google.com with SMTP id r15so9624298lfm.11; Mon, 24 Jun 2019 03:42:23 -0700 (PDT) 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=ZKQur/4feM7yNS7/yjihV2CmCsKO6qLzrXuCht+A5oM=; b=LdYoeXBBpqQ2fwvRbztpeh8hFO3N+98fqdFUyS35G7dvgm+WGNyRVubCCIaJn7OIA0 GFzYPD5Vi3po9+AHIhddgYC/VtRWJz7Hi1ZNqE33iok9f2XAejNUNPQF4anxX+uoSHeY /KZw2U0wefzixeDhKMQUuimTVY8KuyCL6+JCxNuIN0+tSW1PDunvD7KVvXqM/MxiF7wC niJovSyHpviJIj4r5XkXsZ8H0BgRYu+DJmzutdNTxB1wNPekKh36l5zbw/yJBWTgQz4l loGDD3hoVJsh/5wdD0lvFgUofVOKm55tSpMxq7i0Z05jam3cfKrva/0NDwj4XNPi335k GKsQ== 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=ZKQur/4feM7yNS7/yjihV2CmCsKO6qLzrXuCht+A5oM=; b=KyKx3qFQzCwLVFSVB8yhfJTuNFgC14f82ckBHGWnNlbVIw+rwtWZt8J5ETai9J+fUo JqF/VRJnVN2H7B7HKc2MZI/xjojgXTH/p5cePNILjK5gYOPJqS2LQm6kArE1NtBgc3LB yDQ7EUCNOPFhCLvwS9f+WlB89LcFfC/p6H9m6TVBINf4I14KPnP3JCNXxZYwCRJyKUFd vVWQG7bUJXOJ83rep005kKUqwf7JBjFVraX0GWPrXrsJAoI6xoLIJNF9oKXOD+s6LRVs ENWRaxu0vSFHeHMovlilIeMri4y1W0d4feAlCHYqov8AmxfWdUz3YT2fucfy5zCdar43 JsLQ== X-Gm-Message-State: APjAAAX/CNq4Z3/23gFaQnYT+Mp7GKK+BIKSLkvVbeVM0WcnCCI0QuXL gHWHogSlZtEPwEDylQ3ph3Y= X-Received: by 2002:ac2:596c:: with SMTP id h12mr13962464lfp.101.1561372942517; Mon, 24 Jun 2019 03:42:22 -0700 (PDT) Received: from [192.168.2.145] (ppp91-79-162-197.pppoe.mtu-net.ru. [91.79.162.197]) by smtp.googlemail.com with ESMTPSA id w1sm1914739ljm.81.2019.06.24.03.42.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 03:42:21 -0700 (PDT) Subject: Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30 To: myungjoo.ham@samsung.com Cc: Chanwoo Choi , "linux-pm@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jonathanh@nvidia.com" , "thierry.reding@gmail.com" References: <20190624065919epcms1p1a366de5f455f5138c438d1da8151c12f@epcms1p1> <20190624073414epcms1p87b6dc13758b6bd401d275cfba583314a@epcms1p8> From: Dmitry Osipenko Message-ID: <37db00bc-3a22-d1c2-7bdc-e27af42cd5c7@gmail.com> Date: Mon, 24 Jun 2019 13:42:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190624073414epcms1p87b6dc13758b6bd401d275cfba583314a@epcms1p8> 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 24.06.2019 10:34, MyungJoo Ham пишет: >> >> A question: >> >> Does this driver support Tegra20 as well? >> I'm asking this because ARCH_TEGRA includes ARCH_TEGRA_2x_SOC >> according to /drivers/soc/tegra/Kconfig. >> > > For this matter, how about updating your 13/16 patch as follows? > > --- > drivers/devfreq/Kconfig | 4 ++-- > drivers/devfreq/tegra-devfreq.c | 1 + > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig > index 7dd46d44579d..78c4b436aad8 100644 > --- a/drivers/devfreq/Kconfig > +++ b/drivers/devfreq/Kconfig > @@ -93,8 +93,8 @@ config ARM_EXYNOS_BUS_DEVFREQ > This does not yet operate with optimal voltages. > > config ARM_TEGRA_DEVFREQ > - tristate "Tegra DEVFREQ Driver" > - depends on ARCH_TEGRA_124_SOC > + tristate "NVIDIA Tegra30/114/124/210 DEVFREQ Driver" > + depends on ARCH_TEGRA_3x_SOC || ARCH_TEGRA_114_SOC || ARCH_TEGRA_124_SOC || ARCH_TEGRA_210_SOC > select PM_OPP > help > This adds the DEVFREQ driver for the Tegra family of SoCs. > diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c > index 5cddf2199c4e..a6ba75f4106d 100644 > --- a/drivers/devfreq/tegra-devfreq.c > +++ b/drivers/devfreq/tegra-devfreq.c > @@ -726,6 +726,7 @@ static int tegra_devfreq_remove(struct platform_device *pdev) > } > > static const struct of_device_id tegra_devfreq_of_match[] = { > + { .compatible = "nvidia,tegra30-actmon" }, > { .compatible = "nvidia,tegra124-actmon" }, > { }, > }; > Good call! I'll update this patch following yours suggestion, thanks.