1 2 3 4 5 ··· 22 下一页
摘要: ## 前言 整体结构 ![](https://img2023.cnblogs.com/blog/1557439/202308/1557439-20230820210753897-1665531289.png) ## 1. pinctrl dirver于pinctrl client platform\ 阅读全文
posted @ 2023-08-20 21:09 人民广场的二道贩子 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ## 前言 一些使用技巧 * 查看设备支持的pinctrl ```c ls /sys/kernel/debug/pinctrl/ ``` ![](https://img2023.cnblogs.com/blog/1557439/202308/1557439-20230813152508345-318 阅读全文
posted @ 2023-08-13 15:34 人民广场的二道贩子 阅读(31) 评论(0) 推荐(0) 编辑
摘要: ## 1. pinctrl在device tree中的定义和使用 ![](https://img2023.cnblogs.com/blog/1557439/202307/1557439-20230730140241386-162310013.png) ## 2. pinctrl driver ini 阅读全文
posted @ 2023-07-30 14:04 人民广场的二道贩子 阅读(12) 评论(0) 推荐(0) 编辑
摘要: [04 Pincontrl子系统和GPIO子系统](https://www.cnblogs.com/burnk/p/16908703.html) 阅读全文
posted @ 2023-07-23 14:46 人民广场的二道贩子 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 1. 简介 pinctrl: 即pin controller引脚控制。对应设备的iomux和config模块 ![](https://img2023.cnblogs.com/blog/1557439/202307/1557439-20230723140839387-1771339848.png 阅读全文
posted @ 2023-07-23 14:07 人民广场的二道贩子 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ## 1. device tree * 100ask\_imx6ull-14x14.dts iic adapter注册 ```c pinctrl_i2c1: i2c1grp { fsl,pins = ; }; ... &i2c1 { clock-frequency = ; pinctrl-names 阅读全文
posted @ 2023-07-23 13:55 人民广场的二道贩子 阅读(30) 评论(0) 推荐(0) 编辑
摘要: ## 1. IIC 控制器通用结构 对于IIC Control器而言一般结构如下,不同设备会存在个体差异,但整体差别不大 ![](https://img2023.cnblogs.com/blog/1557439/202307/1557439-20230723135002486-162944043.p 阅读全文
posted @ 2023-07-23 13:53 人民广场的二道贩子 阅读(29) 评论(0) 推荐(0) 编辑
摘要: [源码](https://gitee.com/super_glob/linux-driver-code/tree/master/2023.06.24_i2c_gpio) ## 1. 设备树 gpio模拟iic ```c i2c_gpio: i2c-gpio { /* gpio模拟iiccompati 阅读全文
posted @ 2023-06-25 21:51 人民广场的二道贩子 阅读(84) 评论(0) 推荐(0) 编辑
摘要: [代码](https://gitee.com/super_glob/linux-driver-code/tree/master/2023.06.23_i2c_adapter) ## 1 iic adapter驱动架构 i2c adapter设备是挂载于platform bus 整体重点架构如下 * 阅读全文
posted @ 2023-06-24 15:28 人民广场的二道贩子 阅读(14) 评论(0) 推荐(0) 编辑
摘要: [源码](https://gitee.com/super_glob/linux-driver-code/tree/master/2023.06.04_AP3216C) ## 1. iic client创建方法 ### 1.1 通过设备树直接创建 只需要在对应i2c总线下指定设备信息即可 示例: ![ 阅读全文
posted @ 2023-06-18 14:34 人民广场的二道贩子 阅读(12) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 22 下一页