Skip to contentSkip to conversation

backlight-lm3630-apply chip revision

PATCH Superseded daniel jeong 2 participants 2 messages Jul 26, 2013 – Jul 29, 2013

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backlight-lm3630-apply chip revision

The LM3630 chip was revised by TI and chip name was also changed to LM3630A. And register map, default values and intiial sequences are changed. lm3630_bl.c and .h files are deleted
lm3630_bla.c and .h files are added
www.ti.com

---
 drivers/video/backlight/Kconfig          |    6 +-
 drivers/video/backlight/Makefile         |    2 +-
 drivers/video/backlight/lm3630_bl.c      |  475 -----------------------------
 drivers/video/backlight/lm3630a_bl.c     |  482 ++++++++++++++++++++++++++++++
 include/linux/platform_data/lm3630_bl.h  |   57 ----
 include/linux/platform_data/lm3630a_bl.h |   65 ++++
 6 files changed, 551 insertions(+), 536 deletions(-)
 delete mode 100644 drivers/video/backlight/lm3630_bl.c
 create mode 100644 drivers/video/backlight/lm3630a_bl.c
 delete mode 100644 include/linux/platform_data/lm3630_bl.h
 create mode 100644 include/linux/platform_data/lm3630a_bl.h
drivers/video/backlight/Kconfig +3 -3
index d5ab658..37f5cc5 100644
@@ -368,12 +368,12 @@ config BACKLIGHT_AAT2870
 	  If you have a AnalogicTech AAT2870 say Y to enable the
 	  backlight driver.
 
-config BACKLIGHT_LM3630
-	tristate "Backlight Driver for LM3630"
+config BACKLIGHT_LM3630A
+	tristate "Backlight Driver for LM3630A"
 	depends on BACKLIGHT_CLASS_DEVICE && I2C
 	select REGMAP_I2C
 	help
-	  This supports TI LM3630 Backlight Driver
+	  This supports TI LM3630A Backlight Driver
 
 config BACKLIGHT_LM3639
 	tristate "Backlight Driver for LM3639"
drivers/video/backlight/Makefile +1 -1
index 92711fe..04aa103 100644
@@ -35,7 +35,7 @@ obj-$(CONFIG_BACKLIGHT_GENERIC)		+= generic_bl.o
 obj-$(CONFIG_BACKLIGHT_HP680)		+= hp680_bl.o
 obj-$(CONFIG_BACKLIGHT_HP700)		+= jornada720_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3533)		+= lm3533_bl.o
-obj-$(CONFIG_BACKLIGHT_LM3630)		+= lm3630_bl.o
+obj-$(CONFIG_BACKLIGHT_LM3630A)		+= lm3630a_bl.o
 obj-$(CONFIG_BACKLIGHT_LM3639)		+= lm3639_bl.o
 obj-$(CONFIG_BACKLIGHT_LOCOMO)		+= locomolcd.o
 obj-$(CONFIG_BACKLIGHT_LP855X)		+= lp855x_bl.o
drivers/video/backlight/lm3630_bl.c deleted +0 -475

475 lines not on this page · raw message

drivers/video/backlight/lm3630a_bl.c new file +482 -0

482 lines not on this page · raw message

include/linux/platform_data/lm3630_bl.h deleted +0 -57

57 lines not on this page · raw message

include/linux/platform_data/lm3630a_bl.h new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 1 line · Daniel Jeong

Subject: [PATCH v1] backlight-lm3630-apply chip revision

Please don't use this subject, as I mentioned. Also, this patch version is v2.

Thus, when you send the next version of this patch, you should use the subject as below:

[PATCH v3] backlight: lm3630: apply chip revision

According to 'Documentation/SubmittingPatches',
15) The canonical patch format
The canonical patch subject line is:
Subject: [PATCH 001/123] subsystem: summary phrase

Quoted 3 lines

The LM3630 chip was revised by TI and chip name was also changed to LM3630A. And register map, default values and intiial sequences are changed.

Looks good.

Quoted 2 lines

lm3630_bl.c and .h files are deleted
lm3630_bla.c and .h files are added

Fix the typo: lm3630_bla.c -> lm3630a_bl.c

The following is simpler.
lm3630_bl.{c,h} files are changed to lm3630a_bl.{c,h}.

Quoted 2 lines

www.ti.com

Please, don't add meaningless commit message. If you want to mention web address of your company, please mention what it means as below:

The full datasheets are available from TI website:
http://www.ti.com/product/lm3630a

Quoted 1 line

Please use upper case as below:

                   ^^^     ^^^

In my opinion, you have to fix your .gitconfig file as below:

[user]
email = [email protected] name = Daniel Jeong

Daniel Jeong,
Please, read the './Documentation/SubmittingPatches', before you send your patch.

Best regards,
Jingoo Han

Quoted 13 lines
---
 drivers/video/backlight/Kconfig          |    6 +-
 drivers/video/backlight/Makefile         |    2 +-
 drivers/video/backlight/lm3630_bl.c      |  475 -----------------------------
 drivers/video/backlight/lm3630a_bl.c     |  482 ++++++++++++++++++++++++++++++
 include/linux/platform_data/lm3630_bl.h  |   57 ----
 include/linux/platform_data/lm3630a_bl.h |   65 ++++
 6 files changed, 551 insertions(+), 536 deletions(-)
 delete mode 100644 drivers/video/backlight/lm3630_bl.c
 create mode 100644 drivers/video/backlight/lm3630a_bl.c
 delete mode 100644 include/linux/platform_data/lm3630_bl.h
 create mode 100644 include/linux/platform_data/lm3630a_bl.h