linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds
       [not found] <20220503153613.15320-1-zajec5@gmail.com>
@ 2022-05-05  5:19 ` Rafał Miłecki
  2022-05-05 12:17   ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2022-05-05  5:19 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Andrew Lunn
  Cc: Pavel Machek, David S . Miller, Jakub Kicinski, Paolo Abeni,
	Florian Fainelli, Hauke Mehrtens, Jacek Anaszewski, devicetree,
	netdev, linux-leds, linux-arm-kernel, linux-kernel,
	bcm-kernel-feedback-list, Rafał Miłecki, Vivien Didelot,
	Vladimir Oltean, Jonathan Corbet, John Crispin, linux-doc

On 3.05.2022 17:36, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> This allows specifying multiple Ethernet speeds in a single DT uint32
> value.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Ansuel please check if my patchset conflicts in any way with your work.

Andrew suggested to combine both but right now I don't see it as
necessary.

I'd still appreciate your review of my work. Such binding may be
required for some hardware controlled LEDs setup too I guess.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds
  2022-05-05  5:19 ` [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds Rafał Miłecki
@ 2022-05-05 12:17   ` Andrew Lunn
  2022-05-05 13:46     ` Rafał Miłecki
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2022-05-05 12:17 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: Rob Herring, Krzysztof Kozlowski, Pavel Machek, David S . Miller,
	Jakub Kicinski, Paolo Abeni, Florian Fainelli, Hauke Mehrtens,
	Jacek Anaszewski, devicetree, netdev, linux-leds,
	linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list,
	Rafał Miłecki, Vivien Didelot, Vladimir Oltean,
	Jonathan Corbet, John Crispin, linux-doc

On Thu, May 05, 2022 at 07:19:41AM +0200, Rafał Miłecki wrote:
> On 3.05.2022 17:36, Rafał Miłecki wrote:
> > From: Rafał Miłecki <rafal@milecki.pl>
> > 
> > This allows specifying multiple Ethernet speeds in a single DT uint32
> > value.
> > 
> > Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> 
> Ansuel please check if my patchset conflicts in any way with your work.
> 
> Andrew suggested to combine both but right now I don't see it as
> necessary.
> 
> I'd still appreciate your review of my work. Such binding may be
> required for some hardware controlled LEDs setup too I guess.

Please look at the LED binding. It is an LED you are trying to
control, so that is the binding you should be using.  How do you
describe this functionality using that binding. Ansuel code will give
you the framework to actually do the implementation within.

    Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds
  2022-05-05 12:17   ` Andrew Lunn
@ 2022-05-05 13:46     ` Rafał Miłecki
  2022-05-05 14:11       ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2022-05-05 13:46 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Rob Herring, Krzysztof Kozlowski, Pavel Machek, David S . Miller,
	Jakub Kicinski, Paolo Abeni, Florian Fainelli, Hauke Mehrtens,
	Jacek Anaszewski, devicetree, netdev, linux-leds,
	linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list,
	Rafał Miłecki, Vivien Didelot, Vladimir Oltean,
	Jonathan Corbet, John Crispin, linux-doc

I don't understand anything from below, I'm sorry. Could you clarify,
please?

On 5.05.2022 14:17, Andrew Lunn wrote:
> On Thu, May 05, 2022 at 07:19:41AM +0200, Rafał Miłecki wrote:
>> On 3.05.2022 17:36, Rafał Miłecki wrote:
>>> From: Rafał Miłecki <rafal@milecki.pl>
>>>
>>> This allows specifying multiple Ethernet speeds in a single DT uint32
>>> value.
>>>
>>> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
>>
>> Ansuel please check if my patchset conflicts in any way with your work.
>>
>> Andrew suggested to combine both but right now I don't see it as
>> necessary.
>>
>> I'd still appreciate your review of my work. Such binding may be
>> required for some hardware controlled LEDs setup too I guess.


 > Please look at the LED binding.

My binding or Ansuel's binding?


 > It is an LED you are trying to control, so that is the binding you should be using.

Well, of course, LED setup requires DT binding.


 > How do you describe this functionality using that binding.

I allow describing trigger source network device by using
"trigger-sources" property referencing network device. That is an
extension or what we already use for describing USB port that are
trigger sources.


 > Ansuel code will give you the framework to actually do the implementation within.

I was planning to base my work on top of Ansuel's one. I'll send proof
on concept meanwhile without asking for it to be applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds
  2022-05-05 13:46     ` Rafał Miłecki
@ 2022-05-05 14:11       ` Andrew Lunn
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2022-05-05 14:11 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: Rob Herring, Krzysztof Kozlowski, Pavel Machek, David S . Miller,
	Jakub Kicinski, Paolo Abeni, Florian Fainelli, Hauke Mehrtens,
	Jacek Anaszewski, devicetree, netdev, linux-leds,
	linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list,
	Rafał Miłecki, Vivien Didelot, Vladimir Oltean,
	Jonathan Corbet, John Crispin, linux-doc

> > Please look at the LED binding.
> 
> My binding or Ansuel's binding?

Ansuels binding is using the LED binding.

> I was planning to base my work on top of Ansuel's one. I'll send proof
> on concept meanwhile without asking for it to be applied.

Great. The more testing Ansuel work gets the better.

	Thanks
		Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-05 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220503153613.15320-1-zajec5@gmail.com>
2022-05-05  5:19 ` [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds Rafał Miłecki
2022-05-05 12:17   ` Andrew Lunn
2022-05-05 13:46     ` Rafał Miłecki
2022-05-05 14:11       ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).