Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: bluetooth: Add support for Amlogic Bluetooth

Add binding document for Amlogic Bluetooth chipsets attached over UART.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Yang Li <yang.li@amlogic.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Yang Li and committed by
Luiz Augusto von Dentz
e5e465a1 f9685f31

+63
+63
Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright (C) 2024 Amlogic, Inc. All rights reserved 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: Amlogic Bluetooth chips 9 + 10 + description: 11 + The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on 12 + the standard H4 protocol via a 4-wire UART interface, with baud rates 13 + up to 4 Mbps. 14 + 15 + maintainers: 16 + - Yang Li <yang.li@amlogic.com> 17 + 18 + properties: 19 + compatible: 20 + oneOf: 21 + - items: 22 + - enum: 23 + - amlogic,w265s1-bt 24 + - amlogic,w265p1-bt 25 + - const: amlogic,w155s2-bt 26 + - enum: 27 + - amlogic,w155s2-bt 28 + - amlogic,w265s2-bt 29 + 30 + clocks: 31 + maxItems: 1 32 + description: clock provided to the controller (32.768KHz) 33 + 34 + enable-gpios: 35 + maxItems: 1 36 + 37 + vddio-supply: 38 + description: VDD_IO supply regulator handle 39 + 40 + firmware-name: 41 + maxItems: 1 42 + description: specify the path of firmware bin to load 43 + 44 + required: 45 + - compatible 46 + - clocks 47 + - enable-gpios 48 + - vddio-supply 49 + - firmware-name 50 + 51 + additionalProperties: false 52 + 53 + examples: 54 + - | 55 + #include <dt-bindings/gpio/gpio.h> 56 + bluetooth { 57 + compatible = "amlogic,w155s2-bt"; 58 + clocks = <&extclk>; 59 + enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; 60 + vddio-supply = <&wcn_3v3>; 61 + firmware-name = "amlogic/aml_w155s2_bt_uart.bin"; 62 + }; 63 +