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

dt-bindings: phy: tegra20-usb-phy: Document properties needed for OTG mode

In order to support OTG mode we need these new properties:

- interrupt
- nvidia,pmc

Add the new properties to the binding.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210912181718.1328-3-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dmitry Osipenko and committed by
Greg Kroah-Hartman
7557c1bf 6941d194

+16
+16
Documentation/devicetree/bindings/phy/nvidia,tegra20-usb-phy.yaml
··· 77 77 - const: timer 78 78 - const: utmi-pads 79 79 80 + interrupts: 81 + maxItems: 1 82 + 80 83 resets: 81 84 oneOf: 82 85 - maxItems: 1 ··· 202 199 maxItems: 1 203 200 description: GPIO used to reset the PHY. 204 201 202 + nvidia,pmc: 203 + $ref: /schemas/types.yaml#/definitions/phandle-array 204 + items: 205 + - items: 206 + - description: Phandle to Power Management controller. 207 + - description: USB controller ID. 208 + description: 209 + Phandle to Power Management controller. 210 + 205 211 required: 206 212 - compatible 207 213 - reg ··· 332 320 compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; 333 321 reg = <0x7d008000 0x4000>, 334 322 <0x7d000000 0x4000>; 323 + interrupts = <0 97 4>; 335 324 phy_type = "utmi"; 336 325 clocks = <&tegra_car TEGRA124_CLK_USB3>, 337 326 <&tegra_car TEGRA124_CLK_PLL_U>, ··· 351 338 nvidia,hssquelch-level = <2>; 352 339 nvidia,hsdiscon-level = <5>; 353 340 nvidia,xcvr-hsslew = <12>; 341 + nvidia,pmc = <&tegra_pmc 2>; 354 342 }; 355 343 356 344 - | ··· 360 346 usb-phy@c5004000 { 361 347 compatible = "nvidia,tegra20-usb-phy"; 362 348 reg = <0xc5004000 0x4000>; 349 + interrupts = <0 21 4>; 363 350 phy_type = "ulpi"; 364 351 clocks = <&tegra_car TEGRA20_CLK_USB2>, 365 352 <&tegra_car TEGRA20_CLK_PLL_U>, ··· 369 354 resets = <&tegra_car 58>, <&tegra_car 22>; 370 355 reset-names = "usb", "utmi-pads"; 371 356 #phy-cells = <0>; 357 + nvidia,pmc = <&tegra_pmc 1>; 372 358 };