Skip to contentSkip to conversation

pwm: update lpss pwm driver to support Broxton platform

PATCH In review qipeng.zha 3 participants 5 messages Mar 12, 2015 – Jun 12, 2015

Subsystems (2)
lore
Share & tools
lore

qipeng.zha

author
#0 lore raw

PATCH 1/1 pwm: update lpss pwm driver to support Broxton platform

From: "qipeng.zha" <[email protected]>

Add pci device id for Broxton platform.

---
 drivers/pwm/pwm-lpss-pci.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pwm/pwm-lpss-pci.c +2 -0
index cf20d2b..45042c1 100644
@@ -44,8 +44,10 @@ static void pwm_lpss_remove_pci(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id pwm_lpss_pci_ids[] = {
+	{ PCI_VDEVICE(INTEL, 0x0ac8), (unsigned long)&pwm_lpss_bsw_info},
 	{ PCI_VDEVICE(INTEL, 0x0f08), (unsigned long)&pwm_lpss_byt_info},
 	{ PCI_VDEVICE(INTEL, 0x0f09), (unsigned long)&pwm_lpss_byt_info},
+	{ PCI_VDEVICE(INTEL, 0x1ac8), (unsigned long)&pwm_lpss_bsw_info},
 	{ PCI_VDEVICE(INTEL, 0x2288), (unsigned long)&pwm_lpss_bsw_info},
 	{ PCI_VDEVICE(INTEL, 0x2289), (unsigned long)&pwm_lpss_bsw_info},
 	{ },
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 3 lines · qipeng.zha

From: "qipeng.zha" <[email protected]>

Add pci device id for Broxton platform.

For reference, this should be "PCI" and "ID", but I can fix those up while applying.

Also, it's customary to include a changelog in subsequent versions of a patch, as well as change the subject prefix to include the patch version number. That makes it easier for other people to track things.

You can do so using:

	$ git format-patch --subject-prefix='PATCH v2' ...

The changelog typically goes below the --- marker (the one below the Signed-off-by line) and would look something like this:

---
Changes in v2:
- keep board information table sorted by device ID
- reuse Braswell board information

Again, no need to resend this time, but something to keep in mind for future patches.

Quoted 1 line

I'd prefer a proper spelling of your name. Would "Qipeng Zha" be correct?

Thierry

#2 lore raw

Thierry

Thank you very much:)

Best wishes
Qipeng

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Thierry Reding
Sent: Thursday, March 12, 2015 3:59 PM
To: Zha, Qipeng
Cc: [email protected]; Westerberg, Mika
Subject: Re: [PATCH] pwm: update lpss pwm driver to support Broxton platform

Quoted 3 lines · qipeng.zha

From: "qipeng.zha" <[email protected]>

Add pci device id for Broxton platform.

For reference, this should be "PCI" and "ID", but I can fix those up while applying.

Also, it's customary to include a changelog in subsequent versions of a patch, as well as change the subject prefix to include the patch version number. That makes it easier for other people to track things.

You can do so using:

	$ git format-patch --subject-prefix='PATCH v2' ...

The changelog typically goes below the --- marker (the one below the Signed-off-by line) and would look something like this:

---
Changes in v2:
- keep board information table sorted by device ID
- reuse Braswell board information

Again, no need to resend this time, but something to keep in mind for future patches.

Quoted 1 line

I'd prefer a proper spelling of your name. Would "Qipeng Zha" be correct?

Thierry

#3 lore raw

Looks like I never got around to applying this. Done now.

Thierry

Quoted 42 lines · Qipeng

Thierry

Thank you very much:)

Best wishes
Qipeng

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Thierry Reding
Sent: Thursday, March 12, 2015 3:59 PM
To: Zha, Qipeng
Cc: [email protected]; Westerberg, Mika
Subject: Re: [PATCH] pwm: update lpss pwm driver to support Broxton platform

Quoted 3 lines · qipeng.zha

From: "qipeng.zha" <[email protected]>

Add pci device id for Broxton platform.

For reference, this should be "PCI" and "ID", but I can fix those up while applying.

Also, it's customary to include a changelog in subsequent versions of a patch, as well as change the subject prefix to include the patch version number. That makes it easier for other people to track things.

You can do so using:

	$ git format-patch --subject-prefix='PATCH v2' ...

The changelog typically goes below the --- marker (the one below the Signed-off-by line) and would look something like this:

---
Changes in v2:
- keep board information table sorted by device ID
- reuse Braswell board information

Again, no need to resend this time, but something to keep in mind for future patches.

Quoted 1 line

I'd prefer a proper spelling of your name. Would "Qipeng Zha" be correct?

Thierry