Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1868717ybf; Sun, 1 Mar 2020 20:20:00 -0800 (PST) X-Google-Smtp-Source: APXvYqyDYa/wR1RVisTDPgBrXLUS9rY/VlTVoDYBqC7tTCYyx+5TdIPq5CjWH9CZG1vAam6cIrVa X-Received: by 2002:a9d:906:: with SMTP id 6mr9012970otp.251.1583122800589; Sun, 01 Mar 2020 20:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583122800; cv=none; d=google.com; s=arc-20160816; b=neQ6Fza3iUAOTNwzfDZcsb0CDz8igbxncjisEnlWuvdt2VGWWxhAP6SVz83ZxxNzDr k7dJ2Z1xocfWfInusJe2NjhR25D1aVLfaefIvGgSyLoeLset7+obvK2j2uyuzpfcxVfj JgATgyP/Mm14+cG0zLryozk6zdJxn8BhQFEWq6Hsv5toCqPB4URh5TJP/uWbNXnAD6OK N5eH1SOdvtqMyRdrAqS5N9iO2wT6cl8BAtMS5aqmL+IvKTDssEjIGVTR30hbSRz0jHjE R0c47fY5wIuKAuWlLiACpjTzrWfka2FehM5l6KSNtKW5rVFyYW94jS7IIgf6gzSrwmqI GeQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yHBK3/rKn+LVN6MYF4Du3i4K2LjtQ7eKL0BsrScrxdY=; b=e7BUrhA5Ti75VNgY/VnHMxVdc9nQWFrzjgesbad8+53lHVHzrtsrsQDMbeEkTt8XZL k0UsSPvsJBTS439W/Qll7y0HHMj8TyKWhF7o7MpXs4oo/J7bcU+Q4O9cldnw7s8goMNA XIrwppe+Hy+fAZZ2DOESAbVpl7PPHp/d4id4ka0arkaABbTFaodrNZrwx2OLHBFCcgCi PtFa6rE6kVlZnZFBoxG4P15/Cdc7CnIWRXffr+Z7w6jU7w8jnAkmZzm9u4FtCXnCidox R9dWr3WEQlKdU/JFbFR6rZSKtxyWekb0K5cafRdPfrmkdinH000D70T4ApayHi05dbJp ntHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="d7/Qsko0"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q64si2669184oic.155.2020.03.01.20.19.47; Sun, 01 Mar 2020 20:20:00 -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=@linaro.org header.s=google header.b="d7/Qsko0"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbgCBETh (ORCPT + 99 others); Sun, 1 Mar 2020 23:19:37 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39694 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgCBETh (ORCPT ); Sun, 1 Mar 2020 23:19:37 -0500 Received: by mail-pf1-f195.google.com with SMTP id l7so4906318pff.6 for ; Sun, 01 Mar 2020 20:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yHBK3/rKn+LVN6MYF4Du3i4K2LjtQ7eKL0BsrScrxdY=; b=d7/Qsko0GvwfGJb8ZsXpoGwF4rLMogSWMCfssVO7mz/dNvAwHn/isV+n87qCFFmbOv 5zjVJd8s8wTvzQuK/rSEXqdU7n80xgKmPi+YT/pi6b1nRslw9JCLYyEeex4hei2hqpZo n8IhdQ4UE13WUvK0oiJaVpkoTqF0ZeOpeFgwoUoJ0rdFRBI2ROI1V/riSgt+SoknniUG oU74Yzahxa4Zjlorq1Kj4Atgho4PDTJSYAoV83Dc7sxa8T3EPZoEX2sRIf/JlrFhm6Wo XbASG8ErPAaNqYZbbvREyHbQyxN/d5ir00tcBlEylWqYtxDW2w1GK+ZAT+ppZyfIcTfd d46w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yHBK3/rKn+LVN6MYF4Du3i4K2LjtQ7eKL0BsrScrxdY=; b=O4Rf4fsBEovpbSgM5hrTb41NQjw03gWGVfTOAAoWUGAVR/Ex1lVAAm+N83CKB2/D8y DYwqINQoe9oplAjDEafDZNTnE+KaNzzDGimYKAseQxYYJ0rao5RjWjf7JMvXpRcfGoF1 eTdUYCWNxJxMiTrHwf0N29X4em6WVL7pHysMenMWgmhfj6ex8LqZmjv6RuC+uWzIB3Vk Y/mlM5z7RwqOPzXK8tllkW0h3J2Hz/Th4XfKcyb1W84JyQ972LLhd/58hqHA3ZawO+J7 zWtLyQxmnmMTBsDLeYTHU3vAYrxfK+rZoO0bpQeVzE0cVvhpRGa0Et2cK0fZN+gor0/Z Igvg== X-Gm-Message-State: APjAAAWE/V6fxXUBSzf9vXGVlaHlVCyCFxPmBUw16ZWZ9JFORgAKqN6o nBfw/msBAx/lahqGcPjepS6uYg== X-Received: by 2002:a63:c546:: with SMTP id g6mr16910592pgd.243.1583122776505; Sun, 01 Mar 2020 20:19:36 -0800 (PST) Received: from localhost ([122.167.24.230]) by smtp.gmail.com with ESMTPSA id z13sm18823624pge.29.2020.03.01.20.19.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2020 20:19:35 -0800 (PST) Date: Mon, 2 Mar 2020 09:49:33 +0530 From: Viresh Kumar To: Tero Kristo Cc: rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Lokesh Vutla Subject: Re: [PATCH] cpufreq: ti-cpufreq: Add support for OPP_PLUS Message-ID: <20200302041933.uuoa5kbvgtde37oq@vireshk-i7> References: <20200228144529.14548-1-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200228144529.14548-1-t-kristo@ti.com> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28-02-20, 16:45, Tero Kristo wrote: > From: Lokesh Vutla > > DRA762 SoC introduces OPP_PLUS which runs at 1.8GHz. Add > support for this OPP in ti-cpufreq driver. > > Acked-by: Dave Gerlach > Signed-off-by: Lokesh Vutla > Signed-off-by: Tero Kristo > --- > drivers/cpufreq/ti-cpufreq.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c > index 557cb513bf7f..d62b6b21325a 100644 > --- a/drivers/cpufreq/ti-cpufreq.c > +++ b/drivers/cpufreq/ti-cpufreq.c > @@ -25,11 +25,14 @@ > > #define DRA7_EFUSE_HAS_OD_MPU_OPP 11 > #define DRA7_EFUSE_HAS_HIGH_MPU_OPP 15 > +#define DRA76_EFUSE_HAS_PLUS_MPU_OPP 18 > #define DRA7_EFUSE_HAS_ALL_MPU_OPP 23 > +#define DRA76_EFUSE_HAS_ALL_MPU_OPP 24 > > #define DRA7_EFUSE_NOM_MPU_OPP BIT(0) > #define DRA7_EFUSE_OD_MPU_OPP BIT(1) > #define DRA7_EFUSE_HIGH_MPU_OPP BIT(2) > +#define DRA76_EFUSE_PLUS_MPU_OPP BIT(3) > > #define OMAP3_CONTROL_DEVICE_STATUS 0x4800244C > #define OMAP3_CONTROL_IDCODE 0x4830A204 > @@ -80,6 +83,9 @@ static unsigned long dra7_efuse_xlate(struct ti_cpufreq_data *opp_data, > */ > > switch (efuse) { > + case DRA76_EFUSE_HAS_PLUS_MPU_OPP: > + case DRA76_EFUSE_HAS_ALL_MPU_OPP: > + calculated_efuse |= DRA76_EFUSE_PLUS_MPU_OPP; > case DRA7_EFUSE_HAS_ALL_MPU_OPP: > case DRA7_EFUSE_HAS_HIGH_MPU_OPP: > calculated_efuse |= DRA7_EFUSE_HIGH_MPU_OPP; This is already merged, why sending it again ? -- viresh