Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422868Ab2JaNXv (ORCPT ); Wed, 31 Oct 2012 09:23:51 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:55950 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422816Ab2JaNXt (ORCPT ); Wed, 31 Oct 2012 09:23:49 -0400 Message-ID: <50912658.1010702@ti.com> Date: Wed, 31 Oct 2012 09:23:36 -0400 From: Murali Karicheri User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Linus Walleij CC: , , , , , , , , , , , , , Subject: Re: [PATCH v3 02/11] clk: davinci - add PSC clock driver References: <1351181518-11882-1-git-send-email-m-karicheri2@ti.com> <1351181518-11882-3-git-send-email-m-karicheri2@ti.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1567 Lines: 44 On 10/28/2012 03:24 PM, Linus Walleij wrote: > On Thu, Oct 25, 2012 at 6:11 PM, Murali Karicheri wrote: > >> This is the driver for the Power Sleep Controller (PSC) hardware >> found on DM SoCs as well Keystone SoCs (c6x). This driver borrowed >> code from arch/arm/mach-davinci/psc.c and implemented the driver >> as per common clock provider API. The PSC module is responsible for >> enabling/disabling the Power Domain and Clock domain for different IPs >> present in the SoC. The driver is configured through the clock data >> passed to the driver through struct clk_psc_data. >> >> Signed-off-by: Murali Karicheri > Acked-by: Linus Walleij > > Here is some pedantic stuff if you're really bored: > >> diff --git a/drivers/clk/davinci/clk-psc.c b/drivers/clk/davinci/clk-psc.c > (...) >> + ptcmd = 1 << domain; > ptcmd = BIT(domain); > >> + pdctl = readl(psc_base + PDCTL + 4 * domain); >> + pdctl |= 0x100; > pdctl |= BIT(8); /* and here a comment explaing what on earth that means */ > >> + } else { >> + ptcmd = 1 << domain; > ptcmd = BIT(domain); > > Yours, > Linus Walleij > > Linus, Thanks. I will fix the above and add your Acked-by in the next revision of the patch. Murali -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/