Software Archive
Read-only legacy content
17061 Discussions

How to use the I2C on ATOM Bay trail Board?

PSui1
Novice
484 Views

        My board used E3845 and I used I2C0 to link one pca9534 to be used as an I2c to GPIO and one AT24HC04B to be used to save something important. The other I2Cs are not linked any devices.

        I download the linux-stable kernel as the document <tizen-ivi-m2-kernel-ltsi-linux-support-package-atom-e3800-gsg.pdf> described. Made and updated the linux kernel.

[root@localhost /]# uname -a

Linux localhost.localdomain 3.10.28-03142014-ltsi+ #2 SMP Fri Aug 4 16:44:39 CST 2017 x86_64 x86_64 x86_64 GNU/Linux

 

    When I input lspci command, I got the message like follows. I can not get the information of  SIO( BUS:0, Device:24, Fun:0~7, DeviceID: 0F40~0F47) from PCI. I wondered whether this is right or not?

    Who can  tell me where and how to set the Baytrail Board's I2c clock?

[root@localhost ~]# lspci

00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 11)

00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 11)

00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 11)

00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 11)

00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 11)

00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 11)

00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 11)

00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 11)

00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 11)

00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI (rev 11)

00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 11)

00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 11)

01:00.0 Serial controller: Exar Corp. Device 0358 (rev 03)

02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

04:00.0 PCI bridge: Pericom Semiconductor Device 2608

05:01.0 PCI bridge: Pericom Semiconductor Device 2608

05:02.0 PCI bridge: Pericom Semiconductor Device 2608

05:03.0 PCI bridge: Pericom Semiconductor Device 2608

05:04.0 PCI bridge: Pericom Semiconductor Device 2608

05:05.0 PCI bridge: Pericom Semiconductor Device 2608

06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

07:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

08:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

09:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

 

0 Kudos
0 Replies
Reply