From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: Re: [PATCH] gpio: gpio-rcar: init at postcore level Date: Sun, 23 Feb 2014 19:09:48 +0000 Message-ID: <530A477C.6070007@codethink.co.uk> References: <1393173467-12240-1-git-send-email-vladimir.barinov@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1393173467-12240-1-git-send-email-vladimir.barinov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org To: vladimir.barinov@cogentembedded.com Cc: linux-sh@vger.kernel.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, magnus.damm@gmail.com, horms@verge.net.au, gnurou@gmail.com, linux-kernel@vger.kernel.org, kuninori.morimoto.gx@renesas.com List-Id: linux-gpio@vger.kernel.org On 23/02/14 16:37, vladimir.barinov@cogentembedded.com wrote: > From: Vladimir Barinov > > This adds ability to use gpio API at board init_machine level. > > F.e. it can be used in the following situation. > Many reference hardware has onboard switches that selects which periferals > to connect to the system. The gpio input state from switches can be used > in choosing platform devices runtime in board code instead of ifdefs/defconfig > changes. Firstly, anyone still using platform_devices to describe their system needs to be stopped. We cannot go on supporting this when our primary boot method is supposed to be device-tree. If we keep doing this then we will not get any of the current issues fixed. Will it impact the devicetree bindings on rcar? -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius