Home > OS >  Imx6ul device tree iomuxc reuse [pinctrl_hog_1: hoggrp - 1] is what nodes?
Imx6ul device tree iomuxc reuse [pinctrl_hog_1: hoggrp - 1] is what nodes?

Time:12-03

Such as: write a device driver configuration of the device tree, want to had the default is the SD card (SD_CMD) pin reuse for normal GPIO pin (pin number for [GPIO2_16]) found the following problems:

specific operation is as follows:
Steps:
Step 1:
To create the pin corresponding to describe node device tree,

Step 2:
Add the pin in the device tree iomuxc multiplexing capabilities (i.e., [MX6UL_PAD_SD1_CMD__GPIO2_IO16 0 x10b0]), reuse for ordinary IO and shielding the original function of SD, it is found that pins are not controlled,

Step 3:
Then put on the steps of the reusable function code to [] pinctrl_hog_1: hoggrp - 1 nodes, the magic can control the GPIO,



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- line -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

can you tell me the bosses who knows [pinctrl_hog_1: hoggrp - 1] why is this thing? Why you add the node code reuse function is invalid, but the function code to reuse the node, it is ok?

Thank you thank you!!!!!

The diagram below:

  • Related