summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2023-05-15 12:20:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-30 12:57:57 +0100
commit628d7e4941345611696fff79ebc31444658e3275 (patch)
treeb0545c078e5bcc4efabb033eab1708309acdec8b /Documentation
parent139f84c80d9f47a3d8d24b29a56a7ee06e80778e (diff)
downloadlinux-628d7e4941345611696fff79ebc31444658e3275.tar.gz
linux-628d7e4941345611696fff79ebc31444658e3275.tar.bz2
linux-628d7e4941345611696fff79ebc31444658e3275.zip
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
commit 50a1726b148ff30778cb8a6cf3736130b07c93fd upstream. In cdns3-gadget.c, 'cdns,on-chip-buff-size' was read using device_property_read_u16(). It resulted in 0 if a 32bit value was used in dts. This commit fixes the dt binding doc to declare it as u16. Cc: stable@vger.kernel.org Fixes: 68989fe1c39d ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema") Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/cdns,usb3.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
index d6af2794d444..703921e6bcaf 100644
--- a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
+++ b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
@@ -59,7 +59,7 @@ properties:
description:
size of memory intended as internal memory for endpoints
buffers expressed in KB
- $ref: /schemas/types.yaml#/definitions/uint32
+ $ref: /schemas/types.yaml#/definitions/uint16
cdns,phyrst-a-enable:
description: Enable resetting of PHY if Rx fail is detected