From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Zhong Subject: [PATCH 0/2] regulator: get voltage & duty table from dts for st-pwm Date: Wed, 17 Sep 2014 21:07:58 +0800 Message-ID: <1410959280-29662-1-git-send-email-zyw@rock-chips.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org Cc: huangtao-TNX95d0MmH7DzftRWevZcw@public.gmane.org, cf-TNX95d0MmH7DzftRWevZcw@public.gmane.org, zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org, Chris Zhong , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Liam Girdwood , Mark Brown , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Kumar Gala , Ian Campbell , Rob Herring , Pawel Moll , Mark Rutland List-Id: devicetree@vger.kernel.org get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Tested on a rk3288 sdk board as logic voltage regulator. Chris Zhong (2): regulator: st-pwm: get voltage and duty table from dts dt-bindings: add devicetree bindings for st-pwm regulator .../devicetree/bindings/regulator/st-pwm.txt | 35 +++++++++ drivers/regulator/Kconfig | 1 - drivers/regulator/st-pwm.c | 80 ++++++++++---------- 3 files changed, 77 insertions(+), 39 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/st-pwm.txt -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html