Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4072999rwb; Mon, 21 Nov 2022 03:25:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4XpYPAsY3nS3mc7qhH6lme0pdloyQUXR8dsWwPs4nW3toUK4UlLWGXSWL8L4XdRhV8fIRA X-Received: by 2002:a63:a0c:0:b0:46b:4204:b3e5 with SMTP id 12-20020a630a0c000000b0046b4204b3e5mr2062109pgk.351.1669029924567; Mon, 21 Nov 2022 03:25:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669029924; cv=none; d=google.com; s=arc-20160816; b=WqTx7IfoqiFGbsr6vXPRXCWLHTAFjCUVxfIDnBv9sFSnQNBjbMfu2WQkML40OnAr7k Mkt8gGGp4PjcAqiA6/uxeGOLzC54UkRLo+dq2bCvxFY6p7E8fMX/69WjBKR49HBcFkGr Hlytp0hIQQAycw/CuGyxYvvVAA6s4y2KaJeplv7Q0tvYnWfT11kt25gvYAiC5hs22j/s Cx2szs5uMesXa2T4yTj8LSFNVllALSzaWlHu8XlnfwoJgRJ9arCgP0BNKmpSR4irlLVD HBQo2WeBZ6QizqpKaqV9EjhHhdTNDCnfqAYmRu8dSEYIg4/TiCgVT7tWgSp6RFnCWBe9 jFDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BA5PxtGiUsCZ9o2M8Np4MQIC5EXCplZc1D9t1PWgXsQ=; b=eATfFagAzP7qdrZ+w6dilQ7Nrbw1tPCcTwE7wO+l3Dz06Cv/tTwk9bFW9EjH0DT3SB gMqQGoyCDsBnrd6PY4LzKx4iqLJ+4KE7zF5cZ51/jFugle3wnRYvhOHEsB0X393CxpjF gRXk9ZR7QFMLlHfvbwocIXPgeqKstfC0Ec2kxeV2XPsR/3Xo/qPdTk3TWoWn13fw1ZkS 3pSyTQvxEe0tzImDa76cnQ9L430zKJmaA9471xxh3/vCGv+MGSD2bjg9VnB+SPu/2zZ9 sf2WcTyLYiyQ93YsA95h8/8L92le+A4RqwBxb70dQ67qKfA92FNi79+8/BjILJYKNt4+ ITow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iZBBxT0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a170902864700b00186ab026646si10150316plt.394.2022.11.21.03.25.11; Mon, 21 Nov 2022 03:25:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iZBBxT0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbiKUK7x (ORCPT + 92 others); Mon, 21 Nov 2022 05:59:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiKUK7w (ORCPT ); Mon, 21 Nov 2022 05:59:52 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8E759E95F; Mon, 21 Nov 2022 02:59:51 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id q96-20020a17090a1b6900b00218b8f9035cso1747138pjq.5; Mon, 21 Nov 2022 02:59:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BA5PxtGiUsCZ9o2M8Np4MQIC5EXCplZc1D9t1PWgXsQ=; b=iZBBxT0FR5nFckpM99wxqo3CAphNatCWMTcU1iWUpPdbj27cSn8n6RGaPL0/0wO3k8 k5ctEC6rc+D3qaadbYqjuCwY4+epWxeW7VdSiRRZ5XE4NX1BYgZGlm9BaGBQNow5v7Dz 8icNDgC6+YHCTwXXZD6GKtzd95Tm+w4tgVJqc7pG71lfHwEyaJ3BqXo6BH/YutbngEkb CFDu/rxFiHGpogPZ/lm9O4nZI2rNOGDSfDabF+tiGpfOoqUVg/GQUygQAz34/I3WXlHC uNZmstvLqObxV6u+DioyjG3CkchBx7IPOzwK1zaa0UFaTaobd+ij06APCFu2iGu9iGzR PJUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BA5PxtGiUsCZ9o2M8Np4MQIC5EXCplZc1D9t1PWgXsQ=; b=4BBFBlLZmbGi2cWCN4L/ASbAWz7P01hZAeaMjI9W4Ahveb3B97/xeVViGAWGhcfYM/ MEmly9rSRJWe3H3fqxDylBzTc7rnGUOLixzaEDuYAVHU5B15wLR+S3SpeYLkJsdYfVS0 iTKR5pBMnoVyo+O+g+bfgqSeqhWomBAqb4fWML5Pq+cP8IBLV/KzWzvLwZ1zR+CEPOaW etNAeiZ6vRzflOyKI9Ys4jVWWpg4IQFZ/GpibkeeCBKlDG2kH9UpGNvx+d66BHV0vVns CNMaVyGXNu9kjnV9+uQfhMJD3TyoFEX0yZgCY2AKBF1S0p7x8LbO04SnL7wD2n/BXGkP Mbqw== X-Gm-Message-State: ANoB5pnU2kTwzNokx1Hphh6Qzg5boZT88/hLq+f77mY0akYYTa19XPwU bZXn63DqMEe+WbpnbjCovB6OnzTYodZRVCAfJ+K3PwfE X-Received: by 2002:a17:90a:7004:b0:218:ab86:3acb with SMTP id f4-20020a17090a700400b00218ab863acbmr5765589pjk.195.1669028391342; Mon, 21 Nov 2022 02:59:51 -0800 (PST) MIME-Version: 1.0 References: <20220928124108.500369-1-linux@rasmusvillemoes.dk> <09611b2d-096e-058b-5349-627684e3a13c@rasmusvillemoes.dk> <8cce4dae-c653-515b-1a5d-024986afbabf@rasmusvillemoes.dk> In-Reply-To: <8cce4dae-c653-515b-1a5d-024986afbabf@rasmusvillemoes.dk> From: Fabio Estevam Date: Mon, 21 Nov 2022 07:59:33 -0300 Message-ID: Subject: Re: [PATCH] clk: imx8mp: register driver at arch_initcall time To: Rasmus Villemoes Cc: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2022 at 6:44 AM Rasmus Villemoes wrote: > That doesn't seem to be true. To test, I just built the imx8mq clk > driver as a module, and I could certainly both load and unload that on > my imx8mp platform. Sure, no "bind" attribute shows up in the > /sys/bus/platform/drivers/imx8mq-ccm/ directory, which is exactly what > one expects, but the module can be loaded just fine. And since it can be > loaded, it should also have a proper __exit call for deregistering the > driver on unload. You are right. Sorry for the confusion.