Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1492141
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] DT: EVM: add LEDs |
| Date | 2016-09-27 22:20 +0200 |
| Message-ID | <sm717-5DC-1@gated-at.bofh.it> (permalink) |
| References | <slT7P-5um-3@gated-at.bofh.it> <slT7V-5um-11@gated-at.bofh.it> <sm6y6-5bY-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Tony,
> Am 27.09.2016 um 21:49 schrieb Tony Lindgren <tony@atomide.com>:
>
> * H. Nikolaus Schaller <hns@goldelico.com> [160926 22:27]:
>> + led@6 {
>> + label = "omap5:green:led3";
>> + gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
>> + linux,default-trigger = "heartbeat";
>> + default-state = "off";
>> + };
>> +
>> + led@7 {
>> + label = "omap5:green:led4";
>> + gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
>> + linux,default-trigger = "heartbeat";
>> + default-state = "off";
>> + };
>> +
>> + led@8 {
>> + label = "omap5:green:led5";
>> + gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
>> + linux,default-trigger = "heartbeat";
>> + default-state = "off";
>> + };
>
> How about this for defaults:
>
> - heartbeat for led3
> - cpu0 for led4
> - cpu1 for led5
Good idea. Will try.
What I don't exactly know is if these gpios based on an I2C-expander
can handle cpu activity triggers or if they are locked up if this i2c
processing triggers another cpu activity...
>
> Or something along those lines that by default shows the
> active CPUs. Don't have a omap5-uevm near by right now so
> not sure about the ordering of the LEDs for displaying
> cpu0 and cpu1.
Will test tomorrow and if it works I can submit a v2.
BR and thanks,
Nikolaus
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-27 07:30 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs Tony Lindgren <tony@atomide.com> - 2016-09-27 21:50 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-27 22:20 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs Tony Lindgren <tony@atomide.com> - 2016-09-28 05:40 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-28 08:50 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs Tony Lindgren <tony@atomide.com> - 2016-09-28 17:20 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-28 17:30 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs Tony Lindgren <tony@atomide.com> - 2016-09-28 18:20 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs Rob Herring <robh+dt@kernel.org> - 2016-09-29 07:20 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-29 07:20 +0200
Re: [PATCH 2/3] DT: EVM: add LEDs "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-29 07:30 +0200
csiph-web