OMAP3-5: TWL[46]03[05]: cleanup register access and misc minimal cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest0 of 10 patches 0 repliesNew
- v2 posting 3/30 of 9 patches 0 repliesSuperseded
- v2 posting 2/30 of 9 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/3 | 0 of 9 patches | 0 replies | Superseded |
Patches in v3 No applies recorded yet
None of the 10 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | R Sricharan |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH V3 00/10] OMAP3-5: TWL[46]03[05]: cleanup register access and misc minimal cleanups
Hi Nishanth,
Quoted 96 lines · Nishanth Menon
This series helps standardize register parameters for TWL4030, 6030 and 6035 used in various OMAP3,4,5 based platforms.
For historical reasons, we have been following val, reg as the order of parameters while we have reg, val in every other i2c apis including i2c mw/mr command @ u-boot cmd line, with kernel APIs, i2cget, i2cset utilities.
Instead of maintaining this forked implementation, it is never too late to fix them.
Since TPS659038/TWL6035/TWL6037 all belong to the Palmas family of TI PMICs and are mostly compatible among each other, we rename twl6035 to palmas as part of this cleanup.
Build tested (MAKEALL) platforms-at least these seem to be be impacted ones:
cm_t35
devkit8000
dig297
igep0020igep0020_nand
igep0030igep0030_nandnokia_rx51omap3_beagleomap3_evmomap3_evm_quick_mmcomap3_evm_quick_nandomap3_logicomap3_mvblxomap3_overoomap3_pandoraomap3_sdp3430omap3_zoom1omap3_zoom2omap4_pandaomap4_sdp4430omap5_evm
tricorderdra7xx_evmBoot tested platforms (upto kernel+shell with dtb):
omap3_beagle- tested on beagle XM (C1), beagle(C1D) - TWL4030omap4_panda- tested on PandaBoard(A3) and PandaBoard-ES(EB3) - TWL6030omap5_evm- OMAP5 uEVM - TWL6035twl4030 changes are little wider in scope, so I have split them into two patches to help review
Series is based on u-boot master:
master 8b906a9 Merge branch 'spi' ofgit://git.denx.de/u-boot-x86
(rationale being the changes if done on v2013.04-rc1 have much changes to
allow this series to apply cleanly on the latest)NOTE: the series tries to cleanup existing indentation style to allow the new code to be in sync with checkpatch suggestions.
V2: http://marc.info/?t=136398816800006&r=1&w=2
V1: http://patchwork.ozlabs.org/patch/227112/Changes since V2 in this series:
- rename of twl6035 to palmas and associated changes
- minor updates to cleaup checkpatch warningsNishanth Menon (10):
twl4030: maketwl4030_i2c_write_u8prototype consistent
twl4030: maketwl4030_i2c_read_u8prototype consistent
twl6030: twl6030_i2c_[read|write]_u8 prototype consistent
twl6030: move twl6030 register access functions to common header file
twl6030: add header guard
twl6035: rename to palmas
palmas: renameinit_settingsto an generic palmas init
palmas: renametwl6035_mmc1_poweron_ldowith an palmas generic
function
palmas: use palmas_i2c_[read|write]_u8
palmas: add header guardboard/cm_t35/cm_t35.c | 24 +++++------ board/nokia/rx51/rx51.c | 52 +++++++++++------------ board/pandora/pandora.c | 3 +- board/ti/dra7xx/evm.c | 2 +- board/ti/omap5_evm/evm.c | 6 +-- drivers/misc/twl4030_led.c | 4 +- drivers/mmc/omap_hsmmc.c | 8 ++-- drivers/power/Makefile | 2 +- drivers/power/{twl6035.c => palmas.c} | 34 +++------------ drivers/power/twl4030.c | 16 +++---- drivers/power/twl6030.c | 75 ++++++++++++++------------------- drivers/usb/phy/twl4030.c | 48 ++++++++++----------- include/configs/omap5_evm.h | 2 +- include/{twl6035.h => palmas.h} | 28 +++++++++--- include/twl4030.h | 4 +- include/twl6030.h | 16 +++++++ 16 files changed, 162 insertions(+), 162 deletions(-) rename drivers/power/{twl6035.c => palmas.c} (61%) rename include/{twl6035.h => palmas.h} (68%)
Quoted 2 lines
Regards,
Nishanth Menon
Regards,
Sricharan