Project

General

Profile

Actions

新建 #124

open

t507 怎么根据设备树去找对应的驱动

Added by 余 顺 over 1 year ago. Updated over 1 year ago.

Status:
新建
Priority:
普通
Assignee:
-
Category:
gpio
Target version:
Start date:
09/17/2022
Due date:
% Done:

0%

Estimated time:

Description

版型:rp_t507

系统:ubuntu

需求:怎么看PE17这个GPIO口它的控制逻辑


Files

Updated by 余 顺 over 1 year ago

首先查看对应的设备树 驱动匹配用的是哪个
设备树都会有对应compatible 去链接对应的驱动

接着在dts 所在的目录通过grep "xxx" ./ -nr 找 ,
没有就一层一层的目录向上找,直到找到对应的驱动文件

Actions

Also available in: Atom PDF