[OpenWrt-Devel] [PATCH v3] ramips: add support for Edimax RG21S

Birger Koblitz mail at birger-koblitz.de
Sun Jul 21 01:34:12 EDT 2019


Hi Adrian,

On 20.07.19 21:57, mail at adrianschmutzler.de wrote:
> Hi,
> 
> sorry, me again:
> 
>> +	model = "RG21S";
> 
> "Edimax RG21S"
Yes, of course. Will fix.


> 
>> +	keys {
>> +		compatible = "gpio-keys-polled";
>> +		poll-interval = <20>;
> 
> Interrupt-driven "gpio-keys" should be available at mt7621.
> So replace compatible and remove poll-interval.
Will do.


> 
>> +	leds {
>> +		compatible = "gpio-leds";
>> +		/* there are 4 red leds, unlabled */
> 
> There is an "e" missing in unlabeled.
> 
> Despite, recently reviewers preferred having comments like this in the commit message instead of the DTS.
> If you move it, add an empty line between the compatible and the first led.
Removed. There was already a hint in the proposed commit message.

> 
>> +&pcie0 {
>> +	wifi at 0,0 {
> 
> This is what I was referring to in my other mail:
> 
> Maybe already use
> 
> +	wifi0: wifi at 0,0 {
> 
> here, so I can refer to that one later.
> 
>> +&pcie1 {
>> +	wifi at 0,0 {
> 
> Consider adding "wifi1:" here as discussed above.
Both done.

Cheers,
  Birger


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list