From: b-cousson@ti.com (Cousson, Benoit) Date: Wed, 25 Jan 2012 20:46:18 +0100 Subject: [PATCH] ARM: OMAP4: clock: fix mult and div mask for USB_DPLL In-Reply-To: References: <4F1E7F8A.4010805@ti.com> <1327455315-19464-1-git-send-email-ameya.palande@ti.com> Message-ID: <4F205C0A.1050502@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Paul, On 1/25/2012 8:05 PM, Paul Walmsley wrote: > Hi > > one important question first: > > On Tue, 24 Jan 2012, Ameya Palande wrote: > >> According to OMAP4 TRM Table 3-1183, CM_CLKSEL_DPLL_USB register defines >> following fields for multiplication and division factors: >> >> DPLL_MULT (bits 19:8) DPLL multiplier factor (2 to 4095) >> DPLL_DIV (bits 7:0) DPLL divider factor (0 to 255) >> >> Acked-by: Benoit Cousson >> Signed-off-by: Ameya Palande > > Have the scripts been updated? No not yet. The easy fix I was thinking about is to replace this define by the hexa value of the mask. I can extract directly from the max mult and max div. Regards, Benoit