Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1611492 > unrolled thread
| Started by | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| First post | 2017-03-29 04:00 +0200 |
| Last post | 2017-04-05 15:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver Linus Walleij <linus.walleij@linaro.org> - 2017-03-29 04:00 +0200
[PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver "Han, Nandor (GE Healthcare)" <nandor.han@ge.com> - 2017-04-05 15:00 +0200
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-03-29 04:00 +0200 |
| Subject | Re: [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver |
| Message-ID | <tqb3Y-8bm-25@gated-at.bofh.it> |
On Mon, Mar 27, 2017 at 8:22 AM, Nandor Han <nandor.han@ge.com> wrote: > Testing: > > 1. XRA1403 connected to iMX53 MCU > 2. Export gpio from userspace > 3. Verify that corresponding gpio directories are created > in `/sys/class/gpio/gpioXX` > 4. Export gpios from first and second bank as output > 5. Set the output gpio pin to high/low and verify with the > oscilloscope that gpio status is according with the configured > value. Do *NOT* use the sysfs for testing GPIO. This is being phased out. Use the tools in tools/gpio/* so that you exercise the character device instead of the old deprecated ABI. Yours, Linus Walleij
[toc] | [next] | [standalone]
| From | "Han, Nandor (GE Healthcare)" <nandor.han@ge.com> |
|---|---|
| Date | 2017-04-05 15:00 +0200 |
| Message-ID | <tsSHv-2II-9@gated-at.bofh.it> |
| In reply to | #1611492 |
> -----Original Message----- > From: Linus Walleij [mailto:linus.walleij@linaro.org] > Sent: 29 March 2017 04:51 > To: Han, Nandor (GE Healthcare) <nandor.han@ge.com> > Cc: Alexandre Courbot <gnurou@gmail.com>; Rob Herring <robh+dt@kernel.org>; Mark Rutland > <mark.rutland@arm.com>; linux-gpio@vger.kernel.org; devicetree@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: EXT: Re: [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver > <snip> > Do *NOT* use the sysfs for testing GPIO. > This is being phased out. > > Use the tools in tools/gpio/* so that you exercise the > character device instead of the old deprecated ABI. > Thanks Linus, really good and helpful comments. I agree that make more sense to test with tools/gpio/*. > Yours, > Linus Walleij
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web