Skip to content

Conversation

@Mani-Sadhasivam
Copy link
Member

All 96Boards complying to the IE spec exposes either 40pin or 30pin
standard low speed connectors for peripheral connectivity. These
connectors are well defined and available in the IE spec [1]. This PR
creates two different gpio bindings for these connectors:

  1. 96b-lscon-1v8 - 40 pin connector with maximum of 12 GPIOs
  2. 96b-lscon-3v3 - 30 pin connector with maximum of 8 GPIOs

These bindings will be utilized by the 96Boards for exposing the
GPIO pins as nexus node as per the devicetree spec. This will allow
the shields and applications to use board independent GPIO mapping.

While at it, 96Boards generic node labels for I2C, SPI and UART are also
added.

[1] https://linaro.co/ie-specification

Fixes: #15598

Signed-off-by: Manivannan Sadhasivam [email protected]

@zephyrbot
Copy link

zephyrbot commented Oct 10, 2019

All checks are passing now.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

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

Please update boards documentation so we can quickly reach connector specification.
Otherwise, change is good.
Little hick up is that we miss sample to test that. Maybe we can add boards to tests/drivers/gpio/gpio_basi_api once topic-gpio branch is merged.

@Mani-Sadhasivam
Copy link
Member Author

@erwango Okay, will add the link to 96Boards IE spec.

Little hick up is that we miss sample to test that. Maybe we can add boards to tests/drivers/gpio/gpio_basi_api once topic-gpio branch is merged.

Sure. I can add that later.

Copy link
Member

Choose a reason for hiding this comment

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

Please also add gpio-map-mask props, cf #19862

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry for the nit change, but change platform to platforms

All 96Boards complying to the IE spec exposes either 40pin or 30pin
standard low speed connectors for peripheral connectivity. These
connectors are well defined and available in the IE spec. So, lets
create a devicetree binding for the most commonly used 30pin header
for the 3.3v IE 96Boards. This binding will be utilized by the 96Boards
for exposing the GPIO pins as nexus node as per the devicetree spec.

This will allow the shields and applications to use board independent
GPIO mapping.

Signed-off-by: Manivannan Sadhasivam <[email protected]>
Add support for 3.3v Low speed connector available on the Wistrio
board inorder to access peripherals in a board independent way.

Following peripherals are supported:

1. 7-GPIOs
2. I2C0
3. UART0

Signed-off-by: Manivannan Sadhasivam <[email protected]>
Add support for 3.3v Low speed connector available on the Carbon
board inorder to access peripherals in a board independent way.

Following peripherals are supported:

1. 8-GPIOs
2. I2C0
3. SPI0
4. UART0
5. UART1

Signed-off-by: Manivannan Sadhasivam <[email protected]>
All 96Boards complying to the IE spec exposes either 40pin or 30pin
standard low speed connectors for peripheral connectivity. These
connectors are well defined and available in the IE spec. So, lets
create a devicetree binding for the 40pin header for the 1.8v IE
96Boards. This binding will be utilized by the 96Boards
for exposing the GPIO pins as nexus node as per the devicetree spec.

This will allow the shields and applications to use board independent
GPIO mapping.

Signed-off-by: Manivannan Sadhasivam <[email protected]>
Add support for 1.8v Low speed connector available on the Wistrio
board inorder to access peripherals in a board independent way.

Following peripherals are supported:

1. 12-GPIOs
2. SPI0
3. UART0

Signed-off-by: Manivannan Sadhasivam <[email protected]>
@galak
Copy link
Contributor

galak commented Oct 28, 2019

Any updates on this?

@Mani-Sadhasivam
Copy link
Member Author

@galak AFIAK, this PR is close to get merged. Just waiting for the approvals from @dbkinder and @erwango

Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

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

+1 for doc changes, thanks.

@galak galak merged commit 89e4ba7 into zephyrproject-rtos:master Oct 30, 2019
@Mani-Sadhasivam Mani-Sadhasivam deleted the 96b_connector branch October 30, 2019 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standard devicetree connectors for boards

5 participants