-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i3c: imx3112: Add driver for Renesas IMX3112 mux
This change adds the driver for the Renesas IMX3112 2:1 bus multiplexer. It also adds dt-bindings for generic i3c-muxes, and Kconfig priorities to make sure the init order is: 1. bus controller 2. mux 3. channel Signed-off-by: Ramiro de Rojas Perez <[email protected]>
- Loading branch information
1 parent
e1efafa
commit 98b7035
Showing
7 changed files
with
674 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,5 +100,6 @@ comment "Device Drivers" | |
|
||
rsource "Kconfig.nxp" | ||
rsource "Kconfig.cdns" | ||
rsource "Kconfig.renesas" | ||
|
||
endif # I3C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright (c) 2022 Google LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config I3C_RENESAS_MUX_PRIORITY | ||
int "I3C Renesas Mux Init Priority" | ||
# Default is just after I3C_CONTROLLER_INIT_PRIORITY | ||
default 51 | ||
help | ||
This is used for setting up an I3C renesas mux, by configuring | ||
the electrical parameters and doing device discovery. | ||
|
||
Note that this needs to be done before the device driver | ||
instances of the connected I3C devices start | ||
initializing those devices, but after the bus controller finishes | ||
initialization | ||
|
||
config I3C_RENESAS_CHANNEL_PRIORITY | ||
int "I3C Renesas Mux Init Priority" | ||
# Default is just after I3C_RENESAS_MUX_PRIORITY | ||
default 52 | ||
help | ||
This is used for setting up an I3C renesas mux channels by | ||
doing device discovery in each channel | ||
|
||
config I3C_RENESAS_IMX3112 | ||
bool "Renesas I3C 2:1 bus multiplexer imx3112" | ||
help | ||
Enable the renesas imx3112 mux |
Oops, something went wrong.