ARM: tegra: clock: Support sysfs shared bus rate nodes
authorAlex Frid <afrid@nvidia.com>
Tue, 3 Sep 2013 21:46:14 +0000 (14:46 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Tue, 17 Sep 2013 00:40:34 +0000 (17:40 -0700)
commit4d5573b002599109bed78ad30bb664a6c21a40a3
tree4ec42b89e23696bb015c6462d07234dc0823284a
parentaed4edfdeeabb2acabfbdd5433dd2b7203f20fa0
ARM: tegra: clock: Support sysfs shared bus rate nodes

Added mechanism to expose shared bus available rates and current rate
via sysfs. Updated shared bus limits initialization, so that all sysfs
nodes (caps, floors, rates) re-use the same attribute array. Converted
bus limit level field to unsigned type.

Change-Id: I53f6fec2f9700277f9d67ec9960f372c1c3b6c08
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/269856
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/tegra_core_sysfs_limits.h
arch/arm/mach-tegra/tegra_core_volt_cap.c