Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Sep 8, 2023

Reset the device on initializing if reset-node is available in dts.
snps,desingware-i2c does not define reset-node itself.
Add more of an element that inherits reset-device.yaml to
the compatible section to allow defining the reset-node for using this feature.

For example.

compatible = "reset-device-inherit-node", "snps,designware-i2c";

Signed-off-by: TOKITA Hiroshi [email protected]

Add Raspberry Pi Pico I2C that inheriting both DesignWare I2C
device and reset device.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the rpi_pico_i2c_reset branch 5 times, most recently from d4a1c9c to cfa64df Compare September 8, 2023 15:28
@soburi soburi marked this pull request as ready for review September 8, 2023 16:00
@zephyrbot zephyrbot added area: I2C area: Devicetree Binding PR modifies or adds a Device Tree binding platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico) labels Sep 8, 2023
@zephyrbot zephyrbot requested review from galak and teburd September 8, 2023 16:01
Reset the device on initializing if reset-node is available in dts.
`snps,desingware-i2c` does not define reset-node itself.
Add more of an element that inherits `reset-device.yaml` to
the `compatible` section to allow defining the reset-node
for using this feature.

For example.

```
compatible = "reset-device-inherit-node", "snps,designware-i2c";
```

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the rpi_pico_i2c_reset branch from cfa64df to 6cc41f7 Compare September 8, 2023 21:36
@fabiobaltieri fabiobaltieri merged commit e2f47c0 into zephyrproject-rtos:main Sep 11, 2023
@soburi soburi deleted the rpi_pico_i2c_reset branch September 11, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Devicetree Binding PR modifies or adds a Device Tree binding area: I2C platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants