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: phy: Convert ti,da830-usb-phy to DT schema

Convert the TI DA830 USB PHY binding to DT schema format. Add "clocks"
and "clock-names" which are already in use. As they are always present,
make them required as well.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: David Lechner <david@lechnology.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250627220107.214162-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring (Arm) and committed by
Vinod Koul
99dd7fae a91ec5ef

+53 -40
-40
Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt
··· 1 - TI DA8xx/OMAP-L1xx/AM18xx USB PHY 2 - 3 - Required properties: 4 - - compatible: must be "ti,da830-usb-phy". 5 - - #phy-cells: must be 1. 6 - 7 - This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG 8 - controllers on DA8xx SoCs. Consumers of this device should use index 0 for 9 - the USB 2.0 phy device and index 1 for the USB 1.1 phy device. 10 - 11 - It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" 12 - to access the CFGCHIP2 register. 13 - 14 - Example: 15 - 16 - cfgchip: cfgchip@1417c { 17 - compatible = "ti,da830-cfgchip", "syscon"; 18 - reg = <0x1417c 0x14>; 19 - }; 20 - 21 - usb_phy: usb-phy { 22 - compatible = "ti,da830-usb-phy"; 23 - #phy-cells = <1>; 24 - }; 25 - 26 - usb20: usb@200000 { 27 - compatible = "ti,da830-musb"; 28 - reg = <0x200000 0x1000>; 29 - interrupts = <58>; 30 - phys = <&usb_phy 0>; 31 - phy-names = "usb-phy"; 32 - }; 33 - 34 - usb11: usb@225000 { 35 - compatible = "ti,da830-ohci"; 36 - reg = <0x225000 0x1000>; 37 - interrupts = <59>; 38 - phys = <&usb_phy 1>; 39 - phy-names = "usb-phy"; 40 - };
+53
Documentation/devicetree/bindings/phy/ti,da830-usb-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/ti,da830-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI DA8xx/OMAP-L1xx/AM18xx USB PHY 8 + 9 + maintainers: 10 + - David Lechner <david@lechnology.com> 11 + 12 + description: > 13 + This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG 14 + controllers on DA8xx SoCs. 15 + 16 + It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" 17 + to access the CFGCHIP2 register. 18 + 19 + properties: 20 + compatible: 21 + items: 22 + - const: ti,da830-usb-phy 23 + 24 + '#phy-cells': 25 + const: 1 26 + description: 27 + Consumers of this device should use index 0 for the USB 2.0 phy device and 28 + index 1 for the USB 1.1 phy device. 29 + 30 + clocks: 31 + maxItems: 2 32 + 33 + clock-names: 34 + items: 35 + - const: usb0_clk48 36 + - const: usb1_clk48 37 + 38 + required: 39 + - compatible 40 + - '#phy-cells' 41 + - clocks 42 + - clock-names 43 + 44 + additionalProperties: false 45 + 46 + examples: 47 + - | 48 + usb-phy { 49 + compatible = "ti,da830-usb-phy"; 50 + #phy-cells = <1>; 51 + clocks = <&usb_phy_clk 0>, <&usb_phy_clk 1>; 52 + clock-names = "usb0_clk48", "usb1_clk48"; 53 + };