From mboxrd@z Thu Jan 1 00:00:00 1970 From: lost.distance@yahoo.com (Paul Parsons) Date: Mon, 15 Aug 2011 10:49:44 +0100 (BST) Subject: [PATCH v2 2/2] pxa/hx4700: Add Synaptics NavPoint (PXA27x SSP/SPI) driver In-Reply-To: Message-ID: <1313401784.93192.YahooMailClassic@web29015.mail.ird.yahoo.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org --- On Mon, 15/8/11, Eric Miao wrote: > > MFP_CFG_OUT(GPIO102, ...) had already moved from the > patch v1 platform file to patch v2 mfp-pxa27x.h because it > was suggested that MFP macros should not be used directly. > > Changing the direction in the platform file would > surely require using the MFP macros again, so how to keep > everyone happy? Maybe I should just define a more generic > name such as GPIO102_GPIO_OUT? > > I guess we need a new definition for this config, looks > like SCLK here > is different from a normal configuration because the pxa27x > is used > as a SPI slave here? > > And checked a bit with the pxa27x developer manual, there > is no SCLK > for this GPIO102???? GPIO102 is apparently a navpoint power enable; the old linux-2.6.21-hh20 kernel from handhelds.org defines it thus: #define GPIO_NR_HX4700_SYNAPTICS_POWER_ON 102 I verified that it does need to be asserted before the navpoint will work. I don't possess any hx4700 developer documentation; perhaps Philipp can shed some light on GPIO102.