Skip to contentSkip to conversation

pwm: add pwm AO on meson gx

PATCH In review Jerome Brunet 6 participants 15 messages Jun 8, 2017 – Jul 18, 2017

Subsystems (3)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

v2 cover pwm: add pwm AO on meson gx

The pwms found in the AO domain of the meson gx family have different clock sources than the ones found in the EE domain. The AO pwms only have 2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data for it.

Changes since v1: [0]
* Correct clock source order for gxbb pwm ao. Documenation shows xtal as source #1 while it is actually source #0
* Add patch 3 to fix pwm calculation. Issue while testing pwm with clk81 as clock source.

[0]: https://lkml.kernel.org/r/20170607133013.4766-1-jbrunet at baylibre.com

Jerome Brunet (3):
dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
pwm: meson: add compatible for the gxbb ao pwms
pwm: meson: improve pwm calculation precision.

 .../devicetree/bindings/pwm/pwm-meson.txt          |  4 +-
 drivers/pwm/pwm-meson.c                            | 47 +++++++++++++++++-----
 2 files changed, 41 insertions(+), 10 deletions(-)
Signature · 1 line
2.9.4
author reviewer
#1 lore raw

PATCH v2 1/3 dt-bindings: pwm: meson: add comptabible for gxbb ao pwms

Add compatible string to properly handle the PWMs found in the AO domain of the gxbb (and gxl) family

---
 Documentation/devicetree/bindings/pwm/pwm-meson.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pwm/pwm-meson.txt +3 -1
index 5376a4468cb6..5b07bebbf6f7 100644
@@ -2,7 +2,9 @@ Amlogic Meson PWM Controller
 ============================
 
 Required properties:
-- compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm".
+- compatible: Shall contain "amlogic,meson8b-pwm"
+                         or "amlogic,meson-gxbb-pwm"
+                         or "amlogic,meson-gxbb-ao-pwm"
 - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
   the cells format.
 
Signature · 1 line
2.9.4
author reviewer
#3 lore raw

PATCH v2 2/3 pwm: meson: add compatible for the gxbb ao pwms

In reply to Jerome Brunet

On the gxbb (and gxl) family, the PWMs of the AO domain require a specific compatible because the possible input clocks are different from the EE PWMs input clocks.

Since the number of possible input clocks is also different, the 'num_parents' field is added to all the meson pwm data.

---
 drivers/pwm/pwm-meson.c | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)
