Message ID | 20240926195700.2823751-1-marex@denx.de |
---|---|
State | Not Applicable |
Headers | show |
Series | [v6,1/7] dt-bindings: wireless: wilc1000: Document WILC3000 compatible string | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
Hello Marek, On 9/26/24 21:55, Marek Vasut wrote: > Do not use wilc_get_chipid() outside of wlan.c . Instead, call > wilc_get_chipid() right after the SDIO/SPI interface has been > initialized to cache the device chipid, and then use the cached > chipid throughout the driver. Make wilc_get_chipid() return a > proper return value instead of a chipid. This new update now makes the commit message wrong, wilc_get_chipid is used in files other than wlan.c (and this change goal is now rather to get the chip id early enough to register wiphy with correct info) > Signed-off-by: Marek Vasut <marex@denx.de> With the point above fixed: Reviewed-by: Alexis Lothoré <alexis.lothore@bootlin.com>
On 10/3/24 10:04 AM, Alexis Lothoré wrote: > Hello Marek, Hi, > On 9/26/24 21:55, Marek Vasut wrote: >> Do not use wilc_get_chipid() outside of wlan.c . Instead, call >> wilc_get_chipid() right after the SDIO/SPI interface has been >> initialized to cache the device chipid, and then use the cached >> chipid throughout the driver. Make wilc_get_chipid() return a >> proper return value instead of a chipid. > > This new update now makes the commit message wrong, wilc_get_chipid is used in > files other than wlan.c (and this change goal is now rather to get the chip id > early enough to register wiphy with correct info) > >> Signed-off-by: Marek Vasut <marex@denx.de> > > With the point above fixed: > > Reviewed-by: Alexis Lothoré <alexis.lothore@bootlin.com> Fixed in V7, thanks !
diff --git a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml index 2460ccc082371..5d40f22765bb6 100644 --- a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml +++ b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml @@ -16,7 +16,11 @@ description: properties: compatible: - const: microchip,wilc1000 + oneOf: + - items: + - const: microchip,wilc3000 + - const: microchip,wilc1000 + - const: microchip,wilc1000 reg: true