[linux-sunxi] Re: [PATCH v2 1/1] add missing UARTs pins and I2C entriesfor AllWinner H3 DTSI

2016-05-04 Thread martinayotte
Bonjour Maxime,

On Monday, May 2, 2016 at 2:46:57 AM UTC-4, Maxime Ripard wrote:
> Hi,
> 
> On Tue, Apr 19, 2016 at 03:50:39PM -0400, Martin Ayotte wrote:
> > Hi everyone,
> > 
> > This patch is submit to provide endusers access to additional UARTs on
> > AllWinner H3 SoC along with I2C ports.
> 
> Unfortunately, your patch cannot be applied in its current form, both
> because of process and technical reasons:
> 
>   * Every commits should have a commit title and log. While you do
> have a title, you used the log to store your cover letter. This is
> an issue, because that will be kept in the git history, which is
> obviously something we don't want.
> If you want to make a cover letter, you can either send it as a
> separate mail, or after the "---" below that will be ignored when
> applying the mails.
> On the other hand, the commit log should be used to say why ýour
> doing this patch and why it was needed.
> 
>   * You do not have a Signed-off-by tag in your commit log. This and
> the point above is documented in Documentation/SubmittingPatches,
> please make sure to read that first.
> 
>   * Your mailer completely corrupted the patch when you sent it,
> replacing all tabs by spaces, and wrapping the longer lines. That
> means that the patch cannot be applied anymore. Please fix your
> mailer, or use one that just works, like git send-email.
> 
>   * Finally, like Chen-Yu already told you, you're doing several
> different things here in a single patch, while you should have
> done separate patches. From what I can see, you're adding pinctrl
> groups for the uart and i2c pins, and adding the i2c controller
> nodes. That should have been ideally 3 patches: 1 for the uart
> pinctrl groups, 1 for the i2c pinctrl groups, 1 for the i2c
> controller nodes. We also don't take pinctrl groups that are not
> enabled on any boards to keep the DT size as small as possible.
> 
> Thanks,
> Maxime
> 
> -- 
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com

Thanks for your help and make me understanding more the process.

I've now prepared a new v3 for that, and just send it.
Strangely, it seems that the 3 patches been sent separately. 
I will try to figure out what happened.

Regards,
Martin.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: [PATCH v2 1/1] add missing UARTs pins and I2C entriesfor AllWinner H3 DTSI

2016-05-01 Thread Maxime Ripard
Hi,

On Tue, Apr 19, 2016 at 03:50:39PM -0400, Martin Ayotte wrote:
> Hi everyone,
> 
> This patch is submit to provide endusers access to additional UARTs on
> AllWinner H3 SoC along with I2C ports.

Unfortunately, your patch cannot be applied in its current form, both
because of process and technical reasons:

  * Every commits should have a commit title and log. While you do
have a title, you used the log to store your cover letter. This is
an issue, because that will be kept in the git history, which is
obviously something we don't want.
If you want to make a cover letter, you can either send it as a
separate mail, or after the "---" below that will be ignored when
applying the mails.
On the other hand, the commit log should be used to say why ýour
doing this patch and why it was needed.

  * You do not have a Signed-off-by tag in your commit log. This and
the point above is documented in Documentation/SubmittingPatches,
please make sure to read that first.

  * Your mailer completely corrupted the patch when you sent it,
replacing all tabs by spaces, and wrapping the longer lines. That
means that the patch cannot be applied anymore. Please fix your
mailer, or use one that just works, like git send-email.

  * Finally, like Chen-Yu already told you, you're doing several
different things here in a single patch, while you should have
done separate patches. From what I can see, you're adding pinctrl
groups for the uart and i2c pins, and adding the i2c controller
nodes. That should have been ideally 3 patches: 1 for the uart
pinctrl groups, 1 for the i2c pinctrl groups, 1 for the i2c
controller nodes. We also don't take pinctrl groups that are not
enabled on any boards to keep the DT size as small as possible.

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature