From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2492BC433EF for ; Fri, 6 May 2022 04:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388918AbiEFEN7 (ORCPT ); Fri, 6 May 2022 00:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388910AbiEFEN4 (ORCPT ); Fri, 6 May 2022 00:13:56 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE61580EE for ; Thu, 5 May 2022 21:10:14 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id bo5so5286523pfb.4 for ; Thu, 05 May 2022 21:10:14 -0700 (PDT) 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=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=aR0VAQ9OF8rz6eQoqyBQTSUoRG1tLt8chlxZ7ClCT/tuhYEdA3a5Gh/iaELz13eEkr PBavQpH1sdaY3bEweCwZWdgIhFSfB/YYlZl2qjgtO7BExLo5nu/9IO+RhHqMhDE5ZdbH vvnGCIfOhBJph1IlZfdMCOgYrJnnX9v5wDmlHyplO/9ZLQp/NUkxuWjWri+UdXFGVuv9 b2J8stRaPwjuTj3Y69zqMCHZghk1X5tLqyTi38zyJOz6TZ13XByZe4OeAPc7ZvszAuaz UKpY4h35iS/5mRA9+AdvBVAMTNYCrNCPDeawqkhL7M34fFcF+936qQ+ZqmBBCkGu4lQt 5Ouw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=QCzr1iOD6FY32avRns/RF5EcL4P/BkI42W3uJEZlNz9HvxC19r0H9hpioXH3cKIh6c FoPGsB6OUtQu3TU5KOZPkPmSP7pQ19XjKY8x9adfvu7UK9yOkDbId2GbfXOYIZZaePA7 kOSgy3pn6HjLhg0+P/lQAdfMq/1FOqC2t8UpZiclY9btfUQ1Rct3R8UsOPmcRAFGlLmu 7gTLbBwGzkEieAUr4wVk9R3ObjoXHkCuDuZNSG+YkXabyd/IQp+I5jSYOdmpDRpy+/Kw MDE4qsiVQbaWEa464UWnGy1584CVNkrupU6bPJSXuoZ/sByrlv/zxo3c4+4yGcICThCG FSLw== X-Gm-Message-State: AOAM533PwNP8v3Zq1bTaf40OlK2E9lJlVX0D5q+EGWqJYmGJlqgRVUmd 5TDI3Q8xoN3AyVLqelLc0Qnbiw== X-Google-Smtp-Source: ABdhPJyPhc9ZE92xdZuHazul24NTSEAlSyUkTK1yoU17JLWDhr1xi6vZM3E6tgyq2zn7V0wXzXZyrg== X-Received: by 2002:a05:6a00:bd9:b0:50e:dad:b285 with SMTP id x25-20020a056a000bd900b0050e0dadb285mr1439657pfu.40.1651810213390; Thu, 05 May 2022 21:10:13 -0700 (PDT) Received: from localhost ([122.162.234.2]) by smtp.gmail.com with ESMTPSA id iy11-20020a17090b16cb00b001dc37aef4ffsm2347771pjb.48.2022.05.05.21.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 21:10:12 -0700 (PDT) Date: Fri, 6 May 2022 09:40:11 +0530 From: Viresh Kumar To: Rex-BC Chen Cc: rafael@kernel.org, robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, jia-wei.chang@mediatek.com, roger.lu@mediatek.com, hsinyi@google.com, khilman@baylibre.com, angelogioacchino.delregno@collabora.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v6 03/10] cpufreq: mediatek: Move voltage limits to platform data Message-ID: <20220506041011.kbqawkzquyzo7yfq@vireshk-i7> References: <20220505115226.20130-1-rex-bc.chen@mediatek.com> <20220505115226.20130-4-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220505115226.20130-4-rex-bc.chen@mediatek.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05-05-22, 19:52, Rex-BC Chen wrote: > Voltages and shifts are defined as macros originally. > There are different requirements of these values for each MediaTek SoCs. > Therefore, we add the platform data and move these values into it. > > Signed-off-by: Jia-Wei Chang > Signed-off-by: Rex-BC Chen > Reviewed-by: AngeloGioacchino Del Regno > --- > drivers/cpufreq/mediatek-cpufreq.c | 84 +++++++++++++++++++++--------- > 1 file changed, 58 insertions(+), 26 deletions(-) Applied. Thanks. -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A452C433F5 for ; Fri, 6 May 2022 04:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qSjkijO5Zy4jC5pgMr0KgKfpMH1RooGu/uVDt0zSCW0=; b=gZA540I+gN1E03 LP3wQC/8LT+uloWvIIbaHdk6eB0lndbg66XKRTunKHSlVaSJiFSjJKHtcwT9Pc7cMjp7NNPsP3SEX D7V2XaQU5ExGH6q9HhMuMCObGsO6JX2jlVJK17AjRJjYncNAvkjsmv2Ru7eKNlHRbbHdXA9J+OzCJ ygz9ETPFzEm0QU2A9BYx/te+5vnWscAcu8dVlTKoHRodkXjvYYtXfeuUVqW/PAowbR7wl+waWJlpU /3bMcqh2WCpUtoxS3bHDwwiu8eG76Pc+OgAQAWGMZabQ0WnMmJDoAly/H7gPhvdP3mVJJb1Z10D99 QLghKL7tvuOeWpom5akA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmpIQ-001HXb-AY; Fri, 06 May 2022 04:10:26 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmpIG-001HT0-LN for linux-mediatek@lists.infradead.org; Fri, 06 May 2022 04:10:18 +0000 Received: by mail-pf1-x42c.google.com with SMTP id j6so5270204pfe.13 for ; Thu, 05 May 2022 21:10:14 -0700 (PDT) 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=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=aR0VAQ9OF8rz6eQoqyBQTSUoRG1tLt8chlxZ7ClCT/tuhYEdA3a5Gh/iaELz13eEkr PBavQpH1sdaY3bEweCwZWdgIhFSfB/YYlZl2qjgtO7BExLo5nu/9IO+RhHqMhDE5ZdbH vvnGCIfOhBJph1IlZfdMCOgYrJnnX9v5wDmlHyplO/9ZLQp/NUkxuWjWri+UdXFGVuv9 b2J8stRaPwjuTj3Y69zqMCHZghk1X5tLqyTi38zyJOz6TZ13XByZe4OeAPc7ZvszAuaz UKpY4h35iS/5mRA9+AdvBVAMTNYCrNCPDeawqkhL7M34fFcF+936qQ+ZqmBBCkGu4lQt 5Ouw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=QXj8U9Shpdupz8/lktbzsY6yF5yvSo1vmX/4zveO9c17mrgktDrNnpwGutG3YRtCE0 h4U+MwJ0mhbHUhh0wgWggmT/QG2hULXEDXRNbUNWUu5gZg2gKrEfiQttockBnF2VDLAB 36l4C9xMT0Ghq8APZ4XMQ3whopCL9slEna6QAy/cZF87GgQSm9cI/blz0+Jr7SH7vgFg M2Ntt62rcDHWcPtufqzlhhGkFPGo1mw9Ak3+Zu2EsNuX14f9gwsaro60GvasuewEXLn9 FVP/Jf7+oi1c6QTcDLL5Gq/2BQEdC+AC0jIbRo8ImBDQIWzIr2LN86VCNvBILwZUvnB3 WoHw== X-Gm-Message-State: AOAM532gkL75ghosUOQSo8Fi+hx0hub9oxu+suBsiBaCBrI9Lx2iE1Q0 o84GDNSx5v4lsOtjO7+osM5h0A== X-Google-Smtp-Source: ABdhPJyPhc9ZE92xdZuHazul24NTSEAlSyUkTK1yoU17JLWDhr1xi6vZM3E6tgyq2zn7V0wXzXZyrg== X-Received: by 2002:a05:6a00:bd9:b0:50e:dad:b285 with SMTP id x25-20020a056a000bd900b0050e0dadb285mr1439657pfu.40.1651810213390; Thu, 05 May 2022 21:10:13 -0700 (PDT) Received: from localhost ([122.162.234.2]) by smtp.gmail.com with ESMTPSA id iy11-20020a17090b16cb00b001dc37aef4ffsm2347771pjb.48.2022.05.05.21.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 21:10:12 -0700 (PDT) Date: Fri, 6 May 2022 09:40:11 +0530 From: Viresh Kumar To: Rex-BC Chen Cc: rafael@kernel.org, robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, jia-wei.chang@mediatek.com, roger.lu@mediatek.com, hsinyi@google.com, khilman@baylibre.com, angelogioacchino.delregno@collabora.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v6 03/10] cpufreq: mediatek: Move voltage limits to platform data Message-ID: <20220506041011.kbqawkzquyzo7yfq@vireshk-i7> References: <20220505115226.20130-1-rex-bc.chen@mediatek.com> <20220505115226.20130-4-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220505115226.20130-4-rex-bc.chen@mediatek.com> User-Agent: NeoMutt/20180716-391-311a52 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_211016_730543_FDD579F2 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On 05-05-22, 19:52, Rex-BC Chen wrote: > Voltages and shifts are defined as macros originally. > There are different requirements of these values for each MediaTek SoCs. > Therefore, we add the platform data and move these values into it. > > Signed-off-by: Jia-Wei Chang > Signed-off-by: Rex-BC Chen > Reviewed-by: AngeloGioacchino Del Regno > --- > drivers/cpufreq/mediatek-cpufreq.c | 84 +++++++++++++++++++++--------- > 1 file changed, 58 insertions(+), 26 deletions(-) Applied. Thanks. -- viresh _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9EEDAC433F5 for ; Fri, 6 May 2022 04:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kXcsEeK9GOoxVX4E0ZyA68h/0M1A67VLKNHZGJpW/rw=; b=cSGhAKcIdfU2Be nnhh3KlOplsswQH8ROy1eyA6Bz6WCn0pdLsb39x10GkRcaMSMKAKhnI/H208z88qiICgsWFzdR76L pBWau59FbwDH8Afu/3wbY9Ge/ObMd1WVMZOS8yWPOiKeGEqQbWjyCl9zgOXwIjBCH7hm/V6ILN2fj K4ZtKFAPkOU6aIS71wrI2DUoibgsIgAWxPYyrGm9WeM7JeCSiUyPXDd39uQceGCJEfrFuPGcugY57 2QnlSXXvMQvpcut9IsrwVz7UaYNWHn1sdZZEmwQg1SgQveCTvMa9yiQ0nVjxQb6dY4aVSVKoW2YXm 0FR+QFZr1cmoK8MSG/dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmpIH-001HTu-70; Fri, 06 May 2022 04:10:17 +0000 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmpIE-001HSz-0d for linux-arm-kernel@lists.infradead.org; Fri, 06 May 2022 04:10:15 +0000 Received: by mail-pg1-x535.google.com with SMTP id k14so5199472pga.0 for ; Thu, 05 May 2022 21:10:13 -0700 (PDT) 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=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=aR0VAQ9OF8rz6eQoqyBQTSUoRG1tLt8chlxZ7ClCT/tuhYEdA3a5Gh/iaELz13eEkr PBavQpH1sdaY3bEweCwZWdgIhFSfB/YYlZl2qjgtO7BExLo5nu/9IO+RhHqMhDE5ZdbH vvnGCIfOhBJph1IlZfdMCOgYrJnnX9v5wDmlHyplO/9ZLQp/NUkxuWjWri+UdXFGVuv9 b2J8stRaPwjuTj3Y69zqMCHZghk1X5tLqyTi38zyJOz6TZ13XByZe4OeAPc7ZvszAuaz UKpY4h35iS/5mRA9+AdvBVAMTNYCrNCPDeawqkhL7M34fFcF+936qQ+ZqmBBCkGu4lQt 5Ouw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HWTXD5zHq3nd78I0G2fQMtnfTf3zPffmr3z3YODc2yE=; b=2Yo2sx+x6HKgebkYZ3uNov7auIBnwrMWNHI9M7e6pCZT6DTvymW8/jL6N4B2mC9EoV QRj8GqbDIA51L6MeSm6uiDrWNTTVEk+ncUede/gQ/0XsnfKNdDVISgJJavf+lRYT5Pzf iDMlJlkgIDwoo1ZTB6iNLp9TJFYyoGDCkahVudiOg0tyuR5dobwikFh97UXqVAjKwy/e gHySVhfVHFeMPWusV0+qfAlAUD1sjx/y0wHY06cKjw0+yLKwUVdboMHzvSQ3FHd9ilK7 38CkfUjOlG9NRYRY/v+OwVIjzWe07lM6fi+FfeZ7O5hKJ1EurVIgOoTOmrDu7IQLJXWd wC7w== X-Gm-Message-State: AOAM533eVs76xXvJaIaauqXT0ET2aMilPojXDOptB6tFX44cSDZ2P25V UkG2MgVbZx+C/ZfyvsvrXyeLAQ== X-Google-Smtp-Source: ABdhPJyPhc9ZE92xdZuHazul24NTSEAlSyUkTK1yoU17JLWDhr1xi6vZM3E6tgyq2zn7V0wXzXZyrg== X-Received: by 2002:a05:6a00:bd9:b0:50e:dad:b285 with SMTP id x25-20020a056a000bd900b0050e0dadb285mr1439657pfu.40.1651810213390; Thu, 05 May 2022 21:10:13 -0700 (PDT) Received: from localhost ([122.162.234.2]) by smtp.gmail.com with ESMTPSA id iy11-20020a17090b16cb00b001dc37aef4ffsm2347771pjb.48.2022.05.05.21.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 21:10:12 -0700 (PDT) Date: Fri, 6 May 2022 09:40:11 +0530 From: Viresh Kumar To: Rex-BC Chen Cc: rafael@kernel.org, robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, jia-wei.chang@mediatek.com, roger.lu@mediatek.com, hsinyi@google.com, khilman@baylibre.com, angelogioacchino.delregno@collabora.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v6 03/10] cpufreq: mediatek: Move voltage limits to platform data Message-ID: <20220506041011.kbqawkzquyzo7yfq@vireshk-i7> References: <20220505115226.20130-1-rex-bc.chen@mediatek.com> <20220505115226.20130-4-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220505115226.20130-4-rex-bc.chen@mediatek.com> User-Agent: NeoMutt/20180716-391-311a52 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_211014_110912_FE0A00DC X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 05-05-22, 19:52, Rex-BC Chen wrote: > Voltages and shifts are defined as macros originally. > There are different requirements of these values for each MediaTek SoCs. > Therefore, we add the platform data and move these values into it. > > Signed-off-by: Jia-Wei Chang > Signed-off-by: Rex-BC Chen > Reviewed-by: AngeloGioacchino Del Regno > --- > drivers/cpufreq/mediatek-cpufreq.c | 84 +++++++++++++++++++++--------- > 1 file changed, 58 insertions(+), 26 deletions(-) Applied. Thanks. -- viresh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel