phytec / doc-bsp-yocto

Yocto BSP Documentation
https://phytec.github.io/doc-bsp-yocto/
1 stars 1 forks source link

BSPIMX8M-2956: bsp: imx8: gpios: Update in access of gpios via sysfs #120

Closed Varakala02 closed 10 months ago

Varakala02 commented 11 months ago

Using the sysfs for the gpio access is deprecated and can be used if enabled the CONFIG_EXPERT in the defconfig. Updating the documentation of gpio chapter with these information will help to use sysfs.

s-hemer commented 11 months ago

Using the sysfs for the gpio access is deprecated

Maybe then the commit message and the docu should highlight why anyone wants/needs to do this?! As this config entry suggests: it is for experts only, they are able to find this way of gpio access without a hint in the docu?

Varakala02 commented 11 months ago

Using the sysfs for the gpio access is deprecated

Maybe then the commit message and the docu should highlight why anyone wants/needs to do this?! As this config entry suggests: it is for experts only, they are able to find this way of gpio access without a hint in the docu?

Updated with changes.

tremmet commented 10 months ago

@ymoog I added a fixup to Yashs commit. I rephrased the content and moved it to the end of the gpio documentation as a separate sub chapter. Can you please check?

ymoog commented 10 months ago

@ymoog I added a fixup to Yashs commit. I rephrased the content and moved it to the end of the gpio documentation as a separate sub chapter. Can you please check?

Why don't you modify Yash's commit and add your sob?

tremmet commented 10 months ago

@ymoog I added a fixup to Yashs commit. I rephrased the content and moved it to the end of the gpio documentation as a separate sub chapter. Can you please check?

Why don't you modify Yash's commit and add your sob?

I wanted to keep the original until your approval. I will squash it now together.

tremmet commented 10 months ago

Rebased to head of main. And squashed my fixup.