lkml.org 
[lkml]   [2013]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] pinctrl: palmas: add pincontrol driver
On Friday 26 July 2013 10:11 PM, Mark Brown wrote:
> * PGP Signed by an unknown key
>
> On Fri, Jul 26, 2013 at 03:45:54PM +0530, Laxman Dewangan wrote:
>
>> +pins: gpio0_id, gpio1_vbus_det_led1_pwm1, gpio2_regen_led2_pwm2, gpio3_chrg_det,
>> + gpio4_sysen1, gpio5_clk32kgaudio_usb_psel, gpio6_sysen2,
>> + gpio7_msecure_pwrhold, gpio8_sim1rsti, gpio9_low_vbat,
>> + gpio10_wireless_chrg1, gpio11_rcm, gpio12_sim2rsto, gpio13, gpio14,
>> + gpio15_sim2rsti, vac, powergood_usb_psel, nreswarm, pwrdown,
>> + gpadc_start, reset_in, nsleep, enable1, enable2, int.
> Would it not be easier to just name the GPIOs gpioN rather than using
> the full names with the possible functions?
>

I took the name approach as what we have on Tegra.
But I think I can put the name of the pins same as what we have in
datasheet. So pin name will be exact same as what we have in datasheet.
That will be easy to interpret.



\
 
 \ /
  Last update: 2013-07-27 12:21    [W:0.322 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site