Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:driver:linux:adp5520 [19 Oct 2010 18:21] – use interwiki links Robin Getzresources:tools-software:linux-drivers:multifunction-device:adp5520 [03 Jan 2013 20:42] – external edit
Line 1: Line 1:
-====== ADP5520/01 driver ======+====== ADP5520/01 MFD Linux Driver ======
  
 ===== Supported Devices ===== ===== Supported Devices =====
  
-The driver for the [[:ADP5520]] also supports the [[:ADP5501]].+  * [[adi>ADP5520]] 
 +  * [[adi>ADP5501]]
  
 +===== Evaluation Boards =====
 +
 +  * [[adi>ADP5520-EVALZ]]  
 ===== Description ===== ===== Description =====
  
Line 83: Line 87:
  
 ^  Source  ^  Mainlined?  ^ ^  Source  ^  Mainlined?  ^
- [[bfsvn>linux-kernel?drivers/mfd/adp5520.c|svn]]   [[bfgit>linux-kernel?drivers/mfd/adp5520.c|git]] |  [[git.linux.org>drivers/mfd/adp5520.c|Yes]]  |+| [[git.linux.org>drivers/mfd/adp5520.c|git]] |  [[git.linux.org>drivers/mfd/adp5520.c|Yes]]  |
  
  
Line 98: Line 102:
 ====== Example platform device initialization ====== ====== Example platform device initialization ======
  
-<note important>+{{page>software/linux/docs/platform_and_bus_model#Platform Data&noheader&firstseconly&noeditbtn}} 
 + 
 +<WRAP important>
 Since Keypad, GPIO and optional LEDs (2, 3) are multiplexed, you need to avoid double configurations. Please refer to the table below. Since Keypad, GPIO and optional LEDs (2, 3) are multiplexed, you need to avoid double configurations. Please refer to the table below.
-</note>+</WRAP>
  
 ^ ADP5520 PIN ^ R3 ^ R2 ^ R1 ^ R0 ^ C0 ^ C1 ^ C2 ^ C3 ^ ^ ADP5520 PIN ^ R3 ^ R2 ^ R1 ^ R0 ^ C0 ^ C1 ^ C2 ^ C3 ^
Line 107: Line 113:
 | **LED** | LED3 |  |  |  |  |  |  | LED2 |   | **LED** | LED3 |  |  |  |  |  |  | LED2 |  
  
-<note tip> +<WRAP tip> 
 Please refer to [[git.linux.org>include/linux/mfd/adp5520.h]] for detailed configuration defines. Please refer to [[git.linux.org>include/linux/mfd/adp5520.h]] for detailed configuration defines.
-</note>+</WRAP>
  
 ==== Backlight ===== ==== Backlight =====
Line 132: Line 138:
  
 ==== ADP5520/ADP5501 MFD Core Support ===== ==== ADP5520/ADP5501 MFD Core Support =====
 +
 +{{page>software/linux/docs/platform_and_bus_model#Declaring I2C devices&firstseconly&noeditbtn}}
  
 <source trunk/arch/blackfin/mach-bf537/boards/stamp.c:adp5520_pdev_data{} c linux-kernel> <source trunk/arch/blackfin/mach-bf537/boards/stamp.c:adp5520_pdev_data{} c linux-kernel>
 <source trunk/arch/blackfin/mach-bf537/boards/stamp.c:/CONFIG_PMIC_ADP5520/2-/#if/ c linux-kernel> <source trunk/arch/blackfin/mach-bf537/boards/stamp.c:/CONFIG_PMIC_ADP5520/2-/#if/ c linux-kernel>
  
-<note tip>+<WRAP tip>
 **ADP5520 IRQ Usage:**\\ **ADP5520 IRQ Usage:**\\
 If you aren’t planning to utilize the Keypad interface, you don’t need to specify an IRQ in bfin_i2c_board_info. If you aren’t planning to utilize the Keypad interface, you don’t need to specify an IRQ in bfin_i2c_board_info.
-</note>+</WRAP>
  
 ====== Adding Linux driver support ====== ====== Adding Linux driver support ======
Line 351: Line 359:
 </xterm> </xterm>
  
-__**For more information on Input handling in Linux read:**__ [[git.linux.org>Documentation/input/input.txt]] +__**For more information on Input handling in Linux read:**__ [[git.linux.org>Documentation/input/input.txt]] 
 + 
 +====== More Information ====== 
 + 
 +{{page>resources/tools-software/linux-drivers/snippets#input_pointers&noheader&firstseconly&noeditbtn}} 
  
resources/tools-software/linux-drivers/multifunction-device/adp5520.txt · Last modified: 16 Feb 2015 11:50 by Lars-Peter Clausen