Re: [PATCH 1/2] dt-bindings: wireless: wilc1000: Document WILC3000 compatible string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/22/24 10:07 AM, Krzysztof Kozlowski wrote:

Hi,

diff --git a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
index 2460ccc082371..1bf3496c21e64 100644
--- a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
@@ -16,7 +16,9 @@ description:
properties:
    compatible:
-    const: microchip,wilc1000
+    enum:
+      - microchip,wilc1000
+      - microchip,wilc3000

Your driver change suggests device type is fully auto-detectable

It seems that way, yes.

, thus
they are compatible.

I _think_ the hardware is internally somewhat different, the WILC1000 is WiFi-only device and the WILC3000 has some extra Bluetooth part (which is currently not supported).

Maybe a fallback compatible string would be better here ?




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux