-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Avoid making difference between 15pins and 22pins raspberry pi CSI connector #91983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid making difference between 15pins and 22pins raspberry pi CSI connector #91983
Conversation
# Copyright 2025 STMicroelectronics | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a title:
, please, otherwise this will look really odd/wrong in boards' documentation
I guess you want something like "GPIO pins exposed on the Raspberry Pi CSI Camera connector".
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: | | ||
There are 2 variants of the Raspberry Pi CSI camera connector. Either 15pins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kind of a nit but since you need to add the title anyway:
15pins --> 15-pin
22pins --> 22-pin
fix everywhere
…ctor Update the RaspberryPi CSI camera connector nexus gpio in order to only expose the list of GPIO pins in order to support both 15-pin and 22-pin connectors as well as 15-pin to 22-pin conversion cables. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Following renaming of the raspberry csi connector nexus, rename all places when csi 22pins is mentioned to only keep csi instead. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Following renaming of the raspberry csi connector nexus, rename all places when csi 22pins is mentioned to only keep csi instead. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
3300de6
c08d628
to
3300de6
Compare
Thanks @kartben, I updated the yaml file and used your proposal as title. |
|
A first nexus has been introduced for the raspberry pi 22pins CSI connector. There are also 15pins CSI connectors as well as also 15pins to 22pins conversion cables.
As far as GPIO are concerned there are only 4 pins importants in those connectors, IO0 / IO1 / I2C_SCL and I2C_SDA.
The other pins are directly connected to CSI PHY for which Zephyr doesn't have much to do.
In order to avoid having to deal with 2 kinds of connectors / nexus and having to figure a way to deal with cases when a conversion cable is being used, simply have the gpio-nexus list only the 4 GPIOs.
The other commits update DTSI and overlay to update the csi-22pins into simply csi.
Follwing this, I will update the PR #91837 and PR #88011 should also be updated.