From mboxrd@z Thu Jan 1 00:00:00 1970 From: Purna Chandra Mandal Date: Tue, 12 Apr 2016 09:19:58 +0530 Subject: [U-Boot] [PATCH V3 1/6] dm: gpio: add a default gpio xlate routine In-Reply-To: <1460395884-8669-1-git-send-email-eric@nelint.com> References: <570BDBF1.1010602@wwwdotorg.org> <1460395884-8669-1-git-send-email-eric@nelint.com> Message-ID: <570C7066.9080201@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/11/2016 11:01 PM, Eric Nelson wrote: > Many drivers use a common form of offset + flags for device > tree nodes. e.g.: > <&gpio1 2 GPIO_ACTIVE_LOW> > > This patch adds a common implementation of this type of parsing > and calls it when a gpio driver doesn't supply its' own xlate > routine. > > This will allow removal of the driver-specific versions in a > handful of drivers and simplify the addition of new drivers. > > Signed-off-by: Eric Nelson > Acked-by: Stephen Warren Reviewed-by: Purna Chandra Mandal