[PATCH v2 0/3] Add device tree support for AM33XX regulators

AnilKumar Ch anilkumar at ti.com
Tue Jul 10 21:09:41 EST 2012


Add device tree support for regulators present on AM33XX family
of devices like AM335X-EVM and AM335X-Bone. TPS65217 regulator
is present on AM335X-Bone and TPS65910 on AM335X-EVM.

First patch adds the device tree support to tps65217 regulator
so that it will take the parameters from tps65217.dtsi file and
convert to tps65217 regulator parameters.

Second patch adds tps65910 device tree data by adding separate
DT tps65910.dtsi file, which contains the generic tps65910 PMIC
DT data.

Third patch adds tps65217 device tree data by adding separate
tps65910.dtsi file, which contains the generic tps65910 PMIC
DT data.

This patch series was tested by adding the I2C slave address to
corresponding .dts files.

Changes form V1:
        - Add regulator-compatible data to dt files.
        - Separated device tree data addition to am335x-evm/bone dts
          from the regulator patches

AnilKumar Ch (3):
  regulator: tps65217: Add device tree support
  ARM: OMAP2+: AM33XX: Add tps65910 device tree data
  ARM: OMAP2+: AM33XX: Add tps65217 device tree data

 .../devicetree/bindings/regulator/tps65217.txt     |   91 +++++++++++++++
 arch/arm/boot/dts/tps65217.dtsi                    |   84 +++++++++++++
 arch/arm/boot/dts/tps65910.dtsi                    |  123 ++++++++++++++++++++
 drivers/mfd/tps65217.c                             |   67 ++++++++++-
 drivers/regulator/tps65217-regulator.c             |    1 +
 include/linux/mfd/tps65217.h                       |    3 +-
 6 files changed, 366 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/tps65217.txt
 create mode 100644 arch/arm/boot/dts/tps65217.dtsi
 create mode 100644 arch/arm/boot/dts/tps65910.dtsi

-- 
1.7.9.5



More information about the devicetree-discuss mailing list