drivers/pwm/pwm-meson.c +29 -3
index 045ef9fa6fe3..b911a944744a 100644
@@ -103,6 +103,7 @@ struct meson_pwm_channel {
 
 struct meson_pwm_data {
 	const char * const *parent_names;
+	int num_parents;
 };
 
 struct meson_pwm {
@@ -381,6 +382,7 @@ static const char * const pwm_meson8b_parent_names[] = {
 
 static const struct meson_pwm_data pwm_meson8b_data = {
 	.parent_names = pwm_meson8b_parent_names,
+	.num_parents = ARRAY_SIZE(pwm_meson8b_parent_names),
 };
 
 static const char * const pwm_gxbb_parent_names[] = {
@@ -389,11 +391,35 @@ static const char * const pwm_gxbb_parent_names[] = {
 
 static const struct meson_pwm_data pwm_gxbb_data = {
 	.parent_names = pwm_gxbb_parent_names,
+	.num_parents = ARRAY_SIZE(pwm_gxbb_parent_names),
+};
+
+/*
+ * Only the 2 first inputs of the GXBB AO PWMs are valid
+ * The last 2 are grounded
+ */
+static const char * const pwm_gxbb_ao_parent_names[] = {
+	"xtal", "clk81"
+};
+
+static const struct meson_pwm_data pwm_gxbb_ao_data = {
+	.parent_names = pwm_gxbb_ao_parent_names,
+	.num_parents = ARRAY_SIZE(pwm_gxbb_ao_parent_names),
 };
 
 static const struct of_device_id meson_pwm_matches[] = {
-	{ .compatible = "amlogic,meson8b-pwm", .data = &pwm_meson8b_data },
-	{ .compatible = "amlogic,meson-gxbb-pwm", .data = &pwm_gxbb_data },
+	{
+		.compatible = "amlogic,meson8b-pwm",
+		.data = &pwm_meson8b_data
+	},
+	{
+		.compatible = "amlogic,meson-gxbb-pwm",
+		.data = &pwm_gxbb_data
+	},
+	{
+		.compatible = "amlogic,meson-gxbb-ao-pwm",
+		.data = &pwm_gxbb_ao_data
+	},
 	{},
 };
 MODULE_DEVICE_TABLE(of, meson_pwm_matches);
@@ -417,7 +443,7 @@ static int meson_pwm_init_channels(struct meson_pwm *meson,
 		init.ops = &clk_mux_ops;
 		init.flags = CLK_IS_BASIC;
 		init.parent_names = meson->data->parent_names;
-		init.num_parents = 1 << MISC_CLK_SEL_WIDTH;
+		init.num_parents = meson->data->num_parents;
 
 		channel->mux.reg = meson->base + REG_MISC_AB;
 		channel->mux.shift = mux_reg_shifts[i];
Signature · 1 line
2.9.4
author reviewer
#5 lore raw

PATCH v2 3/3 pwm: meson: improve pwm calculation precision.

In reply to Jerome Brunet

When using input clocks with high rates, such as clk81 (166MHz), the fin_ns = NSEC_PER_SEC / fin_freq can introduce a significant error.

Ex: fin_freq = 166666667, NSEC_PER_SEC = 1000000000

    fin_ns = 5,9999999

which is, of course, rounded down to 5. This introduce an error of ~20% on the period requested from the pwm.

This patch use ps instead of ns (and 64bits integer) to perform the calculation. This should give a good enough precision.

Fixes 211ed630753d ("pwm: Add support for Meson PWM Controller")
---
 drivers/pwm/pwm-meson.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
drivers/pwm/pwm-meson.c +9 -6
index b911a944744a..4cdc66f7f718 100644
@@ -163,7 +163,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 			  unsigned int duty, unsigned int period)
 {
 	unsigned int pre_div, cnt, duty_cnt;
-	unsigned long fin_freq = -1, fin_ns;
+	unsigned long fin_freq = -1;
+	u64 fin_ps;
 
 	if (~(meson->inverter_mask >> id) & 0x1)
 		duty = period - duty;
@@ -179,13 +180,14 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 	}
 
 	dev_dbg(meson->chip.dev, "fin_freq: %lu Hz\n", fin_freq);
-	fin_ns = NSEC_PER_SEC / fin_freq;
+	fin_ps = ((u64)NSEC_PER_SEC * 1000) / fin_freq;
 
 	/* Calc pre_div with the period */
 	for (pre_div = 0; pre_div < MISC_CLK_DIV_MASK; pre_div++) {
-		cnt = DIV_ROUND_CLOSEST(period, fin_ns * (pre_div + 1));
-		dev_dbg(meson->chip.dev, "fin_ns=%lu pre_div=%u cnt=%u\n",
-			fin_ns, pre_div, cnt);
+		cnt = DIV_ROUND_CLOSEST_ULL((u64)period * 1000,
+					    fin_ps * (pre_div + 1));
+		dev_dbg(meson->chip.dev, "fin_ps=%llu pre_div=%u cnt=%u\n",
+			fin_ps, pre_div, cnt);
 		if (cnt <= 0xffff)
 			break;
 	}
@@ -208,7 +210,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 		channel->lo = cnt;
 	} else {
 		/* Then check is we can have the duty with the same pre_div */
-		duty_cnt = DIV_ROUND_CLOSEST(duty, fin_ns * (pre_div + 1));
+		duty_cnt = DIV_ROUND_CLOSEST_ULL((u64)duty * 1000,
+						 fin_ps * (pre_div + 1));
 		if (duty_cnt > 0xffff) {
 			dev_err(meson->chip.dev, "unable to get duty cycle\n");
 			return -EINVAL;
Signature · 1 line
2.9.4
Acked-by on v2 3/3
#6 lore raw

Re: [PATCH v2 3/3] pwm: meson: improve pwm calculation precision.

Quoted 53 lines · Jerome Brunet

When using input clocks with high rates, such as clk81 (166MHz), the fin_ns = NSEC_PER_SEC / fin_freq can introduce a significant error.

Ex: fin_freq = 166666667, NSEC_PER_SEC = 1000000000

    fin_ns = 5,9999999

which is, of course, rounded down to 5. This introduce an error of ~20% on the period requested from the pwm.

This patch use ps instead of ns (and 64bits integer) to perform the calculation. This should give a good enough precision.

Fixes 211ed630753d ("pwm: Add support for Meson PWM Controller")
---
 drivers/pwm/pwm-meson.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
drivers/pwm/pwm-meson.c +7 -5
index b911a944744a..4cdc66f7f718 100644
@@ -163,7 +163,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 			  unsigned int duty, unsigned int period)
 {
 	unsigned int pre_div, cnt, duty_cnt;
-	unsigned long fin_freq = -1, fin_ns;
+	unsigned long fin_freq = -1;
+	u64 fin_ps;
 
 	if (~(meson->inverter_mask >> id) & 0x1)
 		duty = period - duty;
@@ -179,13 +180,14 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 	}
 
 	dev_dbg(meson->chip.dev, "fin_freq: %lu Hz\n", fin_freq);
-	fin_ns = NSEC_PER_SEC / fin_freq;
+	fin_ps = ((u64)NSEC_PER_SEC * 1000) / fin_freq;
 
 	/* Calc pre_div with the period */
 	for (pre_div = 0; pre_div < MISC_CLK_DIV_MASK; pre_div++) {
-		cnt = DIV_ROUND_CLOSEST(period, fin_ns * (pre_div + 1));
-		dev_dbg(meson->chip.dev, "fin_ns=%lu pre_div=%u cnt=%u\n",
-			fin_ns, pre_div, cnt);
+		cnt = DIV_ROUND_CLOSEST_ULL((u64)period * 1000,
+					    fin_ps * (pre_div + 1));
+		dev_dbg(meson->chip.dev, "fin_ps=%llu pre_div=%u cnt=%u\n",
+			fin_ps, pre_div, cnt);
 		if (cnt <= 0xffff)
 			break;
 	}

drivers/pwm/pwm-meson.c static int meson_pwm_calc(struct meson_pwm *meson, · line 217

Quoted 9 lines
drivers/pwm/pwm-meson.c +2 -1
@@ -208,7 +210,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 		channel->lo = cnt;
 	} else {
 		/* Then check is we can have the duty with the same pre_div */
-		duty_cnt = DIV_ROUND_CLOSEST(duty, fin_ns * (pre_div + 1));
+		duty_cnt = DIV_ROUND_CLOSEST_ULL((u64)duty * 1000,
+						 fin_ps * (pre_div + 1));
 		if (duty_cnt > 0xffff) {
 			dev_err(meson->chip.dev, "unable to get duty cycle\n");
 			return -EINVAL;

Great, I missed this !!

maintainer Acked-by on v2 1/3
#2 lore raw

Re: [PATCH v2 1/3] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms

In reply to Jerome Brunet
Quoted 8 lines · Jerome Brunet

Add compatible string to properly handle the PWMs found in the AO domain of the gxbb (and gxl) family

---
 Documentation/devicetree/bindings/pwm/pwm-meson.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
maintainer Reviewed-by on v2 2/3
#4 lore raw

Re: [PATCH v2 2/3] pwm: meson: add compatible for the gxbb ao pwms

In reply to Jerome Brunet
Quoted 9 lines · Jerome Brunet

On the gxbb (and gxl) family, the PWMs of the AO domain require a specific compatible because the possible input clocks are different from the EE PWMs input clocks.

Since the number of possible input clocks is also different, the 'num_parents' field is added to all the meson pwm data.

#9 lore raw
In reply to Jerome Brunet
Quoted 14 lines · Jerome Brunet

The pwms found in the AO domain of the meson gx family have different clock sources than the ones found in the EE domain. The AO pwms only have 2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data for it.

Changes since v1: [0]
* Correct clock source order for gxbb pwm ao. Documenation shows xtal as source #1 while it is actually source #0
* Add patch 3 to fix pwm calculation. Issue while testing pwm with clk81 as clock source.

[0]: https://lkml.kernel.org/r/20170607133013.4766-1-jbrunet at baylibre.com

Quoted 8 lines

Jerome Brunet (3):
dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
pwm: meson: add compatible for the gxbb ao pwms
pwm: meson: improve pwm calculation precision.

 .../devicetree/bindings/pwm/pwm-meson.txt          |  4 +-
 drivers/pwm/pwm-meson.c                            | 47 +++++++++++++++++-----
 2 files changed, 41 insertions(+), 10 deletions(-)

For some reason the Author field keeps getting set to:

jbrunet <[email protected]>

It seems like the headers are correct, so maybe this is patchwork messing things up?

Anyway, I've applied the series and manually fixed up the Author field.

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20170706/a774625d/attachment.sig>

author reviewer
#10 lore raw
Quoted 25 lines · Thierry Reding
Quoted 19 lines · Jerome Brunet

The pwms found in the AO domain of the meson gx family have different clock sources than the ones found in the EE domain. The AO pwms only have 2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data for it.

Changes since v1: [0]
* Correct clock source order for gxbb pwm ao. Documenation shows xtal as ? source #1 while it is actually source #0
* Add patch 3 to fix pwm calculation. Issue while testing pwm with clk81 ? as clock source.

[0]:??https://lkml.kernel.org/r/20170607133013.4766-1-jbrunet at baylibre.com

Jerome Brunet (3):
? dt-bindings: pwm: meson: add comptabible for gxbb ao pwms ? pwm: meson: add compatible for the gxbb ao pwms ? pwm: meson: improve pwm calculation precision.

Quoted 4 lines

?.../devicetree/bindings/pwm/pwm-meson.txt??????????|??4 +- ?drivers/pwm/pwm-meson.c????????????????????????????| 47 +++++++++++++++++
-----
?2 files changed, 41 insertions(+), 10 deletions(-)

Quoted 6 lines

For some reason the Author field keeps getting set to:

jbrunet <[email protected]>

It seems like the headers are correct, so maybe this is patchwork messing things up?

And it strikes again ... :(
I already had the issue with https://patchwork.kernel.org a few month ago. I have contacted the kernel.org helpdesk about it and here is the explanation:

"Patchwork treats users and patch submitters slightly differently, so once your entry is created upon first patch submission, it sticks forever. I've adjusted your entry manually per your request."

So my very first patch on the ML must have been malformed somehow.

Quoted 2 lines

Anyway, I've applied the series and manually fixed up the Author field.

Thanks a lot for this !
Any idea who I may contact to get this "manual adjustment" done on https://patch
work.ozlabs.org/ ?

Quoted 3 lines

Thanks,
Thierry

#11 lore raw
Quoted 41 lines · Jerome Brunet
Quoted 25 lines · Thierry Reding
Quoted 19 lines · Jerome Brunet

The pwms found in the AO domain of the meson gx family have different clock sources than the ones found in the EE domain. The AO pwms only have 2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data for it.

Changes since v1: [0]
* Correct clock source order for gxbb pwm ao. Documenation shows xtal as ? source #1 while it is actually source #0
* Add patch 3 to fix pwm calculation. Issue while testing pwm with clk81 ? as clock source.

[0]:??https://lkml.kernel.org/r/20170607133013.4766-1-jbrunet at baylibre.com

Jerome Brunet (3):
? dt-bindings: pwm: meson: add comptabible for gxbb ao pwms ? pwm: meson: add compatible for the gxbb ao pwms ? pwm: meson: improve pwm calculation precision.

Quoted 4 lines

?.../devicetree/bindings/pwm/pwm-meson.txt??????????|??4 +- ?drivers/pwm/pwm-meson.c????????????????????????????| 47 +++++++++++++++++
-----
?2 files changed, 41 insertions(+), 10 deletions(-)

Quoted 6 lines

For some reason the Author field keeps getting set to:

jbrunet <[email protected]>

It seems like the headers are correct, so maybe this is patchwork messing things up?

And it strikes again ... :(
I already had the issue with https://patchwork.kernel.org a few month ago. I have contacted the kernel.org helpdesk about it and here is the explanation:

"Patchwork treats users and patch submitters slightly differently, so once your entry is created upon first patch submission, it sticks forever. I've adjusted your entry manually per your request."

Quoted 8 lines

So my very first patch on the ML must have been malformed somehow.

Quoted 2 lines

Anyway, I've applied the series and manually fixed up the Author field.

Thanks a lot for this !
Any idea who I may contact to get this "manual adjustment" done on https://patch
work.ozlabs.org/ ?

I /think/ Jeremy Kerr (To'ed) would be a good person to contact about this.

Jeremy, anything you can do about this?

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20170706/0ddc4062/attachment.sig>

#7 lore raw

Re: [PATCH v2 3/3] pwm: meson: improve pwm calculation precision.

In reply to Jerome Brunet
Quoted 33 lines · Jerome Brunet

When using input clocks with high rates, such as clk81 (166MHz), the fin_ns = NSEC_PER_SEC / fin_freq can introduce a significant error.

Ex: fin_freq = 166666667, NSEC_PER_SEC = 1000000000

    fin_ns = 5,9999999

which is, of course, rounded down to 5. This introduce an error of ~20% on the period requested from the pwm.

This patch use ps instead of ns (and 64bits integer) to perform the calculation. This should give a good enough precision.

Fixes 211ed630753d ("pwm: Add support for Meson PWM Controller")
---
 drivers/pwm/pwm-meson.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
drivers/pwm/pwm-meson.c +2 -1
index b911a944744a..4cdc66f7f718 100644
@@ -163,7 +163,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 			  unsigned int duty, unsigned int period)
 {
 	unsigned int pre_div, cnt, duty_cnt;
-	unsigned long fin_freq = -1, fin_ns;
+	unsigned long fin_freq = -1;
+	u64 fin_ps;
 
 	if (~(meson->inverter_mask >> id) & 0x1)
 		duty = period - duty;

drivers/pwm/pwm-meson.c static int meson_pwm_calc(struct meson_pwm *meson, · line 183

Quoted 5 lines
drivers/pwm/pwm-meson.c +1 -1
@@ -179,13 +180,14 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 	}
 
 	dev_dbg(meson->chip.dev, "fin_freq: %lu Hz\n", fin_freq);
-	fin_ns = NSEC_PER_SEC / fin_freq;
+	fin_ps = ((u64)NSEC_PER_SEC * 1000) / fin_freq;

This failed to build, so I had to change this division to a do_div().

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20170706/ec75893f/attachment.sig>

author reviewer
#8 lore raw

Re: [PATCH v2 3/3] pwm: meson: improve pwm calculation precision.

Quoted 33 lines · Thierry Reding
Quoted 32 lines · Jerome Brunet

When using input clocks with high rates, such as clk81 (166MHz), the fin_ns = NSEC_PER_SEC / fin_freq can introduce a significant error.

Ex: fin_freq = 166666667, NSEC_PER_SEC = 1000000000 ????fin_ns = 5,9999999

which is, of course, rounded down to 5. This introduce an error of ~20% on the period requested from the pwm.

This patch use ps instead of ns (and 64bits integer) to perform the calculation. This should give a good enough precision.

Fixes 211ed630753d ("pwm: Add support for Meson PWM Controller")

---
?drivers/pwm/pwm-meson.c | 15 +++++++++------
?1 file changed, 9 insertions(+), 6 deletions(-)

drivers/pwm/pwm-meson.c +2 -1
index b911a944744a..4cdc66f7f718 100644
@@ -163,7 +163,8 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 ?			??unsigned int duty, unsigned int period)
 ?{
 ?	unsigned int pre_div, cnt, duty_cnt;
-	unsigned long fin_freq = -1, fin_ns;
+	unsigned long fin_freq = -1;
+	u64 fin_ps;

?
? if (~(meson->inverter_mask >> id) & 0x1)
? duty = period - duty;

Quoted 8 lines

drivers/pwm/pwm-meson.c static int meson_pwm_calc(struct meson_pwm *meson, · line 183

Quoted 6 lines
drivers/pwm/pwm-meson.c +0 -0
@@ -179,13 +180,14 @@ static int meson_pwm_calc(struct meson_pwm *meson,
 ?	}

?
? dev_dbg(meson->chip.dev, "fin_freq: %lu Hz\n", fin_freq);

drivers/pwm/pwm-meson.c +1 -1
-	fin_ns = NSEC_PER_SEC / fin_freq;
+	fin_ps = ((u64)NSEC_PER_SEC * 1000) / fin_freq;

This failed to build, so I had to change this division to a do_div().

Oh ! Indeed :(
I have mostly tested with arm64 which is fine.
I thought I had tested arm(32) build as well but I just noticed that MESON_PWM option is disabled in multi_v7_defconfig.

Thanks for catching and fixing this Thierry !

Quoted 2 lines

Thierry

#12 lore raw
In reply to Thierry Reding

Hi all,

I'm just on a short holiday at the moment, but will check this out when I'm back home, early next week.

Cheers,

Jeremy

Quoted 71 lines · Thierry Reding
Quoted 3 lines · Jerome Brunet
Quoted 2 lines · Thierry Reding
Quoted 1 line · Jerome Brunet

The pwms found in the AO domain of the meson gx family have

different

Quoted 1 line
Quoted 1 line
Quoted 1 line

clock sources than the ones found in the EE domain. The AO pwms

only

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

have 2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data

for it.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Changes since v1: [0]
* Correct clock source order for gxbb pwm ao. Documenation shows

xtal as

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

  source #1 while it is actually source #0
* Add patch 3 to fix pwm calculation. Issue while testing pwm

with clk81

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

  as clock source.

[0]:  https://lkml.kernel.org/r/[email protected]

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Jerome Brunet (3):
  dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
  pwm: meson: add compatible for the gxbb ao pwms
  pwm: meson: improve pwm calculation precision.

 .../devicetree/bindings/pwm/pwm-meson.txt          |  4 +- drivers/pwm/pwm-meson.c                            | 47

+++++++++++++++++

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

-----

 2 files changed, 41 insertions(+), 10 deletions(-)

For some reason the Author field keeps getting set to:

Quoted 7 lines
Quoted 4 lines

jbrunet <[email protected]>

It seems like the headers are correct, so maybe this is patchwork messing things up?

And it strikes again ... :(
I already had the issue with https://patchwork.kernel.org a few month

ago.

Quoted 1 line

I have contacted the kernel.org helpdesk about it and here is the

explanation:

Quoted 2 lines

"Patchwork treats users and patch submitters slightly differently, so

once your

Quoted 1 line

entry is created upon first patch submission, it sticks forever. I've

adjusted

Quoted 6 lines

your entry manually per your request."

So my very first patch on the ML must have been malformed somehow.

Quoted 2 lines

Anyway, I've applied the series and manually fixed up the Author

field.

Quoted 3 lines

Thanks a lot for this !
Any idea who I may contact to get this "manual adjustment" done on

https://patch

Quoted 1 line

work.ozlabs.org/ ?

I /think/ Jeremy Kerr (To'ed) would be a good person to contact about this.

Jeremy, anything you can do about this?

Thanks,
Thierry

Signature · 1 line
Sent from my Android device with K-9 Mail. Please excuse my brevity.
#13 lore raw
In reply to Thierry Reding

Hi Thierry,

Quoted 4 lines

I /think/ Jeremy Kerr (To'ed) would be a good person to contact about this.

Jeremy, anything you can do about this?

OK, all sorted. I've updated Jerome's entry in the database to suit.

Cheers,

Jeremy

#14 lore raw
Quoted 8 lines · Jeremy Kerr

Hi Thierry,

Quoted 4 lines

I /think/ Jeremy Kerr (To'ed) would be a good person to contact about this.

Jeremy, anything you can do about this?

OK, all sorted. I've updated Jerome's entry in the database to suit.

Headers do indeed look correct now.

Thanks a lot, Jeremy.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20170718/c9a85690/attachment.sig>