Message ID | 20250408-rtl-onboard-v2-1-0b6730b90e31@posteo.net (mailing list archive) |
---|---|
State | New |
Delegated to: | Ping-Ke Shih |
Headers | show |
Series | Onboard USB device support for RTL8188ETV 2.4GHz USB WiFi module | expand |
Context | Check | Description |
---|---|---|
wifibot/tree_selection | success | Not a local patch |
On Tue, 08 Apr 2025 21:13:12 +0200, J. Neuschäfer wrote: > This is an on-board USB device that requires a 3.3V supply. > > Signed-off-by: J. Neuschäfer <j.ne@posteo.net> > --- > > V2: > - Use my current email address > - Remove TODO comment > - Rename schema file to realtek,rtl8188e.yaml. This is the same > granularity at which the rtl8xxxu driver is split into files, making > it unnecessary to rename the schema file if another similar chip is added > in the future. > - Change license identifier from (GPL-2.0 OR BSD-2-Clause) to (GPL-2.0-only > OR BSD-2-Clause) because GPL-2.0 is ambiguous > --- > .../bindings/net/wireless/realtek,rtl8188e.yaml | 50 ++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/net/wireless/realtek,rtl8188e.yaml b/Documentation/devicetree/bindings/net/wireless/realtek,rtl8188e.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2769731e07083b14e2f7388858dcded92c442018 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/realtek,rtl8188e.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/realtek,rtl8188e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL8188E USB WiFi + +maintainers: + - J. Neuschäfer <j.ne@posteo.net> + +description: + Realtek RTL8188E is a family of USB-connected 2.4 GHz WiFi modules. + +allOf: + - $ref: /schemas/usb/usb-device.yaml# + +properties: + compatible: + const: usbbda,179 # RTL8188ETV + + reg: true + + vdd-supply: + description: + Regulator for the 3V3 supply. + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + usb { + #address-cells = <1>; + #size-cells = <0>; + + wifi: wifi@1 { + compatible = "usbbda,179"; + reg = <1>; + vdd-supply = <&vcc3v3>; + }; + }; + +...