From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752366AbbJCMT2 (ORCPT ); Sat, 3 Oct 2015 08:19:28 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35438 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154AbbJCMT1 (ORCPT ); Sat, 3 Oct 2015 08:19:27 -0400 Message-ID: <1443874764.4186.8.camel@gmail.com> Subject: Re: [PATCH v4 02/26] ARM: pxa: magician: Change comments to be more informative From: Philipp Zabel To: Petr Cvek , robert.jarzmik@free.fr, daniel@zonque.org, haojian.zhuang@gmail.com, linux@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Sat, 03 Oct 2015 14:19:24 +0200 In-Reply-To: <5609ACBA.6080503@tul.cz> References: <5609ACBA.6080503@tul.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 28.09.2015, 23:10 +0200 schrieb Petr Cvek: > This patch changes the comments in the HTC Magician machine source > code > to better describe used devices and interfaces. > > Signed-off-by: Petr Cvek This is mostly fine, some comments below. [...] > static struct resource egpio_resources[] = { > @@ -197,7 +199,10 @@ static struct htc_egpio_chip egpio_chips[] = { > .gpio_base = MAGICIAN_EGPIO(0, 0), > .num_gpios = 24, > .direction = HTC_EGPIO_OUTPUT, > - .initial_values = 0x40, /* > EGPIO_MAGICIAN_GSM_RESET */ > + /* > + * Depends on modules configuration > + */ > + .initial_values = 0x40, > }, > [1] = { > .reg_start = 4, Why drop the info that this is the GSM reset while improving comments in every other place with more information? [...] > +/* > + * LCD PWM backlight (main) > + * > + * MP1521 frequency should be: > + * 100-400 Hz = 2 .5*10^6 - 10 *10^6 ns What is MP1521? [...] > @@ -459,7 +475,7 @@ static struct pasic3_leds_machinfo > pasic3_leds_info = { > }; > > /* > - * PASIC3 with DS1WM > + * PASIC3 DS1WM > */ This is indeed an mfd chip that contains a DS1WM IP core. I think the older comment is better. > @@ -492,7 +508,7 @@ static struct platform_device pasic3 = { > }; > > /* > - * USB "Transceiver" > + * PXA UDC > */ > > static struct resource gpio_vbus_resource = { You fix this in a later commit, but here the change is incorrect. regards Philipp