Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6570073ybi; Wed, 5 Jun 2019 03:04:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEh8laLEOpUNWrLbDKNM71tlVq0f92MgZebuEkZbwnVI3/2L2HaqmvU04MEy4l59Iitwhs X-Received: by 2002:a62:764d:: with SMTP id r74mr21372613pfc.110.1559729084926; Wed, 05 Jun 2019 03:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559729084; cv=none; d=google.com; s=arc-20160816; b=iI+6vlvGEv6eH7+tP9d8+nLT2uH3bGbXh5WQfSMhjKsdeScorW/N/Rs0hoSCIKXfvT jngnBn5vVhSLmYC8Dao4KhfJyc7t5E5bYyt/29GPD66YV0Ndcw7yH77XEvn7bro5GruG UyZYi2yt8gfDIv6bofavDox0wM0WBddUDRUS3sZz1gwSpzDPZc4RPXI0Nb+JlIX4foVL UftYVOv2e9JKhVSxtajTFBgMga1yfc1OtqRR8T7rj0h1sR/PL3g8qHLAaO7sC4gOtsB9 mVmcdxbDKvQRv+SmRh3GIzIsBpM6HUjR6ver0R44jWgiOHcBqSzDEwB9u9UQXmzuctbq dtKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=t+nGh3/4nbOoPC8+YgqoYmmYceUC28Z70zLkImeGdEI=; b=tpWGkrfu/MLj9YuYZ+QSlqA8LCiwg1UAHQoVLUcknKjUaR0NXTUy6AxY8JTUR/HZ+P zNCHGTvnuJapKlYwpGK1WLkPozO1FHRFF3vnz/fCPBB92tc5MrPvsckCzk0lHEp0Dw/o fgUBhugTLd0QoUcfHE4hmCFV1AJl/mDHH0QkCNqbD1ywD8/ANqZqMXK4j0xYM8Kxwdtq jjQlzHfV6LxRZ840egAm2gil3w27jLxBO66ABvDkp+E6e3DY0E1RsXJ8x+2kNOW1NkMx HrZKFauxO9MJ8LY+lkFwirzrXW7hM5Wta2dj+wjk7UJgb3ZjmKs4svTYc6G/6CgAKMPJ Vq4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=bZD59ZmW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si24935966pga.515.2019.06.05.03.04.25; Wed, 05 Jun 2019 03:04:44 -0700 (PDT) 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=@gmx.net header.s=badeba3b8450 header.b=bZD59ZmW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727191AbfFEKCA (ORCPT + 99 others); Wed, 5 Jun 2019 06:02:00 -0400 Received: from mout.gmx.net ([212.227.15.15]:53403 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726988AbfFEKCA (ORCPT ); Wed, 5 Jun 2019 06:02:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1559728900; bh=UsET9Lll5M+CoTqv+pj38b2HWnBKUKBonnb58LGMBT4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bZD59ZmWY0Ntwhnge76QXnUAewp8/FaivB+KFTadt2z1WLIpRJTlz9brY9UOo3mDL sVe8Cr8xZ1m5qfcG/T1YyyBqb40gGEvMxtqaTVdFrbXtguM54zJJ9pQiJUS5kckjVr FzcaSXguUpZX0EjeNG0El4SLnzdH1AAj42k2nCt4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.160]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N1fn0-1gb2dQ1uGm-0124AV; Wed, 05 Jun 2019 12:01:40 +0200 Subject: Re: [PATCH 3/4] clk: bcm2835: register Raspberry Pi's firmware clk device To: Nicolas Saenz Julienne , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Cc: linux-arm-kernel@lists.infradead.org, ptesarik@suse.com, sboyd@kernel.org, viresh.kumar@linaro.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org, mbrugger@suse.de, ssuloev@orpaltech.com References: <20190604173223.4229-1-nsaenzjulienne@suse.de> <20190604173223.4229-4-nsaenzjulienne@suse.de> <87muiwzyrw.fsf@anholt.net> <17ea99902e4329db735080d1a8fc04f5c06c9bf0.camel@suse.de> From: Stefan Wahren Message-ID: Date: Wed, 5 Jun 2019 12:01:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <17ea99902e4329db735080d1a8fc04f5c06c9bf0.camel@suse.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:9f2lQD4Z7CpbaiYWLkTMJigUa1MziLg6+z/wwaBIURmsxQgOUS5 k2FYvw7vOfvcPi/PmfQ5fixRnOqThMuOv787Vl764hF59L8a6jmBs3NRYyoG5HAmJmv1b19 +yvY6j7zCQUeWKyarSDtHkN+zou8bvDUL9jpBSvvfE2bD/YQ3lvm5FBWwjvJQYKdwvyBmXc V6NMtKpN71rZbBuSV6twg== X-Spam-Flag: NO X-UI-Out-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sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 05.06.19 um 11:11 schrieb Nicolas Saenz Julienne: > On Tue, 2019-06-04 at 17:00 -0700, Eric Anholt wrote: >> Nicolas Saenz Julienne writes: >> >>> Registers clk-raspberrypi as a platform device as part of the driver's >>> probe sequence. >> Similar to how we have VCHI register platform devices for the services >> VCHI provides, shouldn't we have the firmware driver register the device >> for clk_raspberrypi? Or put the clk provider in the fw driver instead >> of a separate driver (no opinion on my part). > Makes sense to me, I'll move the platform driver registration into the firmware > driver. Fine. Please keep in mind that you might need to add a MODULE_ALIAS otherwise autoload won't work.