Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2316349ybd; Mon, 24 Jun 2019 04:26:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQjUEGe1ktiBTpTiP7m2RcBTn3nNp8ASb0smyrP4IKaFQjVVaThjuQyctHJPML7KVn1XHh X-Received: by 2002:a63:a342:: with SMTP id v2mr26500164pgn.403.1561375573406; Mon, 24 Jun 2019 04:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561375573; cv=none; d=google.com; s=arc-20160816; b=BZPYgfxJUv3BzPDOTsb7WB/V8UTu85Aw1+lozB4cGM60Ga8xkedi//6IfitoRp3SsK vzZa/sv1oBULftjpC2ypLXht7v+IhSpKqRco9mrrDWoye0W6E2BM7J4kYhLnt1h7DYEQ wijw7i+cBkbUG5tyW2mUYGLAZkxHCerGss6XFXRBnein2iR8TTXgsMr1ghAJfYn/gOxf 6Kz4JfusNfvOqnyjLXsV3FFtyXUUzODSMOQHmsUKamcuG7hmIkm6EfXT6UNnObFj3qph bHvs7GfvpIxpDIGe0sVdEeGm5REI0LQKuHTX/F5cGoqRJ/uUyqbDTiMLQ4pQJVDw56Ph Epqg== 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=8gvk5GASPNCFWbApHpT04KBTfKEWcp0twApXx08UPkI=; b=vvzf4snWN8XHMm677jVxXND7SIEGJACtfKs1ZfMXy9HdufxNLynGe9sIIfVksAq2eb 43WZOakMUGWGd9j/9bBTwrpRSSPH6t9zUYfTUPmM3QCUdzktXnGzNdOj0L3gxxpY6GVb EdPsKyOYHxF7g5Y7hG+UBIBOlmIfEwigb0t6eG1hMJe9Qr7ogxMKOnMf6NyVLU8izqel ItTY3+dh2GxT6qMDejkC9AR4xm9taOSAmwNE2MwJsfEepIyD5J/hZ8cxkYveMuK9uOml gfp12urWqVN2S7jP7PQJI/hMyLXiEFG4M8w2G/VNeoKiW9mpPci+R/vo1br9d+U2TnDV 2OvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ACXES/EF"; 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 64si1552761pgg.5.2019.06.24.04.25.57; Mon, 24 Jun 2019 04:26:13 -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="ACXES/EF"; 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 S1729770AbfFXLYU (ORCPT + 99 others); Mon, 24 Jun 2019 07:24:20 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35196 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729477AbfFXLYU (ORCPT ); Mon, 24 Jun 2019 07:24:20 -0400 Received: by mail-lj1-f196.google.com with SMTP id x25so12265343ljh.2; Mon, 24 Jun 2019 04:24:18 -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=8gvk5GASPNCFWbApHpT04KBTfKEWcp0twApXx08UPkI=; b=ACXES/EFhB7Ih+WhhqABVOb0QduIc2PoED54Mb7dYfi6+j+CrruI8UBaIhc7JLjOv9 Wq9vT/sPfsFWvm1Pg+Exrq/cCEbCyB3SqyN4ivOvJ6oTtqbU9oZEXn4gB4rvFj3zc5dA S0OFuam3sMUk+pVbh0SaDc/ATZjoeZ/V5ILqYCYbRB7ckCtDcPOW3lES/tMuCQraf7UB DNdBt/xgW4O223gofyhmfHgjVaJvFWWIPuYR47pqVRvPpCjRW1z2J/oEcXY6v8abmcTP BNpb9Fn0vHSs0Y2xe5AJa6xYjy4DbxtcvwNioBhPpSKKWt+YtWUj+6qr6AFhwopoi9tr aPbg== 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=8gvk5GASPNCFWbApHpT04KBTfKEWcp0twApXx08UPkI=; b=Cz+gn6lrUBlOsKI5dBC8MT3YPU/Ujy3UsTyYKtwl+RWniNInng8YqXKwZE6lHe4mJA BzEXhgbl/i9ZtwZB3wI50MXN+zPd3CZIHbuh5kP3F9csvKu4IHp3HVyqTHycpc++H8B0 glVdkSOSG0NaObl84qXzPN/Kkjy6HNXSTxIiCYkjwVUPMjH4JllGWdvW9B2+ZjSI3yzI CFQ078MRQ6rBnrpEY8VyelyAmFt2T2zPLqBZgZoIIbrUiTZsY9Vaoy2ocHjDtRq5kRIA x48pB/qTnMKk7m1HZBgu2EDdkd9C1BQX/udgh39Pk4k1O2vyK8nv5UfWzw/gCc19/KNB zbEQ== X-Gm-Message-State: APjAAAUi0ojxah1CoWTbkXzp0+IWVWenKzJ+QkAJ/rb/QW9A24Dg4rRt ibn/wqoA3OvRlKDn/WLNVy4= X-Received: by 2002:a2e:9c43:: with SMTP id t3mr16672742ljj.157.1561375458294; Mon, 24 Jun 2019 04:24:18 -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 v139sm1530806lfa.69.2019.06.24.04.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 04:24:17 -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: <37db00bc-3a22-d1c2-7bdc-e27af42cd5c7@gmail.com> <20190624065919epcms1p1a366de5f455f5138c438d1da8151c12f@epcms1p1> <20190624073414epcms1p87b6dc13758b6bd401d275cfba583314a@epcms1p8> <20190624111134epcms1p361aed3c72edd6eebc95408331c8d9739@epcms1p3> From: Dmitry Osipenko Message-ID: <7561edbc-c17c-101a-b339-fc7f9968a470@gmail.com> Date: Mon, 24 Jun 2019 14:24:16 +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: <20190624111134epcms1p361aed3c72edd6eebc95408331c8d9739@epcms1p3> 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 14:11, MyungJoo Ham пишет: >> >> --------- Original Message --------- >> Sender : Dmitry Osipenko >> >> 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? >>> > [] >> >> Good call! I'll update this patch following yours suggestion, thanks. > > Or, you may approve the modified commits here: > https://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq.git/log/?h=for-next Looks almost good to me! I just recalled that there is also a 64bit variant of Tegra124, the Tegra132. Hence the Tegra30+ Kconfig entry should look like this (it's also worthy to break the lines for readability): diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index ccb1a68c4b51..bd2efbc27725 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -94,7 +94,10 @@ config ARM_EXYNOS_BUS_DEVFREQ config ARM_TEGRA_DEVFREQ tristate "NVIDIA Tegra30/114/124/210 DEVFREQ Driver" - depends on ARCH_TEGRA || COMPILE_TEST + depends on ARCH_TEGRA_3x_SOC || ARCH_TEGRA_114_SOC || \ + ARCH_TEGRA_132_SOC || ARCH_TEGRA_124_SOC || \ + ARCH_TEGRA_210_SOC || \ + COMPILE_TEST select PM_OPP help This adds the DEVFREQ driver for the Tegra family of SoCs. Could you please adjust the patches like I'm suggesting? I'll approve yours change then and won't re-spin the first batch of the patches.