diff options
author | Nishanth Menon <nm@ti.com> | 2014-01-23 12:57:27 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-03 07:33:17 -0500 |
commit | 6127daa85094e20b42d306dde800e0d745847990 (patch) | |
tree | e8f3bf33c4be4889a0798e4dea4af399629d1904 /Documentation/devicetree/bindings/regulator | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
regulator: ti-abb: Add support for interleaved LDO registers
Certain platforms such as DRA7 have quirky memory maps such as:
PRM_ABBLDO_DSPEVE_CTRL 0x4ae07e20
PRM_ABBLDO_IVA_CTRL 0x4ae07e24
other-registers
PRM_ABBLDO_DSPEVE_SETUP 0x4ae07e30
PRM_ABBLDO_IVA_SETUP 0x4ae07e34
These need the address range allocation to be either not reserved OR
unique allocation per register instance or use something like syscon
based solution.
By going with unique allocation per register, we are able to now have
a single compatible driver for all instances on all platforms which
use the IP block.
So, introduce a new "ti,abb-v3" compatible to allow for definitions
where explicit register definitions are provided, while maintaining
backward compatibility of older predefined register offsets provided
by "ti-abb-v1" and "ti-abb-v2".
As part of this change, we rename a few variables to indicate the
appropriate meaning.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt index 2e57a33e9029..c58db75f959e 100644 --- a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt | |||
@@ -4,10 +4,14 @@ Required Properties: | |||
4 | - compatible: Should be one of: | 4 | - compatible: Should be one of: |
5 | - "ti,abb-v1" for older SoCs like OMAP3 | 5 | - "ti,abb-v1" for older SoCs like OMAP3 |
6 | - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5 | 6 | - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5 |
7 | - "ti,abb-v3" for a generic definition where setup and control registers are | ||
8 | provided (example: DRA7) | ||
7 | - reg: Address and length of the register set for the device. It contains | 9 | - reg: Address and length of the register set for the device. It contains |
8 | the information of registers in the same order as described by reg-names | 10 | the information of registers in the same order as described by reg-names |
9 | - reg-names: Should contain the reg names | 11 | - reg-names: Should contain the reg names |
10 | - "base-address" - contains base address of ABB module | 12 | - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2) |
13 | - "control-address" - contains control register address of ABB module (ti,abb-v3) | ||
14 | - "setup-address" - contains setup register address of ABB module (ti,abb-v3) | ||
11 | - "int-address" - contains address of interrupt register for ABB module | 15 | - "int-address" - contains address of interrupt register for ABB module |
12 | (also see Optional properties) | 16 | (also see Optional properties) |
13 | - #address-cell: should be 0 | 17 | - #address-cell: should be 0 |