Skip to content

Conversation

@HatsyRei
Copy link
Member

@HatsyRei HatsyRei commented Mar 20, 2025

Enable I2C bus 0 by default for NI Zynq-based devices. A follow-up to device tree tweaks introduced in #192 to get NI Zynq device trees to build correctly based on updated zynq-7000.dtsi definitions. i2c0 is disabled by default in zynq-7000.dtsi, so this node needs to be explicitly enabled to work.

Testing: Deployed changes on cDAQ-9189, verified enumeration of /dev/i2c-0 and communication with on-board tmp451 sensor via sysfs.

@gratian gratian requested a review from a team March 20, 2025 18:28
Copy link

@chaitu236 chaitu236 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: trailing whitespace
#22: FILE: arch/arm/boot/dts/xilinx/ni-zynq.dtsi:122:
+^I$

Checkpatch failed.

Enable I2C bus 0 by default for NI Zynq-based devices.

Signed-off-by: HatsyRei <yan.huan.chng@emerson.com>
@gratian gratian merged commit 935ab94 into ni:nilrt/master/6.6 Mar 25, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants