Skip to content
Commit 7b676872 authored by Manoj Kumar's avatar Manoj Kumar Committed by ronald-cron-arm
Browse files

pik_clock: make divider value check limit as configurable parameter



PIK clock divider value limit checking is hardcoded to 16 with
4-bit assumption. However many mobile & infra platforms has
5-bit divider.

This patch fixes the issue by adding a configurable module parameter
so that the platform's config file can set the divider bitfield size
based on platform.

Additionally, if platform does not provide module configuration data,
then the divider limit is set to a default value of 5-bits.

Change-Id: I70103ec84eacc2d26be999ca6524878bff51dd9d
Signed-off-by: Manoj Kumar's avatarManoj Kumar <manoj.kumar3@arm.com>
parent 6bc132d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment