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 005DAC83F1F for ; Wed, 30 Aug 2023 18:46:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242866AbjH3SpC (ORCPT ); Wed, 30 Aug 2023 14:45:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245621AbjH3PoO (ORCPT ); Wed, 30 Aug 2023 11:44:14 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8303E122 for ; Wed, 30 Aug 2023 08:44:11 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B29282F4; Wed, 30 Aug 2023 08:44:50 -0700 (PDT) Received: from bogus (unknown [10.57.36.157]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6354B3F64C; Wed, 30 Aug 2023 08:44:09 -0700 (PDT) Date: Wed, 30 Aug 2023 16:43:12 +0100 From: Sudeep Holla To: Martin Botka Cc: Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andre Przywara , Alan Ma , Luke Harrison , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka Subject: Re: [PATCH] firmware: smccc: Export both soc_id functions Message-ID: <20230830154312.zferm3it7mj4nwsy@bogus> References: <20230830-smccc_export-v1-1-6ecc7661bc94@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 30, 2023 at 04:19:23PM +0200, Martin Botka wrote: > The patches using this are still WIP but the basic point is that H616 has 2 > die revisions (And those have > couple of other versions themselves) that require different uV and some > frequencies are blacklisted on those > versions. > > The driver is using these functions to read the revision (Not the version. > It just looked like the logical > thing to export both and Andre confirmed. We can ofc drop the version symbol > export if need be) and reads > trough the OPP table and selects the supported frequencies and uV for the > chip its running on :) > > I will try to get the cpufreq patches in order in the upcoming days and I > will Cc you in those as well + > post a link to them in this thread :) > For simplicity, just make this patch part of the series that adds cpufreq support on this platform/soc. Cross referencing won't give any more confidence that the user is also getting merged at the same time as this patch. -- Regards, Sudeep