[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1367803801-17111-1-git-send-email-chao.xie@marvell.com>
Date: Sun, 5 May 2013 21:29:58 -0400
From: Chao Xie <chao.xie@...vell.com>
To: <thierry.reding@...onic-design.de>, <linux-kernel@...r.kernel.org>,
<xiechao.mail@...il.com>, <eric.y.miao@...il.com>
CC: Chao Xie <chao.xie@...vell.com>
Subject: [PATCH V4 0/3] pwm: pxa: bug fix and device tree support
The patches fix some bugs
1. pwm-pxa driver is shared by ARCH_PXA and ARCH_MMP
2. use module_platform_driver for driver register
The patches also add device tree support for pwm.
V2->V1:
Remove the redundant initialization.
Fix bug of no initialization of .of_match_table.
Use CONFIG_OF for device tree support.
Rebase to for-next
V3->V2:
Change "mrvl,xxx" to "marvell,xxx".
V4->V3
Change comments for "pwm: pxa: use module_platform_driver()"
and "pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA".
Use "static const" for pxa_pwm_of_match definition.
Use the below scheme for DT support.
if (!id_entry) {
if (IS_ENABLED(CONFIG_OF))
err = parse_dt();
else
err = -ENODEV;
} else {
err = parse_pdata();
}
if (err < 0)
return err;
Chao Xie (3):
pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA
pwm: pxa: use module_platform_driver()
pwm: pxa: add device tree support
drivers/pwm/Kconfig | 2 +-
drivers/pwm/pwm-pxa.c | 64 +++++++++++++++++++++++++++++++++++++++---------
2 files changed, 53 insertions(+), 13 deletions(-)
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists