This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resources:tools-software:linux-drivers:multifunction-device:adp5520 [08 Nov 2011 17:26] Michael Hennerich [Supported Devices] |
resources:tools-software:linux-drivers:multifunction-device:adp5520 [16 Feb 2015 11:50] Lars-Peter Clausen [Status] |
||
---|---|---|---|
Line 86: | Line 86: | ||
===== Status ===== | ===== Status ===== | ||
- | ^ Source ^ Mainlined? ^ | + | ^ Source ^ Mainlined? ^ |
- | | [[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 104: | Line 104: | ||
{{page>software/linux/docs/platform_and_bus_model#Platform Data&noheader&firstseconly&noeditbtn}} | {{page>software/linux/docs/platform_and_bus_model#Platform Data&noheader&firstseconly&noeditbtn}} | ||
- | <note important> | + | <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 113: | 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 144: | Line 144: | ||
<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 ====== |