aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-10-12 11:41:07 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-10-12 11:41:07 -0700
commitc62a41770a5dca41f4d824f41de0143ba0850925 (patch)
tree6b8f5b2c16a9a9483c851f12750cca078a444145
parent23680854841341d45b0f33fa3cc9bfc00627acd3 (diff)
downloadinput-gpio-test.tar.gz
dt-bindings: sound: mt2701-cs42448: update property name for I2S1 mux gpiosgpio-test
Change binding documentation to use proper name for the pair of gpios controlling I2S1-in mux of the chip. The driver has been converted to use this new name and compatibility for older DTSes is kept via a quirk in gpiolib code. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/sound/mt2701-cs42448.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt b/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt
index 05574446ceb61..b61d111528c1c 100644
--- a/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt
+++ b/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt
@@ -8,8 +8,7 @@ Required properties:
- mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec
- pinctrl-names: Should contain only one value - "default"
- pinctrl-0: Should specify pin control groups used for this controller.
-- i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to
- control I2S1-in mux.
+- i2s1-in-sel-gpios: Should specify two gpio pins to control I2S1-in mux.
Example:
@@ -38,6 +37,5 @@ Example:
mediatek,audio-codec-bt-mrg = <&bt_sco_codec>;
pinctrl-names = "default";
pinctrl-0 = <&aud_pins_default>;
- i2s1-in-sel-gpio1 = <&pio 53 0>;
- i2s1-in-sel-gpio2 = <&pio 54 0>;
+ i2s1-in-sel-gpios = <&pio 53 0>, <&pio 54 0>;
};