ctrl_pdata->pin_res.pinctrl =devm_pinctrl_get(&pdev->dev);if(IS_ERR_OR_NULL(ctrl_pdata->pin_res.pinctrl)) { pr_err("%s: failed to get pinctrl\n", __func__);returnPTR_ERR(ctrl_pdata->pin_res.pinctrl); } ctrl_pdata->pin_res.gpio_state_active = pinctrl_lookup_state(ctrl_...
gpio_get_value()不能正确返回引脚电平值,表层原因是设备树里面的pinctrl节点参数没有被写到MUX寄存器...
示例5: ns_pinctrl_get_group_pins ▲点赞 1▼ staticintns_pinctrl_get_group_pins(struct pinctrl_dev *pctrl_dev,unsignedintselector,constunsignedint**pins,unsignedint*num_pins){structns_pinctrl*ns_pinctrl=pinctrl_dev_get_drvdata(pctrl_dev);*pins = ns_pinctrl->groups[selector].pins; *num_...
drivers/pinctrl/pinctrl-single.c@UNMAINTAINED , :fa-sign-out: xiexiuqi, 以上为各修改文件匹配的推荐Committer序列,需各模块评审通过后方可合入。 表态 回复 openeuler-ci-bot 成员 10月28日 20:00 Check NameCheck ResultCheck Details checkpatch SUCCESS#19061 checkformat SUCCESS checkdepend SUCCESS 表...
[PATCH] pinctrl: Fix pinctrl_gpio_get_pinctrl_and_offset() Jonas Karlman Re: [PATCH] pinctrl: Fix pinctrl_gpio_get_pinctrl_and_o... Quanyang Wang Re: [PATCH] pinctrl: Fix pinctrl_gpio_get_pinctrl_and_o... Tom RiniReply via email to ...
1. The parameter "gpio" of the function pinctrl_gpio_get_mux_owner should be "gc->base + info->offset" rather than "info->offset". 2. The member "strict" of s32cc_pmx_ops can be used to mark the flag GPIO_V2_LINE_FLAG_USED, so there is no need to use the funciton ...
struct horizon_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); struct pinctrl_gpio_range *gpio_range; unsigned int level, direction, gpio, gpio_port; void __iomem *reg_base; unsigned int gpio_pin, gpio_group;struct pinctrl_gpio_range *gpio_range; ...
gpio_get_value()不能正确返回引脚电平值,表层原因是设备树里面的pinctrl节点参数没有被写到MUX寄存器...
In message: [linux-yocto] [linux-yocto std/rt kernel v6.1]: nxp-s32g: gpio: fix pinctrl_gpio_get_mux_owner on 07/05/2024 Zhantao Tang wrote: > Hi Bruce, > > There is a patch to fix pinctrl_gpio_get_mux_owner issue. > Would you please help to merge it into ...