
基于TI的AM5728的linux驱动开发学习
以TI的AM5728EVM为平台,学习linux驱动开发
GayKoo
这个作者很懒,什么都没留下…
展开
-
(三)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 15:09:30 · 1799 阅读 · 0 评论 -
(二)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 10:26:32 · 2023 阅读 · 0 评论 -
(一)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 12:33:36 · 1504 阅读 · 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 11:04:45 · 1271 阅读 · 0 评论