|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| author | daisy.skye的博客_CSDN博客-Qt,嵌入式,Linux领域博主 https://blog.csdn.net/qq_40715266?type=blog |
| 系列 | 基于RK3568的Linux驱动开发------GPIO知识点(一)_daisy.skye的博客-CSDN博客基于RK3568的Linux驱动开发------ GPIO知识点(二)_daisy.skye的博客-CSDN博客 |
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| adb 查看 显示不同的状态 | |
| NO PULL | bias-disable; /* No PULL */ drive-strength = <2>; /* 2 MA */ |
代码修改:
qdsd_cmd_trace: cmd_trace {`
`config` `{`
` pins =` `"gpio2";`
` bias-pull-down;` `/* pull down */`
` drive-strength =` `<2>;` `/* 2 MA */`
`};`
`};`
` qdsd_cmd_swduart: cmd_uart {`
`config` `{`
` pins =` `"gpio3";`
` bias-pull-up;` `/* pull up */`
` drive-strength =` `<2>;` `/* 2 MA */`
`};`
`};`
` qdsd_cmd_jtag: cmd_jtag {`
`config` `{`
` pins =` `"gpio4";`
` bias-disable;` `/* NO pull */`
` drive-strength =` `<8>;` `/* 8 MA */`
`};`
`};`
`