+93
−0
+12
−0
drivers/i2c/muxes/i2c-mux-pinctrl.c
0 → 100644
+279
−0
include/linux/i2c-mux-pinctrl.h
0 → 100644
+41
−0
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
This is useful for SoCs whose I2C module's signals can be routed to
different sets of pins at run-time, using the pinctrl API.
+-----+ +-----+
| dev | | dev |
+------------------------+ +-----+ +-----+
| SoC | | |
| /----|------+--------+
| +---+ +------+ | child bus A, on first set of pins
| |I2C|---|Pinmux| |
| +---+ +------+ | child bus B, on second set of pins
| \----|------+--------+--------+
| | | | |
+------------------------+ +-----+ +-----+ +-----+
| dev | | dev | | dev |
+-----+ +-----+ +-----+
Signed-off-by:
Stephen Warren <swarren@nvidia.com>
Acked-by:
Linus Walleij <linus.walleij@linaro.org>
Acked-by:
Rob Herring <rob.herring@calxeda.com>
Signed-off-by:
Wolfram Sang <w.sang@pengutronix.de>
CRA Git | Maintained and supported by SUSTech CRA and CCSE