Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4201146rwb; Mon, 21 Nov 2022 05:05:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5GR7sew7Es3/SSuBy2VpULGLenjCRLvP4mZX2jxeOnzWERyMmkIfPak9iI80QMMVXO7j/A X-Received: by 2002:a17:90a:8d0c:b0:213:1a9f:8d77 with SMTP id c12-20020a17090a8d0c00b002131a9f8d77mr19837137pjo.102.1669035936011; Mon, 21 Nov 2022 05:05:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669035936; cv=none; d=google.com; s=arc-20160816; b=xRFj25SDl9rti0K2rTqUO83rH3W1rvQZX4DI/UcUtoYSZMq2FVAa/x96J3KAGE6wFS 5n+rWALSbBSt4CVl4QxeRBmCiX8g0fHCj+heeqTySeGepvwfZpl38b9Zyv1oMQNyK9pE xSM3m56AxcVtIhlBWCu47hNESomkSsDVoPPr4l7IRkc5iFsR7Ibb34GrY6SnhdTNwSwf OOPzIyhFuHUao4YyHimYock9PcC8+641Uhdd8Z6WG6ZhirSm0Ad8pd7md2uu4Z9nHMvR KzJqbibRl0/TUA2db5IKMrHsxZPnbrYAVc7PO/PyNQMkSl7COZqdqVTCxfEbLHzC0sHI GSmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=E9VGbTdcjI69cJd6T5Y29ZL4qR21t3iDewkJqc/IFFM=; b=H4cbc2hqJv2azsy92rj0BKbHajkijxqBPY6kKhJ2+cbSMi0x8sawAjyHeAzokxJWid eOEPvwZVMlFpx2umGwKP76AADZVfsqdOzJT6nofnVYSy98qkicpK5QdAgWVlFdF0A92+ JyJNZrjXTY83yEdyVaZv4PQDuf6corJV2hXns/X8773vXyLFjxoCGKdX9u0h6YXPnXhb gsYBlgLaLkQTQjHUcA2MnrkTdocD3DZrCVMlV25NeH0Bn8tIbx5UBfzJlEeyRnplUTBB URfda8lRyDPcQd4h6mgXWKZIKsKOUt6Ta7dRNZo2FhNbJXhW7qd/+Op3BR1A5kNhoMru XdgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=RaIJxLHP; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170902e5ca00b00186f4d6668csi1165502plf.261.2022.11.21.05.04.55; Mon, 21 Nov 2022 05:05:35 -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=@rasmusvillemoes.dk header.s=google header.b=RaIJxLHP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbiKUM3w (ORCPT + 92 others); Mon, 21 Nov 2022 07:29:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbiKUM3e (ORCPT ); Mon, 21 Nov 2022 07:29:34 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF59BB845 for ; Mon, 21 Nov 2022 04:29:32 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id d3so14358069ljl.1 for ; Mon, 21 Nov 2022 04:29:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; 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=E9VGbTdcjI69cJd6T5Y29ZL4qR21t3iDewkJqc/IFFM=; b=RaIJxLHPHfZLewaejHUmvriS4VxxpBoof7yZWKTrgpjq6Ir/W09iujWKS5p3OiGHS+ Vx7kc5ntQkhhRmxNIrRjTZk32fghdrZeDHlPDyS1tBCteYLPZ02Cu5G6Tw8zF5htvjwT 79rZ2t8Ey429gHYI2ahP4bpIXdvn0SprNttDg= 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=E9VGbTdcjI69cJd6T5Y29ZL4qR21t3iDewkJqc/IFFM=; b=miofLql5q3vR2hFsbvKGMc9F0hWQphXESV4Vym8FSG95fvy9WhhgsQLkoMRW/4IdOZ poo3O/ToWlJnOt7/0D/TqbUo6hGz9WDYRVxDWgx9n0DqB5LwiQZy7GkBYq1CqTSY86/D Qs/WdCrtmclSODW4WOpaywchMD4t4mzfWAp+YptDAchxvBlp/oUFAG/af9wBDkPnwHot 6K2DrlrLFLLAoZCP8zYYRUJfAVFezgjgW5OwDn99BIfG3a3vfdI/Uuq8K2fH/nQCdpG0 uS0Mcd6xnkmFNtfAKQOD5QRZqIW5AYvlzHxF5bSF7TPfYmIxQuEDJxqRotfqRDcgBuI+ HWzA== X-Gm-Message-State: ANoB5pkEc2aBROcjLzCXjevXCU8qVQ78w/v6786gD5J2Et0vgXq7nqZ1 eH3XqJvqqqN7xZXmzpC8zS1E0g== X-Received: by 2002:a2e:bd17:0:b0:277:50a:bd5c with SMTP id n23-20020a2ebd17000000b00277050abd5cmr5622192ljq.6.1669033771111; Mon, 21 Nov 2022 04:29:31 -0800 (PST) Received: from [172.16.11.74] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id a15-20020a056512200f00b004917a30c82bsm2006521lfb.153.2022.11.21.04.29.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 04:29:30 -0800 (PST) Message-ID: <2cb72f22-3e9d-c146-734a-ec0b306bdeb1@rasmusvillemoes.dk> Date: Mon, 21 Nov 2022 13:29:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] clk: imx8mp: register driver at arch_initcall time Content-Language: en-US, da To: Fabio Estevam 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 References: <20220928124108.500369-1-linux@rasmusvillemoes.dk> <09611b2d-096e-058b-5349-627684e3a13c@rasmusvillemoes.dk> <8cce4dae-c653-515b-1a5d-024986afbabf@rasmusvillemoes.dk> From: Rasmus Villemoes In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 21/11/2022 11.59, Fabio Estevam wrote: > 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. Thanks. Does that mean I can keep your R-b for the patch as-is? Rasmus