Skip to content

Commit 4346d91

Browse files
robherringbroonie
authored andcommitted
ASoC: dt-bindings: Fix RT5677 "realtek,gpio-config" type
"realtek,gpio-config" is described as six 8-bit GPIO configuration values, and the RT5677 driver stores and reads those values as bytes. The binding incorrectly documented the property as a uint32 array. Document "realtek,gpio-config" as a uint8-array so the generated schema matches the hardware definition and the existing driver helper. Assisted-by: Codex:gpt-5-5 Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260612214911.1883234-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fc408ab commit 4346d91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/devicetree/bindings/sound/realtek,rt5677.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ properties:
5858
0 - floating (reset value)
5959
1 - pull down
6060
2 - pull up
61-
$ref: /schemas/types.yaml#/definitions/uint32-array
61+
$ref: /schemas/types.yaml#/definitions/uint8-array
6262
minItems: 6
6363
maxItems: 6
6464
items:
@@ -130,6 +130,6 @@ examples:
130130
realtek,pow-ldo2-gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
131131
realtek,reset-gpio = <&gpio 3 GPIO_ACTIVE_LOW>;
132132
realtek,in1-differential;
133-
realtek,gpio-config = <0 0 0 0 0 2>;
133+
realtek,gpio-config = /bits/ 8 <0 0 0 0 0 2>;
134134
};
135135
};

0 commit comments

Comments
 (0)