Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to describe i2c switch in json file #25

Open
znning opened this issue Mar 29, 2023 · 1 comment
Open

How to describe i2c switch in json file #25

znning opened this issue Mar 29, 2023 · 1 comment

Comments

@znning
Copy link

znning commented Mar 29, 2023

How to describe below i2c topology in json file?

i2c-0------- |--------------------|
             | PCA9548         ch0|----emc1413
             |                 ch1|----ina219
reset_pin----|--------------------|
@edineshkumar
Copy link

Need to configure Mux in kernel device tree and then you can use corresponded bus number and slave address in json file I guess.

Below is the reference for to configure Mux in DT.

https://github.com/openbmc/linux/blob/dev-6.1/arch/arm/boot/dts/aspeed-bmc-facebook-fuji.dts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants