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 9F29FC001B0 for ; Mon, 17 Jul 2023 12:24:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjGQMYv (ORCPT ); Mon, 17 Jul 2023 08:24:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjGQMYt (ORCPT ); Mon, 17 Jul 2023 08:24:49 -0400 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDC95D8 for ; Mon, 17 Jul 2023 05:24:47 -0700 (PDT) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id CD3A7D5D; Mon, 17 Jul 2023 14:24:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1689596685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=547siJi3t85Xcz6ojSNfoOo4b9G05DxMLnvPU7f9uqg=; b=i2E1Hg6bvB2aEIHHkaSipJ/d96HxQwbxf+t9dOTGuXGrsXdlgcWRklfiKSTFRq4sNZAxsx xoUwopAHWv+PKNVeqFkZd9/tMact/MUjj4GRfQ1Qvnl0kb3T2O9ImExk2Y/hDYztlsklIr AtZUCH7xG9lG+FsCMM3MWAFC6YIvpLRjpsfbe/jrF1Brif5d7VmSqWgxMrzBh5FCoB1/s1 4L+8HscYqqPvGN1dsANQT8KqzKVpDe5jOtS3j+8wbO1f5DM1U48CNklUujWf9ft0ZTLypd dXzdi02ubd4GAVF4vS8dAvsUj3g+kJhp+xSu1D4u3o0qpwNKuGj4WzeQl+QIhg== MIME-Version: 1.0 Date: Mon, 17 Jul 2023 14:24:45 +0200 From: Michael Walle To: Miquel Raynal Cc: Srinivas Kandagatla , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Thomas Petazzoni , Robert Marko , Luka Perkov , Randy Dunlap , Miquel Raynal Subject: Re: [PATCH v6 3/3] nvmem: core: Expose cells through sysfs In-Reply-To: <20230717075147.43326-4-miquel.raynal@bootlin.com> References: <20230717075147.43326-1-miquel.raynal@bootlin.com> <20230717075147.43326-4-miquel.raynal@bootlin.com> Message-ID: X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > There is one limitation though: if a layout is built as a module but is > not properly installed in the system and loaded manually with insmod > while the nvmem device driver was built-in, the cells won't appear in > sysfs. But if done like that, the cells won't be usable by the built-in > kernel drivers anyway. What is the difference between manual loading with insmod and automatic module loading? Or is the limitation, layout as M and device driver as Y doesn't work? -michael