Skip to content

Conversation

@jadonk
Copy link
Member

@jadonk jadonk commented Dec 11, 2023

…m board"

This reverts commit 3769938.

Now that gpio_i2c_switch is upstream, this hack should be removed. This had the unintended effect of disabling the on-board sensors. The issue was that the board was merged before this driver was upstream, resulting in the issue this commit "fixed".

This revert also does not move the bus driver under the controller used by the driver as the sensor bus I2C driver is not an I2C peripheral.

See:

…m board"

This reverts commit 3769938.

Now that gpio_i2c_switch is upstream, this hack should be removed. This
had the unintended effect of disabling the on-board sensors. The issue
was that the board was merged before this driver was upstream, resulting
in the issue this commit "fixed".

This revert also does not move the bus driver under the controller used
by the driver as the sensor bus I2C driver is not an I2C peripheral.

See:
* zephyrproject-rtos#64881
* zephyrproject-rtos#64693
* zephyrproject-rtos#65031

Signed-off-by: Jason Kridner <[email protected]>
@jadonk jadonk force-pushed the fix-sensor-shell-beagleconnect-freedom branch from 66b1d11 to bda025c Compare December 12, 2023 13:23
@vaishnavachath vaishnavachath self-requested a review December 12, 2023 14:22
#size-cells = <0>;
controller = <&i2c0>;
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see - yeah, this makes a bit more sense now. Thanks @jadonk !

@carlescufi carlescufi merged commit 547a75d into zephyrproject-rtos:main Dec 13, 2023
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.

5 participants