function IO description疑问
编写devicetree的pinctrl是根据这部分文档来进行的吧。我看sdio0部分似乎有些出入
上图是function IO description内容的sdio0部分,
首先有个疑问,pinctrl里面的rockchip,pull不是<VALUE_PULL_UP>就是 <VALUE_PULL_DISABLE>,或者VALUE_PULL_NORMAL也有少数。
内核文档里面说明
"rockchip,pull" could be assigned the following values:
#define VALUE_PULL_NORMAL 0
#define VALUE_PULL_UP 1
#define VALUE_PULL_DOWN 2
#define VALUE_PULL_KEEP 3
#define VALUE_PULL_DISABLE 4 //don't set and keep pull default
function IO description多数是up和down
根据名称up对应<VALUE_PULL_UP>,但是down多数是<VALUE_PULL_DISABLE>,少数还是<VALUE_PULL_UP>,比如sdio0_wrprt,文档里面是down,但是rk3288-pinctrl.dtsi里面却是rockchip,pull = <VALUE_PULL_UP>;
这怎么回事?
页:
[1]