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 AD5ABC433FE for ; Fri, 14 Oct 2022 19:45:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbiJNTpx (ORCPT ); Fri, 14 Oct 2022 15:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231465AbiJNTpg (ORCPT ); Fri, 14 Oct 2022 15:45:36 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C8931382E9; Fri, 14 Oct 2022 12:45:33 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id hh9so4335330qtb.13; Fri, 14 Oct 2022 12:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=CdFCrSGnPb39F/CIvynt9LAkFxUyTv4a7VuY3XVngkJj9X1jjjNV08qKes2/58FZMp 1GQn9IIfIj7BAJLqmzKqDsxrPsc2LzwOdiftR7Zd7YCfVJ694NlgI2C0AVag1XYfcBih Im58IfhTl0zNsHfcoa1BddM73lkdldug7xFxgrOpP9SoEgOCwT9uQ35cackwPL952K6X sYE9YCovERBHAZGgvFXdod0wjCtipAtB2lcgWgqW9hUU4kTMYvDIGysF/M+/oj/UrRBR gQNZDEt2/cbcnOrJwXNhKsE3pTLmMlw+G9t7PhGYE6oKUJoNXRG2zTdcy7Q1JmjcKNP6 ZUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=7BnNIksr1W/Pc5tetcnerfG7ZpnKZEnU161j1KVukMZNoBQPlLygD/mpAQy3ELeM8q W8114K5G/cbVdf5zNYa0pEopMXevs5+BKIcst4JTiUuImt5qjXt132b0ttOtz+gHlgdm 64cgomyZsD7oTBsW5maPdUDuMIhx41TTmPEKXevQK9EwN1fhlN4F5xcPKm3EFafwrx3M 9WSzU2FxNt4zt5y1T0ijMHu4I2WT+nvd5L1jdDqHUBLtiF8t7sJ5iwnRK7T1Nqw/fVaG pA9mXfg4rCcTaRwPi/x6tYTNNO6i4gFYv7kHlV0NujSCJ1slwihxYiukiXIpOjoYvPZF aHjg== X-Gm-Message-State: ACrzQf2KgEqlLPvtpzfkgwEggdyY2rz55UpeJ1KaAUq5Ooe1EaH3NBjG sxu1uawiuTqVojQI+boADLo= X-Google-Smtp-Source: AMsMyM5YwovOdmOixZxoCjVDQ3U5mtCE1JsPE8AHNwdOKu781m6RHftPl9Vq+OUrVZz+2BWZWmsacw== X-Received: by 2002:a05:622a:83:b0:35d:44c1:e026 with SMTP id o3-20020a05622a008300b0035d44c1e026mr5718168qtw.298.1665776732330; Fri, 14 Oct 2022 12:45:32 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id u3-20020a05620a454300b006eed094dcdasm1548628qkp.70.2022.10.14.12.45.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Oct 2022 12:45:31 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2022 12:45:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3 3/7] firmware: raspberrypi: Provide a helper to query a clock max rate Content-Language: en-US To: Maxime Ripard , Michael Turquette , Emma Anholt , Stephen Boyd , Ray Jui , Scott Branden , Broadcom internal kernel review list , Daniel Vetter , David Airlie , Maxime Ripard Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Dom Cobley , dri-devel@lists.freedesktop.org References: <20220815-rpi-fix-4k-60-v3-0-fc56729d11fe@cerno.tech> <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> From: Florian Fainelli In-Reply-To: <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On 10/13/22 02:13, Maxime Ripard wrote: > The firmware allows to query for its clocks the operating range of a > given clock. We'll need this for some drivers (KMS, in particular) to > infer the state of some configuration options, so let's create a > function to do so. > > Acked-by: Stephen Boyd > Signed-off-by: Maxime Ripard Reviewed-by: Florian Fainelli -- Florian 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 227C2C4332F for ; Fri, 14 Oct 2022 19:46:47 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GuZr+rkTkYvQZzr4RQz9Ybw5ws7Ev1e3nLVqxy7bAoA=; b=4oDie5Y/LweVpu lPMzdDqqXbfBRkSHtg/0yxjsjuwPJ+BaNPbUXYxbj8BO0NavqdBP00MkgxtGlC1PwfsnAZpMaQQEV IDUJlj/iDLKMMdVYFGgHJ5+xD4oPlfEh7zuiLJqSoQYSOkwE325BGGYk6UXpQQi4nLRvrOtR2kc8A g0L0nD4EbCqofP7V7hWu+YxwOgB9v6XcM2Ny8d/RmITN6zPRlFchfqN0CXAd+yBCJN87KP8sZs7pM KibBYfhgSlrLrDwQCyqOv5WdNgzCX2ZXHovpXVfC+62hb/QE/d9T5W2A6W7FempX3ZDvISKO1kszv fd5NW2P5W0csBuFO7Rzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojQcl-00FkGv-9H; Fri, 14 Oct 2022 19:45:39 +0000 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojQch-00FkEo-96; Fri, 14 Oct 2022 19:45:36 +0000 Received: by mail-qt1-x834.google.com with SMTP id g11so4361948qts.1; Fri, 14 Oct 2022 12:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=CdFCrSGnPb39F/CIvynt9LAkFxUyTv4a7VuY3XVngkJj9X1jjjNV08qKes2/58FZMp 1GQn9IIfIj7BAJLqmzKqDsxrPsc2LzwOdiftR7Zd7YCfVJ694NlgI2C0AVag1XYfcBih Im58IfhTl0zNsHfcoa1BddM73lkdldug7xFxgrOpP9SoEgOCwT9uQ35cackwPL952K6X sYE9YCovERBHAZGgvFXdod0wjCtipAtB2lcgWgqW9hUU4kTMYvDIGysF/M+/oj/UrRBR gQNZDEt2/cbcnOrJwXNhKsE3pTLmMlw+G9t7PhGYE6oKUJoNXRG2zTdcy7Q1JmjcKNP6 ZUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=AeazCYpL4tSjOK1PUxZ+X7nV4wRmP3JZO84k/qoz4PGGw54bB57/g+EVRnH02kkE26 Ewxo8ILepQ3y7GUbudEynTpFcYBMSz1Y8jR4w9QAmxPKimSeXccpJIJtaFSL/F/03LXT KmlXdDl3frOKjCImSR5x/KvfI5Zup1slKAhQHr8rvUVCA+ch2wgh3d3CkZvjHzdXaj1K YZ52/PG6Fb83yfzCiEFraxAfPknge2Ra0zko08OJRK2mNhwH57i+vTGPQ8IKR7mPNclX GnT5wpe/FxAYlq9/VSpMbYfc5Zd9wmECgZ8v6myDIzbm2P/K1S2JocM0PsJj7xmP8ESh /pCw== X-Gm-Message-State: ACrzQf3Zy1R5vIHe3P5Vmb5Y0L2BXlxELvl6eOSH/NBEERuJSOIGemM4 0mxcVG2DDHpwSvUW3qNs0Oc= X-Google-Smtp-Source: AMsMyM5YwovOdmOixZxoCjVDQ3U5mtCE1JsPE8AHNwdOKu781m6RHftPl9Vq+OUrVZz+2BWZWmsacw== X-Received: by 2002:a05:622a:83:b0:35d:44c1:e026 with SMTP id o3-20020a05622a008300b0035d44c1e026mr5718168qtw.298.1665776732330; Fri, 14 Oct 2022 12:45:32 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id u3-20020a05620a454300b006eed094dcdasm1548628qkp.70.2022.10.14.12.45.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Oct 2022 12:45:31 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2022 12:45:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3 3/7] firmware: raspberrypi: Provide a helper to query a clock max rate Content-Language: en-US To: Maxime Ripard , Michael Turquette , Emma Anholt , Stephen Boyd , Ray Jui , Scott Branden , Broadcom internal kernel review list , Daniel Vetter , David Airlie , Maxime Ripard Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Dom Cobley , dri-devel@lists.freedesktop.org References: <20220815-rpi-fix-4k-60-v3-0-fc56729d11fe@cerno.tech> <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> From: Florian Fainelli In-Reply-To: <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_124535_353097_C2A14B48 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/13/22 02:13, Maxime Ripard wrote: > The firmware allows to query for its clocks the operating range of a > given clock. We'll need this for some drivers (KMS, in particular) to > infer the state of some configuration options, so let's create a > function to do so. > > Acked-by: Stephen Boyd > Signed-off-by: Maxime Ripard Reviewed-by: Florian Fainelli -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 62280C4332F for ; Fri, 14 Oct 2022 19:45:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 013BD10E06B; Fri, 14 Oct 2022 19:45:39 +0000 (UTC) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by gabe.freedesktop.org (Postfix) with ESMTPS id 51AF510E06B for ; Fri, 14 Oct 2022 19:45:33 +0000 (UTC) Received: by mail-qt1-x831.google.com with SMTP id c23so4349899qtw.8 for ; Fri, 14 Oct 2022 12:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=CdFCrSGnPb39F/CIvynt9LAkFxUyTv4a7VuY3XVngkJj9X1jjjNV08qKes2/58FZMp 1GQn9IIfIj7BAJLqmzKqDsxrPsc2LzwOdiftR7Zd7YCfVJ694NlgI2C0AVag1XYfcBih Im58IfhTl0zNsHfcoa1BddM73lkdldug7xFxgrOpP9SoEgOCwT9uQ35cackwPL952K6X sYE9YCovERBHAZGgvFXdod0wjCtipAtB2lcgWgqW9hUU4kTMYvDIGysF/M+/oj/UrRBR gQNZDEt2/cbcnOrJwXNhKsE3pTLmMlw+G9t7PhGYE6oKUJoNXRG2zTdcy7Q1JmjcKNP6 ZUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U555cJ7oEdcMNPdYOmtxquYWZkPSsvlm43vBiYFKjFY=; b=Zbez12YzwmHWdXMi2kMpgRbBrCwelj7o32+Fm5Nvcu1kft1OWu8BuIyI4UHkPXlviE H/hjWKdBiqGFfqFLToZk8KnRTrRrzxDTiisaTYJPlbRh0Q2cZsTh9V8lInWF9h/+PvMU BjZ8id6nvzy4ApytR8fkxYbn65YbldrzboCjut4jBfkZl4tmZ5EG3bxijLniDE/4L0Zz OfZFXSBKV1hfp9bDLhmTqpW5UORGGcnlzluCoWZT7Sj5Yu4kP7f0Mw69i0o0srPO6O2z FkYKiKACOY5PGNiDCkeuBttAMiLqgAJlszYbyqdQumRnACqTd1sNCs8AN5yOizt63kcg FE6A== X-Gm-Message-State: ACrzQf2NhaFF/XEGFO9LxF+maOUXE6thN3DErJy1fUHuDhB9RvmVHg8u FS3Q0aV3cha84AglDBkcHmk= X-Google-Smtp-Source: AMsMyM5YwovOdmOixZxoCjVDQ3U5mtCE1JsPE8AHNwdOKu781m6RHftPl9Vq+OUrVZz+2BWZWmsacw== X-Received: by 2002:a05:622a:83:b0:35d:44c1:e026 with SMTP id o3-20020a05622a008300b0035d44c1e026mr5718168qtw.298.1665776732330; Fri, 14 Oct 2022 12:45:32 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id u3-20020a05620a454300b006eed094dcdasm1548628qkp.70.2022.10.14.12.45.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Oct 2022 12:45:31 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2022 12:45:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3 3/7] firmware: raspberrypi: Provide a helper to query a clock max rate Content-Language: en-US To: Maxime Ripard , Michael Turquette , Emma Anholt , Stephen Boyd , Ray Jui , Scott Branden , Broadcom internal kernel review list , Daniel Vetter , David Airlie , Maxime Ripard References: <20220815-rpi-fix-4k-60-v3-0-fc56729d11fe@cerno.tech> <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> From: Florian Fainelli In-Reply-To: <20220815-rpi-fix-4k-60-v3-3-fc56729d11fe@cerno.tech> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, Dom Cobley , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 10/13/22 02:13, Maxime Ripard wrote: > The firmware allows to query for its clocks the operating range of a > given clock. We'll need this for some drivers (KMS, in particular) to > infer the state of some configuration options, so let's create a > function to do so. > > Acked-by: Stephen Boyd > Signed-off-by: Maxime Ripard Reviewed-by: Florian Fainelli -- Florian