Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2545384imm; Mon, 10 Sep 2018 02:52:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZyCtXIearhMss1puUy8mk85PkLugOuNJQ3WTI04KI3/0PgODhM7GSTEJOmBFZgyldiw67v X-Received: by 2002:a63:6343:: with SMTP id x64-v6mr21868259pgb.173.1536573166208; Mon, 10 Sep 2018 02:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536573166; cv=none; d=google.com; s=arc-20160816; b=lVuqA3jxzt+TJ4nykyliJ2PcHBGwNPv+QyhMz0JnMK96fm9Ws9sI0qxr1ld5edpMd3 m8dk4TTKevF2M1DtoK0exVZIEVRFXe/hsh5BlQAUBQmA4EVN2Yvc7ZXFBLD4p5L9WLfk nt8PPx7MMku52eGi+UVMq/KqPeXDkiuJDxwR9KOoZHgc1wjZOGsh6k4SGe9Lecn2H8Xl Ps7bZIjCp/hw65dEIuJq2si86c38bz+PAFh5DMS0mSqyCoYDfzHl1B98OKeJ5slrQ0o7 1ZzKMFfXFHQ3Hl3KDccqAarhoynosv3dq9gv9Oj3nthYoQT6MdM+ZKMg9Fsae3OIITWm aY/w== 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; bh=G/ESRwqE/rb3ZBbl8EwSgeN9RXkMQLxc5ggH39Nshlg=; b=OANY4MqtZuwxu3TNE+hIzSVpS2bKHCtM8RTNHQwgPPSReAU4+AsiDng5cCIYDonMAC sses3OhCKNQD3dPdBs8m1iQeGKOyO3wn0Lf+RdNe7BbzLanLLsSfmpYnZYudSheL2ubP LgjHPaFPrMbI6muB9BllGsFpKgXT8HiCyfM306ckKHjK4knZKRoFtp68LmghBStVKMY4 SYPWg9+cK2VPg+N1nr6WKizuRxSe2+SHXEMR9N1RTertYa/y0l6QrGbC56T9VBshnELl Eb1DAkkCuvvNZQWylXJb9guEuCpS4j5P2dXrSJdvWTEHJP28qiBBTAdiTp5vjfYUg9dq Z/rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iU6hQsHM; 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 u76-v6si18471222pfj.58.2018.09.10.02.52.31; Mon, 10 Sep 2018 02:52:46 -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=iU6hQsHM; 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 S1728234AbeIJOoP (ORCPT + 99 others); Mon, 10 Sep 2018 10:44:15 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42271 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727635AbeIJOoO (ORCPT ); Mon, 10 Sep 2018 10:44:14 -0400 Received: by mail-wr1-f68.google.com with SMTP id v17-v6so21173426wrr.9 for ; Mon, 10 Sep 2018 02:51:01 -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=G/ESRwqE/rb3ZBbl8EwSgeN9RXkMQLxc5ggH39Nshlg=; b=iU6hQsHMvHmEUeD5g+qzHHoynEJQfeh1cE41FvxJuvf+SNfH4J1Fvr062PPINVC5qU x++RyCxuwMzAQdhsNaQZQrJ7U84Hu+CVcYn4PRpxS/aB97Tv15C8DQE5/riMC09Iemjc S8PyVMk5apQ1c/znaG/enygxAX9ePp8UTbd+s= 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=G/ESRwqE/rb3ZBbl8EwSgeN9RXkMQLxc5ggH39Nshlg=; b=INZEM3qcaYsFx6PjEMH7p6AHpWPTXpUJACC9LZa6S1HV+oOrEkN77TX7OjWolzF6Qn DqLOUxI45d9ioS8JBoyp2KA8QfayCYMZj161/WTbuAuAXa3GBNSPvut8TcP9F3YVB0gA x69L+FbJ7c2vb8ZePidhxrAoVArj7xGaWI0tPWDltp48GKMB/5u/FKEpt9D3CRrvlIEA RxN3Ff+iqmn/TGujQkVDjxeu9M/ETisuNYpAts7jCjM220vDgMUBrkqwQseUqmbfdCHO 6/CdyaD20PcQ3CPXaPJWzCWPBUh7eDgRjHL20ctUyYN3xgdMepgVWrBtzvSGPAN+JXKU Cm0w== X-Gm-Message-State: APzg51C20rvuEev9GErKtmoRv8NwXfXNpUu5t+KRodfbYnHpAS34Q66s Vk2sE3Gce1uw9A5TE/KV/0EkNw== X-Received: by 2002:adf:c554:: with SMTP id s20-v6mr13775094wrf.46.1536573060638; Mon, 10 Sep 2018 02:51:00 -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 j44-v6sm22590038wre.40.2018.09.10.02.50.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 02:51:00 -0700 (PDT) Subject: Re: [PATCH v2 13/16] nvmem: add support for cell lookups from machine code To: Bartosz Golaszewski Cc: Boris Brezillon , "David S . Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , Jonathan Corbet , Sekhar Nori , Kevin Hilman , David Lechner , Andrew Lunn , Alban Bedel , Maxime Ripard , Chen-Yu Tsai , linux-doc , Linux Kernel Mailing List , Linux ARM , Bartosz Golaszewski References: <20180907100750.14564-1-brgl@bgdev.pl> <20180907100750.14564-14-brgl@bgdev.pl> <484b6ec5-cd8e-e5c5-0c5c-2f11c504ea1c@linaro.org> <20180910102324.52ecd8f7@bbrezillon> From: Srinivas Kandagatla Message-ID: Date: Mon, 10 Sep 2018 10:50:58 +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: 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 10/09/18 10:45, Bartosz Golaszewski wrote: >> Yes, this is how it should be! >> > Any actual reason for not putting these definitions into a separate > 'machine' header? This approach is currently used by gpio, pinctrl, > iio and regulator framework because most systems use either DT or ACPI > and don't need to pull in any stuff aimed at board files. I don't want to create header files specific to usecase! Lets keep it simple! --srini