Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-10 Thread Stephen Boyd
Quoting Raju P L S S S N (2019-01-10 08:58:41) > > > On 1/9/2019 11:16 PM, Stephen Boyd wrote: > > That could be done by making a PDC clockevent that has some DT binding > > of a property pointing to an MMIO timer frame and then reimplementing > > the MMIO timer code in the PDC driver on top of

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-10 Thread Raju P L S S S N
On 1/9/2019 11:16 PM, Stephen Boyd wrote: Quoting Raju P L S S S N (2019-01-08 21:34:32) On 1/7/2019 9:47 PM, Raju P L S S S N wrote: On 1/4/2019 2:49 AM, Stephen Boyd wrote: I'd hope that each RSC's PDC timer wakes up the owner of the RSC so that we can use the sysreg based timers

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-09 Thread Stephen Boyd
Quoting Raju P L S S S N (2019-01-08 21:34:32) > > > On 1/7/2019 9:47 PM, Raju P L S S S N wrote: > > > > > > On 1/4/2019 2:49 AM, Stephen Boyd wrote: > >> > >> I'd hope that each RSC's PDC timer wakes up the owner of the RSC so that > >> we can use the sysreg based timers and ignore the MMIO

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-08 Thread Raju P L S S S N
On 1/7/2019 9:47 PM, Raju P L S S S N wrote: On 1/4/2019 2:49 AM, Stephen Boyd wrote: Quoting Raju P L S S S N (2019-01-03 04:22:58) On 12/29/2018 3:08 AM, Stephen Boyd wrote: Quoting Raju P L S S S N (2018-12-26 01:44:43) There are two RSC devices in SoC one for application processor

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-07 Thread Raju P L S S S N
On 1/4/2019 2:49 AM, Stephen Boyd wrote: Quoting Raju P L S S S N (2019-01-03 04:22:58) On 12/29/2018 3:08 AM, Stephen Boyd wrote: Quoting Raju P L S S S N (2018-12-26 01:44:43) There are two RSC devices in SoC one for application processor subsystem & other display subsystem. Both RSC

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-03 Thread Stephen Boyd
Quoting Raju P L S S S N (2019-01-03 04:22:58) > > On 12/29/2018 3:08 AM, Stephen Boyd wrote: > > Quoting Raju P L S S S N (2018-12-26 01:44:43) > >> > >> There are two RSC devices in SoC one for application processor subsystem > >> & other display subsystem. Both RSC contain registers for PDC

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-03 Thread Raju P L S S S N
On 12/29/2018 3:08 AM, Stephen Boyd wrote: Quoting Raju P L S S S N (2018-12-26 01:44:43) On 12/22/2018 1:09 PM, Stephen Boyd wrote: +If an RSC needs to program next wake-up in the PDC timer, it must specify the +binding as child node with the following properties: + +Properties: +-

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2018-12-28 Thread Stephen Boyd
Quoting Raju P L S S S N (2018-12-26 01:44:43) > > > On 12/22/2018 1:09 PM, Stephen Boyd wrote: > >> +If an RSC needs to program next wake-up in the PDC timer, it must specify > >> the > >> +binding as child node with the following properties: > >> + > >> +Properties: > >> +- compatible: > >> +

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2018-12-26 Thread Raju P L S S S N
On 12/22/2018 1:09 PM, Stephen Boyd wrote: +If an RSC needs to program next wake-up in the PDC timer, it must specify the +binding as child node with the following properties: + +Properties: +- compatible: +Usage: required + Value type: + Definition: must be "qcom,pdc-timer".

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2018-12-22 Thread Stephen Boyd
Quoting Raju P.L.S.S.S.N (2018-12-21 03:59:44) > diff --git a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt > b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt > index 9b86d1eff219..f24afb45d0d9 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt > +++

[PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2018-12-21 Thread Raju P.L.S.S.S.N
Add device binding documentation for Qualcomm Technology Inc's PDC timer. The driver is used for programming next wake-up timer value when processor enters SoC level deepest low power state. Cc: devicet...@vger.kernel.org Signed-off-by: Raju P.L.S.S.S.N ---