GayKoo
码龄7年
关注
提问 私信
  • 博客:23,693
    23,693
    总访问量
  • 41
    原创
  • 1,205,982
    排名
  • 5
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2018-01-05
博客简介:

GayKoo的博客

查看详细资料
个人成就
  • 获得6次点赞
  • 内容获得1次评论
  • 获得21次收藏
创作历程
  • 3篇
    2022年
  • 38篇
    2021年
成就勋章
TA的专栏
  • 计算机视觉(Python)
  • Linux设备驱动
    21篇
  • 基于TI的AM5728的linux驱动开发学习
    4篇
  • OpenCL
    10篇
  • 数字图像处理
创作活动更多

2024 博客之星年度评选报名已开启

博主的专属年度盛宴,一年仅有一次!MAC mini、大疆无人机、华为手表等精美奖品等你来拿!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

(三)I2C驱动

前言I2C总线驱动compatible = "ti,omap4-i2c";对应i2c-omap.c,针对TI该OMAP系列的I2C总线i2c-omap.c/* * TI OMAP I2C master mode driver * * Copyright (C) 2003 MontaVista Software, Inc. * Copyright (C) 2005 Nokia Corporation * Copyright (C) 2004 - 2007 Texas Instrument
原创
发布博客 2022.04.11 ·
1750 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

OpenCL模型

前言以下图源来自广州创龙电子科技公司OpenCL视频教程。平台模型执行模型内存模型编程模型
原创
发布博客 2022.03.16 ·
207 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

(二)GPIO驱动

前言设备树文件的gpio分支compatible = "ti,omap4-gpio"对应gpio-omap.c文件个人感觉每个驱动都有对应的platform驱动去进行初始化,代码有很多应该是直接采用platform驱动的默认值。尚未验证,仅推测。gpio-omap.c/* * Support functions for OMAP GPIO * * Copyright (C) 2003-2005 Nokia Corporation * Written by Juha Yrjölä <
原创
发布博客 2022.01.25 ·
1999 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

(一)LED驱动

前言设备树LED部分中显示compatible = "gpio-leds";与/drivers/leds/leds-gpio.c的compatible字样一致,且SDK也指出采用该驱动文件。leds-gpio.c/* * LEDs driver for GPIOs * * Copyright (C) 2007 8D Technologies inc. * Raphael Assenat <raph@8d.com> * Copyright (C) 2008 Freescale
原创
发布博客 2021.12.14 ·
1459 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

TMDSEVM572X的设备树文件

板子DTB转化成DTS/dts-v1/;/ { #address-cells = <0x2>; #size-cells = <0x2>; compatible = "ti,am5728-evm", "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; interrupt-parent = <0x1>; model = "TI AM5728 EVM"; fixed
原创
发布博客 2021.12.14 ·
1253 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 22 Network Interface Card Drivers

Driver data structuresThe socket buffer structureSocket buffer allocationNetwork interface structureThe device methodsOpening and closingPacket handlingPacket receptionPacket transmissionDriver exampleStatus
原创
发布博客 2021.12.11 ·
789 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 21 Framebuffer Drivers

Driver data structuresDevice methodsDriver methodsDetailed fb_opsChecking informationSet controller’s parametersScreen blankingAccelerated methodsPutting it all togetherFramebuffer from user space
原创
发布博客 2021.12.10 ·
765 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 20 Regulator Framework

PMIC/producer driver interfaceDriver data structuresDescription structureConstraints structureinit data structureFeeding init data into the DTConfiguration structureDevice operation structureDriver methodsProbe functionRemove.
原创
发布博客 2021.12.10 ·
922 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 19 PWM Drivers

PWM controller driverDriver examplePWM controller bindingPWM consumer interfacePWM clients bindingUsing PWMs with the sysfs interface
原创
发布博客 2021.12.08 ·
632 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 18 RTC Drivers

原创
发布博客 2021.12.06 ·
649 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 17 Input Devices Drivers

Allocating and registering an input devicePolled input device sub-classGenerating and reporting an input event
原创
发布博客 2021.12.05 ·
985 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 16 Advanced IRQ Management

原创
发布博客 2021.12.04 ·
716 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 15 GPIO Controller Drivers – gpio_chip

原创
发布博客 2021.12.02 ·
689 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 14 Pin Control and GPIO Subsystem

Pin control subsystemPinctrl and the device treeThe GPIO subsystemThe descriptor-based GPIO interfaceGPIO descriptor mapping - the device treeAllocating and using GPIOPutting it all togetherThe GPIO interface and the de
原创
发布博客 2021.11.30 ·
191 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 13 Linux Device Model

LDM data structuresThe busBus registrationDevice driverDevice driver registrationDeviceDevice registrationDeep inside LDMkobject structurekobj_typeksetsAttributeAttributes groupDevice model and sysfsSys
原创
发布博客 2021.11.27 ·
574 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 12 DMA – Direct Memory Access

DMA mappingsCoherent mappingStreaming DMA mappingSingle buffer mappingScatter/gather mapping
原创
发布博客 2021.11.26 ·
708 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 11 Kernel Memory Management

System memory layout - kernel space and user spaceKernel addresses – concept of low and high memoryLow memoryHigh memoryUser space addressesVirtual Memory Area (VMA)Address translation and MMUPage look up and TLBHow do
原创
发布博客 2021.11.24 ·
185 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 10 IIO Framework

IIO data structuresiio_dev structureiio_info structureIIO channelsChannel attribute naming conventionsDistinguishing channelsPutting it all together
原创
发布博客 2021.11.22 ·
650 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 9 Regmap API – A Register Map Abstraction

regmap_config structure一红线处应为"cacheable_table"regmap initializationSPI initializationI2C initializationDevice access functionsregmap_update_bits function要对哪一位修改,“mask"中对应位要设为"1”,"val"中对应位修改值。...
原创
发布博客 2021.11.17 ·
125 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

《Linux Device Drivers Development》——Chap 8 SPI Device Driver

The driver architectureThe device structureSPI driver structureThe probe function
原创
发布博客 2021.11.15 ·
563 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多