From: "Masayuki Ohtake" <masa-korg@dsn.okisemi.com>
To: "Mike Frysinger" <vapier@gentoo.org>
Cc: "Mark Brown" <broonie@opensource.wolfsonmicro.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Samuel Ortiz" <sameo@linux.intel.com>,
"Randy Dunlap" <randy.dunlap@oracle.com>,
"Alek Du" <alek.du@intel.com>, <richard.rojfors@mocean-labs.com>,
<meego-dev@meego.com>,
"ML linux-kernel" <linux-kernel@vger.kernel.org>,
"Qi" <qi.wang@intel.com>, <andrew.chih.howe.khor@intel.com>,
<gregkh@suse.de>, "Yong Y" <yong.y.wang@intel.com>,
"Tomoya MORINAGA" <morinaga526@dsn.okisemi.com>,
<joel.clark@intel.com>, <margie.foster@intel.com>,
<kok.howg.ewe@intel.com>
Subject: Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to 2.6.35
Date: Tue, 28 Sep 2010 14:25:36 +0900 [thread overview]
Message-ID: <003001cb5ecd$97577930$66f8800a@maildom.okisemi.com> (raw)
In-Reply-To: AANLkTikUJMfo8m8o1rQdf264g2P39uHLRp80vGPW0Jni@mail.gmail.com
Hi Mike,
> find out what range of GPIO numbers your driver is using and use those
> instead of "1"
I have attached a part of our source file.
Since I set "ngpio=12",
I guess 0-11 can be used, thus, "echo 1 > export" should be success too.
Is this true ?
Thanks, Ohtake(OKISemi)
----- Original Message -----
From: "Mike Frysinger" <vapier@gentoo.org>
To: "Masayuki Ohtake" <masa-korg@dsn.okisemi.com>
Cc: "Mark Brown" <broonie@opensource.wolfsonmicro.com>; "Andrew Morton" <akpm@linux-foundation.org>; "Samuel Ortiz"
<sameo@linux.intel.com>; "Randy Dunlap" <randy.dunlap@oracle.com>; "Alek Du" <alek.du@intel.com>;
<richard.rojfors@mocean-labs.com>; <meego-dev@meego.com>; "ML linux-kernel" <linux-kernel@vger.kernel.org>; "Qi"
<qi.wang@intel.com>; <andrew.chih.howe.khor@intel.com>; <gregkh@suse.de>; "Yong Y" <yong.y.wang@intel.com>; "Tomoya
MORINAGA" <morinaga526@dsn.okisemi.com>; <joel.clark@intel.com>; <margie.foster@intel.com>; <kok.howg.ewe@intel.com>
Sent: Tuesday, September 28, 2010 2:02 PM
Subject: Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to 2.6.35
On Tue, Sep 28, 2010 at 00:57, Masayuki Ohtake wrote:
> I have modified for GPIO standard I/F referring other accepted GPIO driver.
no idea what this driver is
> According to Documentation/gpio.txt,
> I tried to create GPIO node like below.
>
> [root@localhost gpio]# ls
> export gpiochip244 unexport
> [root@localhost gpio]# echo 1 > export
> bash: echo: write error: Invalid argument
> [root@localhost gpio]#
>
> But it fails.
find out what range of GPIO numbers your driver is using and use those
instead of "1"
-mike
begin 666 pch_gpio.c
M<W1A=&EC('9O:60@<&-H7V=P:6]?<V5T=7 H<W1R=6-T('!C:%]G<&EO7V-H
M:7 @*F-H:7 I#0I[#0H)<W1R=6-T(&=P:6]?8VAI<" J9W!I;R ]("9C:&EP
M+3YG<&EO.PT*#0H)9W!I;RT^;&%B96P@/2!D979?;F%M92AC:&EP+3YD978I
M.PT*"6=P:6\M/F]W;F5R(#T@5$A)4U]-3T153$4[#0H)9W!I;RT^9&ER96-T
M:6]N7VEN<'5T(#T@<&-H7V=P:6]?9&ER96-T:6]N7VEN<'5T.PT*"6=P:6\M
M/F=E=" ]('!C:%]G<&EO7V=E=#L-"@EG<&EO+3YD:7)E8W1I;VY?;W5T<'5T
M(#T@<&-H7V=P:6]?9&ER96-T:6]N7V]U='!U=#L-"@EG<&EO+3YS970@/2!P
M8VA?9W!I;U]S970[#0H)9W!I;RT^9&)G7W-H;W<@/2!.54Q,.PT*"6=P:6\M
M/F)A<V4@/2 H=3,R*6-H:7 M/G!C:%]G<&EO7V)A<V5?861D<F5S<SL-"@EG
M<&EO+3YN9W!I;R ](#$R.PT*"6=P:6\M/F-A;E]S;&5E<" ](# [#0I]#0H-
M"@T*<W1A=&EC(',S,B!?7V1E=FEN:70@<&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S95]A9&1R97-S.PT*#0H)<&-I7W-E=%]D<G9D871A
M*'!D978L(&-H:7 I.PT*"7!C:%]G<&EO7V-B7W)E9VES=&5R*'!C:%]G<&EO
M7V-B+"!C:&EP*3L-"@EC:&EP+3YP8VA?9W!I;U]I<G$@/2!P9&5V+3YI<G$[
M#0H)9&5V:6-E7W-E=%]W86ME=7!?96YA8FQE*"9P9&5V+3YD978L(#$I.PT*
M#0H)<&-H7V=P:6]?<V5T=7 H8VAI<"D[#0H)<F5T(#T@9W!I;V-H:7!?861D
M*"9C:&EP+3YG<&EO*3L-"@EI9B H<F5T*2![#0H)"7!R:6YT:RA+15).7T52
M4B B4$-((&=P:6\Z($9A:6QE9"!T;R!R96=I<W1E<B!'4$E/7&XB*3L-"@D)
M9V]T;R!E<G)?9W!I;V-H:7!?861D.PT*"7T-"@T*"7)E='5R;B P.PT*#0IE
M<G)?9W!I;V-H:7!?861D.@T*"7!C:5]I;W5N;6%P*'!D978L(&-H:7 M/G!C
M:%]G<&EO7V)A<V5?861D<F5S<RD[#0H-"F5R<E]I;VUA<#H-"@EP8VE?<F5L
M96%S95]R96=I;VYS*'!D978I.PT*#0IE<G)?<F5Q=65S=%]R96=I;VYS.@T*
M"7!C:5]D:7-A8FQE7V1E=FEC92AP9&5V*3L-"@T*97)R7W!C:5]E;F%B;&4Z
D#0H):V9R964H8VAI<"D[#0H)<F5T=7)N(')E=#L-"GT-"@T*
`
end
next prev parent reply other threads:[~2010-09-28 5:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 10:54 [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to 2.6.35 Masayuki Ohtak
2010-09-03 13:48 ` Mark Brown
[not found] ` <000301cb5ebc$35ad8d20$66f8800a@maildom.okisemi.com>
2010-09-28 3:38 ` Mike Frysinger
2010-09-28 4:57 ` Masayuki Ohtake
2010-09-28 5:02 ` Mike Frysinger
2010-09-28 5:25 ` Masayuki Ohtake [this message]
2010-09-28 5:29 ` Mark Brown
2010-09-28 6:35 ` Masayuki Ohtake
2010-09-28 16:28 ` Mark Brown
2010-09-28 5:32 ` Mike Frysinger
2010-09-28 7:21 ` Masayuki Ohtake
2010-09-28 4:12 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2010-08-10 10:59 Masayuki Ohtak
2010-08-10 17:08 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003001cb5ecd$97577930$66f8800a@maildom.okisemi.com' \
--to=masa-korg@dsn.okisemi.com \
--cc=akpm@linux-foundation.org \
--cc=alek.du@intel.com \
--cc=andrew.chih.howe.khor@intel.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=gregkh@suse.de \
--cc=joel.clark@intel.com \
--cc=kok.howg.ewe@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=margie.foster@intel.com \
--cc=meego-dev@meego.com \
--cc=morinaga526@dsn.okisemi.com \
--cc=qi.wang@intel.com \
--cc=randy.dunlap@oracle.com \
--cc=richard.rojfors@mocean-labs.com \
--cc=sameo@linux.intel.com \
--cc=vapier@gentoo.org \
--cc=yong.y.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.