Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4972250ybv; Wed, 26 Feb 2020 06:15:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxCTrkbvYSG1JymWdQFpPyC0HrSLKs9AHBcSDoZ2TU+Uqcf+gZX2/vMFjA+gvU5naOipI0s X-Received: by 2002:a05:6808:aac:: with SMTP id r12mr3288889oij.59.1582726556007; Wed, 26 Feb 2020 06:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582726556; cv=none; d=google.com; s=arc-20160816; b=V0kkKdiLIyQkN3CU21pK06D3a+l2F3abC3Al7BH0THFPmEw/zXs9UKQnFo7yCDlyN+ X3PZS0m6fT+yqrT6tj35IOJGc1pVg0SOWe3vUPBfsirDEqg0DkmGV5Ow47GzXfU5fYvz 06RwitMNcoKsjbz0o1fHKuZeKjV3PPxaBTm9H6cP2sLud7lUA6wwVORKdxODgN6Z9pc0 M8bLFv6Du24V6c/72b63X+sazWIyPNbAWk0R9gXlP4oF2RX9QFUnyQ92PcnYkgAKODCG 7izBdeor6WDUxUWKcX/Fcjg8dOkuqB70kTEL0V8lqT8Xp/0bUeB0Mk+CJO227uQid4XT AkEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=bom162ac9gFcma9iDy1OFat3ZlFvKtIzDMH8zrN0kDQ=; b=YJwZbnvwGL+uYlvJhUX1SNJFCoYC+SE1ZWIfs66QXQ2ZggBd4LshiLhK7yjvM+alH4 n4L3aOsCV8q0RW4TLahYdsJUfoiNTPraTgDlCks78ufJtAzNGuDDhbJB+lOmFAPm7yx+ h+U35UjlU3tA+IczBy9D7KIFRtg29gd1CmJVjxbc6QAlBDS42NyeBf3olOXyDXR3PkCl +uxz//7Xpa3Im0gl+iESwbp6/lxr32p3L6/3XrNA68L/6pFfW+DrpE7ojg+mcYXiifGk NjwxRZhXqill9gd/t9JsTih2AwGnS0qYksQvDzFKg+4OfpQzQTNH0yzdikdX2krTJUpo 0lSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=WgTEJSBQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=1X4uKlKj; 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=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si1297992oie.56.2020.02.26.06.15.43; Wed, 26 Feb 2020 06:15:55 -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=@cerno.tech header.s=fm2 header.b=WgTEJSBQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=1X4uKlKj; 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=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727136AbgBZOPO (ORCPT + 99 others); Wed, 26 Feb 2020 09:15:14 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:53219 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbgBZOPO (ORCPT ); Wed, 26 Feb 2020 09:15:14 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E1B638363; Wed, 26 Feb 2020 09:15:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 26 Feb 2020 09:15:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=bom162ac9gFcma9iDy1OFat3ZlF vKtIzDMH8zrN0kDQ=; b=WgTEJSBQc0Giu0DeGNBqZ/LQw2ug88/mp3W/Ys3KlO8 LoB5f0/SCHWrQEHleI9Wp6rjzFK75hGqI+TovHWWv44ZDjGFrEUnP1bFnnNh9IqS nnISRiK7YtF/2/Z3OQO/qnW6Ys5Q9iUylCq7MIpfZ1IYl3nID7Ekw2kT48mUudGx IFrFO7ea234w9NDj0CR7wQ8KtgG1S29UnHb8m4YTiE4tnW/rJ4g1WisF9pLwJ8gJ RHekUGi5GdabkCgbEYd0Vgk7Vj65IiZzu7xz+HsjUsS9PoQZ2m4mlz7QgbEccfa6 fFlXpJBnkAT94imNELyAyRx4kFeV8SubySmkce/QWNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=bom162 ac9gFcma9iDy1OFat3ZlFvKtIzDMH8zrN0kDQ=; b=1X4uKlKjPafmoLx5sje8fN Z5F2e61U76rNKHqHghkOcwD655QLYMt47hkt4N1d543s/Z+X56oWH53kfSlO8VO8 l7SqkCAmJG5FO40/GyRr59Vi4z6EmKnDBqe6lDthTOTg2O7GwDYKxFIFwPdr1LkG XBeOv6LRm1u4sf2+qGmOJU/vAHRMCL5XUJHyqxlv+gIAsKvnJBHI0mZo58goCe/n NjtOnRow9mZeXICIlU1Q2fYqVkGHhunIGbihqr+sC2pXeW/pN7BG0YliXK7nG7R+ 9N5UJ5zraiGkWIVY03WhM+6iFW+9ZLx1VpGWZGq5wrtWp1Cv1lU5zTop7uEJFlrQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrleeggdeigecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucfkphepledtrd ekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id C60B33060FCB; Wed, 26 Feb 2020 09:15:10 -0500 (EST) Date: Wed, 26 Feb 2020 15:15:09 +0100 From: Maxime Ripard To: Florian Fainelli Cc: Nicolas Saenz Julienne , Eric Anholt , dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org Subject: Re: [PATCH 22/89] clk: bcm: rpi: Discover the firmware clocks Message-ID: <20200226141509.awlydvh6bi7re27o@gilmour.lan> References: <2814be76-4006-4651-0a84-6dfaf2064e4a@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n5yxkfnp2qbxja73" Content-Disposition: inline In-Reply-To: <2814be76-4006-4651-0a84-6dfaf2064e4a@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --n5yxkfnp2qbxja73 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Florian, On Mon, Feb 24, 2020 at 10:15:32AM -0800, Florian Fainelli wrote: > On 2/24/20 1:06 AM, Maxime Ripard wrote: > > The firmware has an interface to discover the clocks it exposes. > > > > Let's use it to discover, register the clocks in the clocks framework and > > then expose them through the device tree for consumers to use them. > > > > Cc: Michael Turquette > > Cc: Stephen Boyd > > Cc: linux-clk@vger.kernel.org > > Signed-off-by: Maxime Ripard > > That seems like a re-implementaiton of SCMI without all of its > protocols, without being able to use the existing drivers, maybe a > firmware update should be considered so standard drivers can be leveraged? I'm not really qualified to talk about how the firmware will evolve in the future, but you're right that it looks a lot like what SCMI can do. Even if a firmware update was to support SCMI at some point, since the firmware is flashed in an EEPROM, we'd still have to support that interface. Maxime --n5yxkfnp2qbxja73 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXlZ9bQAKCRDj7w1vZxhR xfqTAP4vLh532NQ+/Wzxq6syIJ/bQnWdlyFvUKhuvHlwOVJikgD9EEvRQkVNQLSB OFFRQxI+ToWjkDElsX49T4eIov7qRAI= =N7b+ -----END PGP SIGNATURE----- --n5yxkfnp2qbxja73--