-
Notifications
You must be signed in to change notification settings - Fork 63
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
gpio: Add Phytium GPIO driver #155
Conversation
This patch documents the DT bindings for Phytium GPIO controller. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn> Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
Phytium GPIO controller has two ports, while port A can accept external signals and issues interrupts to upper-level interrupt controller. This patch introduces a driver for Phytium GPIO controller. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn> Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
This patch fixed an error on px210 board that the interrupt cannot be issued after enabling the MSI interrupt in the gpio-pci driver. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
…ware The recently patch for GPIO changed the description of gpio-ports index in gpio-plat drivers, which may cause the driver cannot property read old description in the old ACPI table. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
Because gpio->irq here is the pointer, We must use gpio->irq[0] instead of gpio->irq to judge GPIO no IRQ. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Zuo Qian <zuoqian2032@phytium.com.cn> Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
If set max gpio irq number from gpio->ngpio[0], it will get more IRQ than expected, So use platform_irq_count() to get the real IRQ num from device tree. Signed-off-by: Li Guohui <liguohui2061@phytium.com.cn> Signed-off-by: Liu Tianyu <liutianyu1250@phytium.com.cn> Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
Hi @hhhui-L. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
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.
/ok-to-test
/lgtm
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: opsiff The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
deepin pr auto reviewPhytium GPIO: Add support for Phytium GPIO platform This patch adds support for Phytium GPIO platform. The GPIO The GPIO driver provides a set of functions to interact with To enable the GPIO driver for Phytium platform, the following steps
This patch adds support for Phytium GPIO platform by providing the |
This patch introduces a driver for Phytium GPIO controller.