Commit 2e932849 authored by Simon Horman's avatar Simon Horman Committed by Wolfram Sang

i2c: mux: refer to i2c-mux.txt

Correct references to i2c-mux.txt which was previously mux.txt.

Also correct the spelling of relevant.
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Acked-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 8913f8d2
...@@ -44,8 +44,8 @@ Required properties: ...@@ -44,8 +44,8 @@ Required properties:
- our-claim-gpio: The GPIO that we use to claim the bus. - our-claim-gpio: The GPIO that we use to claim the bus.
- their-claim-gpios: The GPIOs that the other sides use to claim the bus. - their-claim-gpios: The GPIOs that the other sides use to claim the bus.
Note that some implementations may only support a single other master. Note that some implementations may only support a single other master.
- Standard I2C mux properties. See mux.txt in this directory. - Standard I2C mux properties. See i2c-mux.txt in this directory.
- Single I2C child bus node at reg 0. See mux.txt in this directory. - Single I2C child bus node at reg 0. See i2c-mux.txt in this directory.
Optional properties: Optional properties:
- slew-delay-us: microseconds to wait for a GPIO to go high. Default is 10 us. - slew-delay-us: microseconds to wait for a GPIO to go high. Default is 10 us.
......
...@@ -27,7 +27,8 @@ Required properties: ...@@ -27,7 +27,8 @@ Required properties:
- i2c-bus-name: The name of this bus. Also needed as pinctrl-name for the I2C - i2c-bus-name: The name of this bus. Also needed as pinctrl-name for the I2C
parents. parents.
Furthermore, I2C mux properties and child nodes. See mux.txt in this directory. Furthermore, I2C mux properties and child nodes. See i2c-mux.txt in this
directory.
Example: Example:
......
...@@ -22,8 +22,8 @@ Required properties: ...@@ -22,8 +22,8 @@ Required properties:
- i2c-parent: The phandle of the I2C bus that this multiplexer's master-side - i2c-parent: The phandle of the I2C bus that this multiplexer's master-side
port is connected to. port is connected to.
- mux-gpios: list of gpios used to control the muxer - mux-gpios: list of gpios used to control the muxer
* Standard I2C mux properties. See mux.txt in this directory. * Standard I2C mux properties. See i2c-mux.txt in this directory.
* I2C child bus nodes. See mux.txt in this directory. * I2C child bus nodes. See i2c-mux.txt in this directory.
Optional properties: Optional properties:
- idle-state: value to set the muxer to when idle. When no value is - idle-state: value to set the muxer to when idle. When no value is
...@@ -33,7 +33,7 @@ For each i2c child node, an I2C child bus will be created. They will ...@@ -33,7 +33,7 @@ For each i2c child node, an I2C child bus will be created. They will
be numbered based on their order in the device tree. be numbered based on their order in the device tree.
Whenever an access is made to a device on a child bus, the value set Whenever an access is made to a device on a child bus, the value set
in the revelant node's reg property will be output using the list of in the relevant node's reg property will be output using the list of
GPIOs, the first in the list holding the least-significant value. GPIOs, the first in the list holding the least-significant value.
If an idle state is defined, using the idle-state (optional) property, If an idle state is defined, using the idle-state (optional) property,
......
...@@ -28,9 +28,9 @@ Also required are: ...@@ -28,9 +28,9 @@ Also required are:
* Standard pinctrl properties that specify the pin mux state for each child * Standard pinctrl properties that specify the pin mux state for each child
bus. See ../pinctrl/pinctrl-bindings.txt. bus. See ../pinctrl/pinctrl-bindings.txt.
* Standard I2C mux properties. See mux.txt in this directory. * Standard I2C mux properties. See i2c-mux.txt in this directory.
* I2C child bus nodes. See mux.txt in this directory. * I2C child bus nodes. See i2c-mux.txt in this directory.
For each named state defined in the pinctrl-names property, an I2C child bus For each named state defined in the pinctrl-names property, an I2C child bus
will be created. I2C child bus numbers are assigned based on the index into will be created. I2C child bus numbers are assigned based on the index into
......
...@@ -7,8 +7,8 @@ Required properties: ...@@ -7,8 +7,8 @@ Required properties:
- compatible: i2c-mux-reg - compatible: i2c-mux-reg
- i2c-parent: The phandle of the I2C bus that this multiplexer's master-side - i2c-parent: The phandle of the I2C bus that this multiplexer's master-side
port is connected to. port is connected to.
* Standard I2C mux properties. See mux.txt in this directory. * Standard I2C mux properties. See i2c-mux.txt in this directory.
* I2C child bus nodes. See mux.txt in this directory. * I2C child bus nodes. See i2c-mux.txt in this directory.
Optional properties: Optional properties:
- reg: this pair of <offset size> specifies the register to control the mux. - reg: this pair of <offset size> specifies the register to control the mux.
...@@ -24,7 +24,7 @@ Optional properties: ...@@ -24,7 +24,7 @@ Optional properties:
given, it defaults to the last value used. given, it defaults to the last value used.
Whenever an access is made to a device on a child bus, the value set Whenever an access is made to a device on a child bus, the value set
in the revelant node's reg property will be output to the register. in the relevant node's reg property will be output to the register.
If an idle state is defined, using the idle-state (optional) property, If an idle state is defined, using the idle-state (optional) property,
whenever an access is not being made to a device on a child bus, the whenever an access is not being made to a device on a child bus, the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment