* [PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding [not found] <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org> @ 2015-07-08 12:26 ` Vaibhav Hiremath [not found] ` <1436358392-15449-1-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 1 sibling, 0 replies; 3+ messages in thread From: Vaibhav Hiremath @ 2015-07-08 12:26 UTC (permalink / raw) To: linux-arm-kernel Cc: Vaibhav Hiremath, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Krzysztof Kozlowski, Lee Jones, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> --- Documentation/devicetree/bindings/mfd/88pm800.txt | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/88pm800.txt diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt new file mode 100644 index 0000000..dec842f --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -0,0 +1,53 @@ +* Marvell 88PM80x Power Management IC + +Required parent device properties: +- compatible : "marvell,88pm800", "marvell,88pm805", "marvell,88pm860" +- reg : the I2C slave address for the 88pm80x family chip +- interrupts : IRQ line for the 88pm80x family chip +- interrupt-controller : describes the 88pm80x family chip as an interrupt + controller +- #interrupt-cells : should be 1. + The cell is the 88pm80x local IRQ number + +88pm80x family of devices consists of varied group of sub-devices: + +Device Supply Names Description +------ ------------ ----------- +88pm80x-onkey : : On key +88pm80x-rtc : : RTC +88pm80x-regulator : : Regulators + +Example: + + pmic: 88pm800@30 { + compatible = "marvell,88pm800"; + reg = <0x30>; + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <1>; + + regulators { + compatible = "marvell,88pm80x-regulator"; + + buck1a: BUCK1A { + regulator-name = "BUCK1A"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + + rtc { + compatible = "marvell,88pm80x-rtc"; + }; + }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1436358392-15449-1-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH-v6 0/6] mfd: 88pm800: Add Device tree support [not found] ` <1436358392-15449-1-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-07-13 18:57 ` Vaibhav Hiremath [not found] ` <55A40A32.8060901-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Vaibhav Hiremath @ 2015-07-13 18:57 UTC (permalink / raw) To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, sameo-VuQAYsv1563Yd54FQh9/CA, lee.jones-QSEj5FYQhm4dnm+yROfE0A, linux-kernel-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ, devicetree-u79uwXL29TY76Z2rM5mHXA On Wednesday 08 July 2015 05:56 PM, Vaibhav Hiremath wrote: > This patch-series adds support for Device tree to 88PM800 mfd driver. > It also sets default configuration of irq clear method if board file > doesn't exist. > > Testing:: > - Boot tested on PXA1928 based platform. > - probe of mfd, rtc and regulator function passing successfully. > - Basic read operations on registers > - irq clear configuration > > V5 => V6 > ======= I hope this will be queued for 4.2 Thanks, Vaibhav > Link to V5: https://lkml.org/lkml/2015/6/29/283 > > - Added new patch to the series PATCH [1/6] > Cleanup patch to remove duplicate dev_err messages > - Added new patch to the series PACTH [3/6] > Cleanup patch to get pdata from 'device' pointer instead of > passing as a parameter. > - Removed irq_clr_mode/irq_mode field from 'struct pm80x_chip' > and use pdata.irq_clr_method to set irq clear method. > - Added acked-by and reviewed-by to respective patches. > > V4 => V5 > ======= > Link to V4: https://lkml.org/lkml/2015/6/25/67 > > - Renamed binding back again to 88pm800, as 'Yi Zhang' already started > submitting 88pm88x, so 88pm8xx won't make sense. Better name would be to > stick with 88pm80x. > - Added new patch to series PATCH 2/4, to remove unwanted protection around > padata > - As suggested by Lee, added macro based implementation for CLEAR_ON_WRITE > and CLEAR_ON_READ. > - and fixed other trivial comments. > > V3 => V4 > ======= > Link to V3: https://lkml.org/lkml/2015/6/24/143 > > - irq clear method is 88PM800 feature, which is not dependent on board or > doesn't require any wiring changes, so DT is not the way. > Hardcoded to "irq clear on write" if board file doesn't exist. > - Updated binding patch (PATCH 3/3) to remove irq-clr-on-wr entry. > - Since PATCH 3/3 changed from original, removed Rob's Acked-by. > > V2 => V3 > ======= > Link to V2: https://www.mail-archive.com/linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg914299.html > > - Replaced deprecated "regulator-compatible" property with "regulator-name". > - Added Rob's Acked-by to [PATCH 3/3] > > V1 => V2 > ======= > Link to V1: http://lkml.iu.edu/hypermail/linux/kernel/1505.3/04386.html > > - Split binding changes from original commit > - Updated binding info as per Rob's suggestion > - Dropped PATCH 4/4, as discussed during review > - Dropped PATCH 3/4, as it is independent RTC code change, > so will submit it separately to ease merging. > - Fixed all other minor comments > > Attempt has been made to push some of the patches to the list sometime > back in 2013. > > Link to previous patch submission: > https://lkml.org/lkml/2013/8/14/86 > > > TODO: > ===== > - init config for 88PM860 device > - Rgulator driver changes to add support for 88PM860 device > > > > Vaibhav Hiremath (6): > mfd: 88pm800: remove duplicate dev_err calls during probe > mfd: 88pm800: Add device tree support > mfd: 88pm800: Get pdata from 'device' rather than passing as a > parameter > mfd: 88pm800: Remove unnecessary protection around pdata > mfd: 88pm800: Set default interrupt clear method > mfd: devicetree: bindings: Add new 88pm800 mfd binding > > Documentation/devicetree/bindings/mfd/88pm800.txt | 53 ++++++++++ > drivers/mfd/88pm800.c | 113 +++++++++++----------- > include/linux/mfd/88pm80x.h | 9 +- > 3 files changed, 118 insertions(+), 57 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mfd/88pm800.txt > -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <55A40A32.8060901-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH-v6 0/6] mfd: 88pm800: Add Device tree support [not found] ` <55A40A32.8060901-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2015-08-24 6:43 ` Vaibhav Hiremath 0 siblings, 0 replies; 3+ messages in thread From: Vaibhav Hiremath @ 2015-08-24 6:43 UTC (permalink / raw) To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, sameo-VuQAYsv1563Yd54FQh9/CA, lee.jones-QSEj5FYQhm4dnm+yROfE0A, linux-kernel-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ, devicetree-u79uwXL29TY76Z2rM5mHXA On Tuesday 14 July 2015 12:27 AM, Vaibhav Hiremath wrote: > > > On Wednesday 08 July 2015 05:56 PM, Vaibhav Hiremath wrote: >> This patch-series adds support for Device tree to 88PM800 mfd driver. >> It also sets default configuration of irq clear method if board file >> doesn't exist. >> >> Testing:: >> - Boot tested on PXA1928 based platform. >> - probe of mfd, rtc and regulator function passing successfully. >> - Basic read operations on registers >> - irq clear configuration >> >> V5 => V6 >> ======= > > I hope this will be queued for 4.2 > Lee, This patch-series is pending since long time, reviewed and acked. Request to queue it up for next merge window. Thanks, Vaibhav -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-24 6:43 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org> 2015-07-08 12:26 ` [PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding Vaibhav Hiremath [not found] ` <1436358392-15449-1-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-07-13 18:57 ` [PATCH-v6 0/6] mfd: 88pm800: Add Device tree support Vaibhav Hiremath [not found] ` <55A40A32.8060901-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2015-08-24 6:43 ` Vaibhav Hiremath
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).