From: John Crispin <john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
To: Alexander Stein
<alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>,
Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>,
f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
andrew-g2DYL2Zd6BY@public.gmane.org,
openwrt-zg6vgJgm1sizQB+pC5nmwQ@public.gmane.org,
hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
eckert.florian-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH 1/2] NET: PHY: Add PHY LED control binding.
Date: Thu, 9 Jun 2016 08:12:08 +0200 [thread overview]
Message-ID: <f1e22176-d30a-be66-a4ea-dd0666775597@phrozen.org> (raw)
In-Reply-To: <3869397.kzojzy3Xzu@ws-stein>
On 09/06/2016 08:06, Alexander Stein wrote:
> On Wednesday 08 June 2016 14:30:08, Rob Herring wrote:
>>> diff --git a/Documentation/devicetree/bindings/phy/phy-leds.txt
>>> b/Documentation/devicetree/bindings/phy/phy-leds.txt new file mode 100644
>>> index 0000000..1a35e3d
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/phy/phy-leds.txt
>>> @@ -0,0 +1,52 @@
>>> +LED configuration for Ethernet phys
>>> +
>>> +All these properties are optional, not all properties are supported by
>>> +all PHYs. When more then one property name is define for one LED the
>>> +order they get applied is device depended.
>>> +Property names:
>>> + led-const-on: conditions the LED should be constant on
>>> + led-pulse: condition the LED should be pulsed on
>>> + led-blink-slow: condition the LED should slowly blink
>>
>> How slow is slow?
>
> This depends on the MMD.INTERNAL.LEDCH.SBF setting which is 2 Hz by default.
>
>>> + led-blink-fast: condition the LED should fast blink
>>
>> How fast is fast?
>
> This depends on the MMD.INTERNAL.LEDCH.FBF setting which is 16 Hz by default.
>
> Both can be set independently to 2, 4, 8 or 16 Hz.
>
and both are intel/lantiq implementation specific and hence should not
be part of a generic led-phy binding.
imho these leds should be exposed via a led driver and the configurtion
should be exposed via a led driver specific trigger, in the same manner
in which wireless macs do it.
John
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-06-09 6:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-05 21:45 [PATCH 0/2] NET: PHY: Add PHY LED control binding Hauke Mehrtens
[not found] ` <1465163150-21429-1-git-send-email-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2016-06-05 21:45 ` [PATCH 1/2] " Hauke Mehrtens
2016-06-08 19:30 ` Rob Herring
2016-06-09 6:06 ` Alexander Stein
2016-06-09 6:12 ` John Crispin [this message]
[not found] ` <f1e22176-d30a-be66-a4ea-dd0666775597-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2016-06-09 20:13 ` Hauke Mehrtens
[not found] ` <cf8ba323-5d15-b5b6-fe7c-9f9a7da2c18a-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2016-06-20 22:17 ` Hauke Mehrtens
2016-06-05 21:45 ` [PATCH 2/2] NET: PHY: Intel XWAY: add LED configuration support Hauke Mehrtens
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=f1e22176-d30a-be66-a4ea-dd0666775597@phrozen.org \
--to=john-pj+rj9u5fofafugrpc6u6w@public.gmane.org \
--cc=alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org \
--cc=andrew-g2DYL2Zd6BY@public.gmane.org \
--cc=daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=eckert.florian-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
--cc=f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org \
--cc=hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=openwrt-zg6vgJgm1sizQB+pC5nmwQ@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox