devicetree: bindings: Make msm8974-pinctrl documentation match code
The compatible string doesn't have an x in it. Fix it. Also remove the "qcom" prefix from pins and functions as this binding uses the generic pinctrl bindings for the pins and functions. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
e6fae2d03d
commit
893a7d11a1
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
Qualcomm MSM8974 TLMM block
|
Qualcomm MSM8974 TLMM block
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
- compatible: "qcom,msm8x74-pinctrl"
|
- compatible: "qcom,msm8974-pinctrl"
|
||||||
- reg: Should be the base address and length of the TLMM block.
|
- reg: Should be the base address and length of the TLMM block.
|
||||||
- interrupts: Should be the parent IRQ of the TLMM block.
|
- interrupts: Should be the parent IRQ of the TLMM block.
|
||||||
- interrupt-controller: Marks the device node as an interrupt controller.
|
- interrupt-controller: Marks the device node as an interrupt controller.
|
||||||
|
@ -42,14 +42,14 @@ Non-empty subnodes must specify the 'pins' property.
|
||||||
Note that not all properties are valid for all pins.
|
Note that not all properties are valid for all pins.
|
||||||
|
|
||||||
|
|
||||||
Valid values for qcom,pins are:
|
Valid values for pins are:
|
||||||
gpio0-gpio145
|
gpio0-gpio145
|
||||||
Supports mux, bias and drive-strength
|
Supports mux, bias and drive-strength
|
||||||
|
|
||||||
sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data
|
sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data
|
||||||
Supports bias and drive-strength
|
Supports bias and drive-strength
|
||||||
|
|
||||||
Valid values for qcom,function are:
|
Valid values for function are:
|
||||||
blsp_i2c2, blsp_i2c6, blsp_i2c11, blsp_spi1, blsp_uart2, blsp_uart8, slimbus
|
blsp_i2c2, blsp_i2c6, blsp_i2c11, blsp_spi1, blsp_uart2, blsp_uart8, slimbus
|
||||||
|
|
||||||
(Note that this is not yet the complete list of functions)
|
(Note that this is not yet the complete list of functions)
|
||||||
|
@ -73,18 +73,18 @@ Example:
|
||||||
|
|
||||||
uart2_default: uart2_default {
|
uart2_default: uart2_default {
|
||||||
mux {
|
mux {
|
||||||
qcom,pins = "gpio4", "gpio5";
|
pins = "gpio4", "gpio5";
|
||||||
qcom,function = "blsp_uart2";
|
function = "blsp_uart2";
|
||||||
};
|
};
|
||||||
|
|
||||||
tx {
|
tx {
|
||||||
qcom,pins = "gpio4";
|
pins = "gpio4";
|
||||||
drive-strength = <4>;
|
drive-strength = <4>;
|
||||||
bias-disable;
|
bias-disable;
|
||||||
};
|
};
|
||||||
|
|
||||||
rx {
|
rx {
|
||||||
qcom,pins = "gpio5";
|
pins = "gpio5";
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue