From: Ben Skeggs Date: Mon, 21 Nov 2011 06:41:48 +0000 (+1000) Subject: drm/nouveau/gpio: reimplement as nouveau_gpio.c, fixing a number of issues X-Git-Tag: v3.3-rc1~121^2~51^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0b25635515ef5049f93b032a1e37f18b16e0f6f;p=pandora-kernel.git drm/nouveau/gpio: reimplement as nouveau_gpio.c, fixing a number of issues - moves out of nouveau_bios.c and demagics the logical state definitions - simplifies chipset-specific driver interface - makes most of gpio irq handling common, will use for nv4x hpd later - api extended to allow both direct gpio access, and access using the logical function states - api extended to allow for future use of gpio extender chips - pre-nv50 was handled very badly, the main issue being that all GPIOs were being treated as output-only. - fixes nvd0 so gpio changes actually stick, magic reg needs bashing Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed