From: Andrea Costanzo <andrea.costanzo@phabrix.com>
To: linux-i2c@vger.kernel.org
Subject: Query regarding i2c-scmi not creating the right adapter
Date: Tue, 17 Sep 2024 11:44:47 +0100 [thread overview]
Message-ID: <21b1c8e2-ba13-4181-b2de-a6441fbd00be@phabrix.com> (raw)
Dear Linux Kernel mailing list,
I have been trying to compile and load the i2c-scmi and i2c_piix4 in my
system.
I am using a yocto kirkstone linux distribution. The overall project is
to be able to read some voltages and temperature from the nuvoton chip
nct7802.
I have set to build as modules the following driver in my yocto
distribution.
CONFIG_I2C_PIIX4=m => enable i2c_piix4 module
CONFIG_I2C_SCMI=m => enable i2c_scmi module
CONFIG_SENSORS_NCT7802=m => enable the nuvoton chip driver nct7802
When I run my system with the new modules loaded and I scan all i2c
busses (i2cdetect -l)
I do not see the SMBUS CMI adapter loaded in any of the i2c devices.
This means the i2c_scmi driver failed to bring up the adapter.
Instead when I run on the same product an ubuntu distribution and I scan
all the i2c bus with the same command I can see the following output on
the i2c0
i2c-0 unknown SMBUS CMI adapter cmi N/A
.....
I have tried to add some printk messages on the i2c_scmi probe function
but I do not see the printk messages on the dmesg output.
the smbus adapter is physically connected to the pci bus in my system as
I can see it when I run the lspci command
> lspci -v -t
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root
Complex
+-01.0 Advanced Micro Devices, Inc. [AMD] Family 17h
(Models 00h-1fh) PCIe Dummy Host Bridge
+-01.1-[01]----00.0 Xilinx Corporation Device b03f
+-01.3-[02]----00.0 Sandisk Corp Device 501a
+-01.6-[03]----00.0 Intel Corporation I210 Gigabit Network
Connection
+-01.7-[04]----00.0 Intel Corporation I211 Gigabit Network
Connection
+-08.0 Advanced Micro Devices, Inc. [AMD] Family 17h
(Models 00h-1fh) PCIe Dummy Host Bridge
+-08.1-[05]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI]
Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
| +-00.1 Advanced Micro Devices, Inc. [AMD/ATI]
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
| +-00.2 Advanced Micro Devices, Inc. [AMD]
Family 17h (Models 10h-1fh) Platform Security Processor
| +-00.3 Advanced Micro Devices, Inc. [AMD]
Raven USB 3.1
| +-00.4 Advanced Micro Devices, Inc. [AMD]
Raven USB 3.1
| +-00.5 Advanced Micro Devices, Inc. [AMD]
Raven/Raven2/FireFlight/Renoir Audio Processor
| +-00.6 Advanced Micro Devices, Inc. [AMD]
Family 17h (Models 10h-1fh) HD Audio Controller
| \-00.7 Advanced Micro Devices, Inc. [AMD]
Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver
+-08.2-[06]----00.0 Advanced Micro Devices, Inc. [AMD] FCH
SATA Controller [AHCI mode]
* +-14.0 Advanced Micro Devices, Inc. [AMD] FCH SMBus
Controller ->This is the SMBUS Controller adapter *
....
Do you have some suggestion to nail down where it can be the problem?
Many Thanks
Andrea
reply other threads:[~2024-09-17 10:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21b1c8e2-ba13-4181-b2de-a6441fbd00be@phabrix.com \
--to=andrea.costanzo@phabrix.com \
--cc=linux-i2c@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox