高通linux内核,高通平台 linux kernel pinctrl介绍

1.static struct pinconf_generic_dt_params dt_params[] = {

2.{"bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 },

3.{"bias-high-impedance", PIN_CONFIG_BIAS_HIGH_IMPEDANCE, 0 },

4.{"bias-bus-hold", PIN_CONFIG_BIAS_BUS_HOLD, 0 },

5.{"bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 1 },

6.{"bias-pull-down", PIN_CONFIG_BIAS_PULL_DOWN, 1 },

7.{"bias-pull-pin-default", PIN_CONFIG_BIAS_PULL_PIN_DEFAULT, 1 },

8.{"drive-push-pull", PIN_CONFIG_DRIVE_PUSH_PULL, 0 },

9.{"drive-open-drain", PIN_CONFIG_DRIVE_OPEN_DRAIN, 0 },

10.{"drive-open-source", PIN_CONFIG_DRIVE_OPEN_SOURCE, 0 },

11.{"drive-strength", PIN_CONFIG_DRIVE_STRENGTH, 0 },

12.{"input-enable", PIN_CONFIG_INPUT_ENABLE, 1 },

13.{"input-disable", PIN_CONFIG_INPUT_ENABLE, 0 },

14.{"input-schmitt-enable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 1 },

15.{"input-schmitt-disable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 0 },

16.{"input-debounce", PIN_CONFIG_INPUT_DEBOUNCE, 0 },

17.{"power-source", PIN_CONFIG_POWER_SOURCE, 0 },

18.{"low-power-enable", PIN_CONFIG_LOW_POWER_MODE, 1 },

19.{"low-power-disable", PIN_CONFIG_LOW_POWER_MODE, 0 },

20.{"output-low", PIN_CONFIG_OUTPUT, 0, },

21.{"output-high", PIN_CONFIG_OUTPUT, 1, },

22.{"slew-rate", PIN_CONFIG_SLEW_RATE, 0},

23.};

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值