Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5182189imm; Tue, 21 Aug 2018 07:35:43 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyQYUYjSLfZybqnt/up6wBphquAqb6ZSwbve0jf0CgYbuO3xpn21RIWgcIYuQ+FX8Ybk9BZ X-Received: by 2002:a63:1644:: with SMTP id 4-v6mr48051217pgw.103.1534862142949; Tue, 21 Aug 2018 07:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534862142; cv=none; d=google.com; s=arc-20160816; b=L2UePERf5/LUe2MBuF6VOtqHxnSg3ZNalGby04p0Gz72nsyA0O7JVAHf2JnU+N4uTy v4264bHQaKPckW7b4lpo/fGPhZEeoHAw+OMfjIsL1DqqvDdfywYr+9nQl7vHe+vmbMhs 7zJRQVs1syN7fmoPN/wqNwjtbJYaMishq6Tg4vCcL93gRA3znRbH4+Xac+rmUzNGFwbC wLVUdb05FP59wgfLd21yHi+n4Yz1dC9YVvzH5Al+EKIHXyGcCFp5M84FcsdeuoFzNsri ocvhF9c2IAhJ0CUG0Sp3PsPJHxcqvdm6nurLiVY9AT8MbfBQTgdPdztDiDmoG2FZD4QP 1YLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Un0w2l7Yz8T6CyGn0WzV6GbAnHWwvbXDyMP7AeR90UY=; b=PqLowoPfPz1CHbIonby2YEM8u59GY/xKSVOM+9aelkeeROi4gbmnwqXlWhaiRpuAiQ MxsEWIPm6fa0Ax8/1y+0xz6cJ74gI+nywOZ/sLtQrAdnUClJBIcWJ1wpohpl1oPZRnck 6yudZRgtU5RVuFw0BtBn2bif9tsgWcfaF6xM8qFP09ceIZc+sMzb0FtdP+K1g9ANjsza sE6rzSwkNs54VFUZNBUjz7DkV6JG7HD+1I6utjHvk/RbOZ03ASRiz7/pkwHrRASJH5OD yH0aRURIJIKzrRHXdcUz+YiwZA6XfD+tD4hNgjpR4frp1F3NG8ZxpbTVxkWKJg4gBfB/ FewA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kDynzjNq; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si12307780plp.166.2018.08.21.07.35.27; Tue, 21 Aug 2018 07:35:42 -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=@linaro.org header.s=google header.b=kDynzjNq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727743AbeHURxu (ORCPT + 99 others); Tue, 21 Aug 2018 13:53:50 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36198 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbeHURxu (ORCPT ); Tue, 21 Aug 2018 13:53:50 -0400 Received: by mail-wm0-f66.google.com with SMTP id w24-v6so3069775wmc.1 for ; Tue, 21 Aug 2018 07:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Un0w2l7Yz8T6CyGn0WzV6GbAnHWwvbXDyMP7AeR90UY=; b=kDynzjNqnZqV0md5ttV4QDdm0w93XJr/VkOUMCR4dSVJ68VzLYtYjXLcRz/dqiRa/1 CmW4UaesVjLNQuZICnuhBegUiaOgBKHKWXV8ZPWRbKUGwNwIVQH/RcB10dY/y3/BsAUN iZ0VrVemaUGebFdPpNIbn9avj56bv7+N226G0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Un0w2l7Yz8T6CyGn0WzV6GbAnHWwvbXDyMP7AeR90UY=; b=RN+U/7c7lvzXh87NpIofItPbnQupZJvXAJzc/0pEXuqCNF/BBmkO8riej6181BlYXH YtyWr9q/1afvTl9yEfX9JaLzuHlye90VMF1ZmP4znhxc+gsFsx/vHHsYeP/Hd0GFRXfM GkcAbdijO9WpBSl+2btFbjABIKf0ozVmkAfbgfYjCfM8OGzjxHvHaPUktbHF9CmdCyOp /g/XiAl2ppLgbmfO8kPhQqB7rEAKDYS+Qw29J78JNkU0U41C5TD6MX1Q9jrquYOzLBjJ q3EN6kU+YQUi0B9aTljni9325WfbJvxqCtBSfIJfkePXy9sFThxFHzCyGnTlANnbtjIU 7WSg== X-Gm-Message-State: APzg51Bxpx4/RCP9r6M7WKh/32UvBXBbKSrJZPyyMeGXtrXzKO1bZ4Wa 0AJp86JU0/j2wcW1tfyzBQRUow== X-Received: by 2002:a1c:9744:: with SMTP id z65-v6mr1274632wmd.105.1534862005042; Tue, 21 Aug 2018 07:33:25 -0700 (PDT) Received: from [192.168.0.18] (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.googlemail.com with ESMTPSA id g2-v6sm1880072wme.20.2018.08.21.07.33.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 07:33:24 -0700 (PDT) Subject: Re: [PATCH v2 06/29] mtd: Add support for reading MTD devices via the nvmem API To: Boris Brezillon , Alban Cc: Bartosz Golaszewski , Jonathan Corbet , Sekhar Nori , Kevin Hilman , Russell King , Arnd Bergmann , Greg Kroah-Hartman , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Grygorii Strashko , "David S . Miller" , Naren , Mauro Carvalho Chehab , Andrew Morton , Lukas Wunner , Dan Carpenter , Florian Fainelli , Ivan Khoronzhuk , Sven Van Asbroeck , Paolo Abeni , Rob Herring , David Lechner , Andrew Lunn , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski References: <20180810080526.27207-1-brgl@bgdev.pl> <20180810080526.27207-7-brgl@bgdev.pl> <20180817182720.6a6e5e8e@bbrezillon> <20180819133106.0420df5f@tock> <20180819184609.6dcdbb9a@bbrezillon> <20180821005327.0d312a85@tock> <20180821074404.23aaeb6b@bbrezillon> <20180821142716.0adcdd56@eos> <20180821145725.3b385399@bbrezillon> <20180821155706.2adf3b4c@eos> <20180821162644.5a1d7799@bbrezillon> From: Srinivas Kandagatla Message-ID: <2d5761f4-2c27-5a23-a635-9205124c993a@linaro.org> Date: Tue, 21 Aug 2018 15:33:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180821162644.5a1d7799@bbrezillon> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/08/18 15:26, Boris Brezillon wrote: >> This also has the side effect that nvmem cells defined in DT don't >> appear in sysfs, unlike those defined from board code. > Wow, that's not good. I guess we'll want to make that consistent at > some point. > support for sysfs entries per cell is not available in nvmem. However there is nvmem sysfs entry per provider which can be read by the user space if required. --srini