[PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-11-27 Thread Georgi Djakov
node according to the requested data flow path, physical links and constraints. The topology could be complicated and multi-tiered and is SoC specific. Signed-off-by: Georgi Djakov Reviewed-by: Evan Green --- Documentation/interconnect/interconnect.rst | 94 drivers/Kconfig

[PATCH v10 3/7] interconnect: Allow endpoints translation via DT

2018-11-27 Thread Georgi Djakov
consumer drivers, introduce a translation function to help us get the board specific interconnect data from device-tree. Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 156 ++ include/linux/interconnect-provider.h | 17 +++ include/linux

[PATCH v10 5/7] interconnect: qcom: Add sdm845 interconnect provider driver

2018-11-27 Thread Georgi Djakov
From: David Dai Introduce Qualcomm SDM845 specific provider driver using the interconnect framework. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom,sdm845.txt | 24 + drivers/interconnect/Kconfig | 5 + drivers/interconnect

[PATCH v10 6/7] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-11-27 Thread Georgi Djakov
From: David Dai Add RSC (Resource State Coordinator) provider dictating network-on-chip interconnect bus performance found on SDM845-based platforms. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 + 1 file changed, 5 insertions

Re: [PATCH v9 2/8] dt-bindings: Introduce interconnect binding

2018-11-27 Thread Georgi Djakov
Hi Rob, On 9/26/18 17:42, Georgi Djakov wrote: Hi Rob, Thanks for the comments! On 09/25/2018 09:02 PM, Rob Herring wrote: On Fri, Aug 31, 2018 at 05:01:45PM +0300, Georgi Djakov wrote: This binding is intended to represent the relations between the interconnect controllers (providers) and

Re: [PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-11-28 Thread Georgi Djakov
Hi Joe, On 11/27/18 20:35, Joe Perches wrote: On Tue, 2018-11-27 at 20:03 +0200, Georgi Djakov wrote: This patch introduces a new API to get requirements and configure the interconnect buses across the entire chipset to fit with the current demand. trivial notes: diff --git a/drivers

Re: [PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:38, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov > wrote: >> >> This patch introduces a new API to get requirements and configure the >> interconnect buses across the entire chipset to fit with the current >> demand. >

Re: [PATCH v10 3/7] interconnect: Allow endpoints translation via DT

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:38, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> Currently we support only platform data for specifying the interconnect >> endpoints. As now the endpoints are hard-coded into the consumer driver >> this

Re: [PATCH v10 6/7] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:39, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> From: David Dai >> >> Add RSC (Resource State Coordinator) provider >> dictating network-on-chip interconnect bus performance >> found on S

Re: [PATCH v10 5/7] interconnect: qcom: Add sdm845 interconnect provider driver

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:39, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> From: David Dai >> >> Introduce Qualcomm SDM845 specific provider driver using the >> interconnect framework. >> >> Signed-of

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-07 Thread Georgi Djakov
Hi Greg and Evan, On 12/6/18 16:55, Greg KH wrote: > On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: >> On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov >> wrote: >>> >>> Modern SoCs have multiple processors and various dedicated cores (video, >

Re: [PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-12-07 Thread Georgi Djakov
Hi Rob, On 12/5/18 18:16, Rob Herring wrote: > On Tue, Nov 27, 2018 at 12:03 PM Georgi Djakov > wrote: >> >> This patch introduces a new API to get requirements and configure the >> interconnect buses across the entire chipset to fit with the current >> demand. >

[PATCH v11 0/8] Introduce on-chip interconnect API

2018-12-07 Thread Georgi Djakov
struct interconnect_path to use array instead of linked list. David Dai (2): interconnect: qcom: Add sdm845 interconnect provider driver arm64: dts: sdm845: Add interconnect provider DT nodes Georgi Djakov (6): interconnect: Add generic on-chip interconnect API dt-bindings: Introduce int

[PATCH v11 4/8] interconnect: Add debugfs support

2018-12-07 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 71 + 1 file changed, 71 insertions(+) diff --git a/drivers

[PATCH v11 7/8] MAINTAINERS: add a maintainer for the interconnect API

2018-12-07 Thread Georgi Djakov
Add myself as the maintainer of the interconnect API. Signed-off-by: Georgi Djakov --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 380e43f585d3..4f426863ff3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7694,6 +7694,16 @@ L

[PATCH v11 5/8] interconnect: qcom: Add sdm845 interconnect provider driver

2018-12-07 Thread Georgi Djakov
From: David Dai Introduce Qualcomm SDM845 specific provider driver using the interconnect framework. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom,sdm845.txt | 24 + drivers/interconnect/Kconfig | 5 + drivers/interconnect

[PATCH v11 1/8] interconnect: Add generic on-chip interconnect API

2018-12-07 Thread Georgi Djakov
bandwidth that satisfies all bandwidth requests that cross through that node. The topology could be complicated and multi-tiered and is SoC specific. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- Documentation/interconnect/interconnect.rst | 94 drivers/Kconfig

[PATCH v11 2/8] dt-bindings: Introduce interconnect binding

2018-12-07 Thread Georgi Djakov
This binding is intended to represent the relations between the interconnect controllers (providers) and consumer device nodes. It will allow creating links between consumers and interconnect paths (exposed by interconnect providers). Reviewed-by: Evan Green Signed-off-by: Georgi Djakov

[PATCH v11 8/8] interconnect: sdm845: Fix build failure after cmd_db API change

2018-12-07 Thread Georgi Djakov
Recently the cmd_db_read_aux_data() function was changed to avoid using memcpy and return a pointer instead. Update the code to the new API and fix the build failure. Fixes: ed3cafa79ea7 ("soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()") Signed-off-by: Georgi Djakov --

[PATCH v11 6/8] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-12-07 Thread Georgi Djakov
From: David Dai Add RSC (Resource State Coordinator) provider dictating network-on-chip interconnect bus performance found on SDM845-based platforms. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 + 1 file changed, 5 insertions

[PATCH v11 3/8] interconnect: Allow endpoints translation via DT

2018-12-07 Thread Georgi Djakov
consumer drivers, introduce a translation function to help us get the board specific interconnect data from device-tree. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 149 ++ include/linux/interconnect-provider.h | 17

Re: [PATCH v11 8/8] interconnect: sdm845: Fix build failure after cmd_db API change

2018-12-07 Thread Georgi Djakov
Hi Quentin, On 12/7/18 18:27, Quentin Perret wrote: > Hi Georgi, > > On Friday 07 Dec 2018 at 17:29:17 (+0200), Georgi Djakov wrote: >> Recently the cmd_db_read_aux_data() function was changed to avoid using >> memcpy and return a pointer instead. Update the code to the n

Re: [PATCH v11 5/8] interconnect: qcom: Add sdm845 interconnect provider driver

2018-12-07 Thread Georgi Djakov
Hi Matthias, Thanks for looking into this. On 8.12.18 1:30, Matthias Kaehlcke wrote: > Hi Georgi, > > not a full review, only one thing I just stumbled across: > > On Fri, Dec 07, 2018 at 05:29:14PM +0200, Georgi Djakov wrote: >> From: David Dai >> >> I

[PATCH v12 3/7] interconnect: Allow endpoints translation via DT

2018-12-08 Thread Georgi Djakov
consumer drivers, introduce a translation function to help us get the board specific interconnect data from device-tree. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 149 ++ include/linux/interconnect-provider.h | 17

[PATCH v12 0/7] Introduce on-chip interconnect API

2018-12-08 Thread Georgi Djakov
David Dai (2): interconnect: qcom: Add sdm845 interconnect provider driver arm64: dts: sdm845: Add interconnect provider DT nodes Georgi Djakov (5): interconnect: Add generic on-chip interconnect API dt-bindings: Introduce interconnect binding interconnect: Allow endpoints translation via DT

[PATCH v12 5/7] interconnect: qcom: Add sdm845 interconnect provider driver

2018-12-08 Thread Georgi Djakov
From: David Dai Introduce Qualcomm SDM845 specific provider driver using the interconnect framework. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom,sdm845.txt | 24 + drivers/interconnect/Kconfig | 5 + drivers/interconnect

[PATCH v12 6/7] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-12-08 Thread Georgi Djakov
From: David Dai Add RSC (Resource State Coordinator) provider dictating network-on-chip interconnect bus performance found on SDM845-based platforms. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 + 1 file changed, 5 insertions

[PATCH v12 4/7] interconnect: Add debugfs support

2018-12-08 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 71 + 1 file changed, 71 insertions(+) diff --git a/drivers

[PATCH v12 7/7] MAINTAINERS: add a maintainer for the interconnect API

2018-12-08 Thread Georgi Djakov
Add myself as the maintainer of the interconnect API. Signed-off-by: Georgi Djakov --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 380e43f585d3..4f426863ff3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7694,6 +7694,16 @@ L

[PATCH v12 1/7] interconnect: Add generic on-chip interconnect API

2018-12-08 Thread Georgi Djakov
bandwidth that satisfies all bandwidth requests that cross through that node. The topology could be complicated and multi-tiered and is SoC specific. Reviewed-by: Evan Green Signed-off-by: Georgi Djakov --- Documentation/interconnect/interconnect.rst | 94 drivers/Kconfig

[PATCH v12 2/7] dt-bindings: Introduce interconnect binding

2018-12-08 Thread Georgi Djakov
This binding is intended to represent the relations between interconnect controllers (providers) and consumer device nodes. It will allow creating links between consumers and interconnect paths (exposed by interconnect providers). Reviewed-by: Evan Green Signed-off-by: Georgi Djakov

Re: [PATCH v12 0/7] Introduce on-chip interconnect API

2018-12-08 Thread Georgi Djakov
Hi Olof, On 9.12.18 2:33, Olof Johansson wrote: > Hi Georgi, > > On Sat, Dec 8, 2018 at 9:02 AM Georgi Djakov wrote: >> >> Modern SoCs have multiple processors and various dedicated cores (video, gpu, >> graphics, modem). These cores are talking to each other and ca

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Evan, Thanks for reviewing! On 06/26/2018 11:57 PM, Evan Green wrote: > Hi Georgi. Thanks for the new spin of this. > > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> This patch introduce a new API to get requirements and configure the >> interc

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Matthias, Thanks for reviewing! On 06/27/2018 02:34 AM, Matthias Kaehlcke wrote: > Hi Georgi, > > On Wed, Jun 20, 2018 at 03:11:34PM +0300, Georgi Djakov wrote: >> This patch introduce a new API to get requirements and configure the > > nit: s/introduc

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-07-01 Thread Georgi Djakov
Hi Vincent, On 27.06.18 г. 9:19, Vincent Guittot wrote: > Hi Georgi > > On Wed, 20 Jun 2018 at 14:11, Georgi Djakov wrote: > > [snip] > >> + >> +static struct icc_path *path_allocate(struct icc_node *dst, ssize_t >> num_nodes) >> +{ >> +

Re: [PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-07-01 Thread Georgi Djakov
Hi Evan, On 06/26/2018 11:47 PM, Evan Green wrote: > Hi Georgi, > > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> On some Qualcomm SoCs, there is a remote processor, which controls some of >> the Network-On-Chip interconnect resources. Other

Re: [PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-07-01 Thread Georgi Djakov
Hi Matthias, On 06/27/2018 03:55 AM, Matthias Kaehlcke wrote: > On Wed, Jun 20, 2018 at 03:11:37PM +0300, Georgi Djakov wrote: >> On some Qualcomm SoCs, there is a remote processor, which controls some of >> the Network-On-Chip interconnect resources. Other CPUs express th

Re: [PATCH v5 6/8] interconnect: qcom: Add msm8916 interconnect provider driver

2018-07-01 Thread Georgi Djakov
Hi Evan, On 06/26/2018 11:48 PM, Evan Green wrote: > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> Add driver for the Qualcomm interconnect buses found in msm8916 based >> platforms. >> [..] >> --- /dev/null >> +++ b/drivers/int

[PATCH v6 8/8] interconnect: Allow endpoints translation via DT

2018-07-09 Thread Georgi Djakov
consumer drivers, introduce a translation function to help us get the board specific interconnect data from device-tree. Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 62 include/linux/interconnect.h | 7 2 files changed, 69 insertions

[PATCH v6 5/8] dt-bindings: interconnect: Document qcom,msm8916 NoC bindings

2018-07-09 Thread Georgi Djakov
Document the device-tree bindings Network-On-Chip interconnect driver for Qualcomm msm8916 platforms. Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom-msm8916.txt| 39 ++ include/dt-bindings/interconnect/qcom.h | 350 ++ 2 files changed, 389 insertions

[PATCH v6 7/8] dt-bindings: Introduce interconnect consumers bindings

2018-07-09 Thread Georgi Djakov
. Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt| 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt index 6e2b2971b094

[PATCH v6 6/8] interconnect: qcom: Add msm8916 interconnect provider driver

2018-07-09 Thread Georgi Djakov
Add driver for the Qualcomm interconnect buses found in msm8916 based platforms. Signed-off-by: Georgi Djakov --- drivers/interconnect/Kconfig| 5 + drivers/interconnect/Makefile | 1 + drivers/interconnect/qcom/Kconfig | 10 + drivers/interconnect/qcom/Makefile | 2

[PATCH v6 1/8] interconnect: Add generic on-chip interconnect API

2018-07-09 Thread Georgi Djakov
node according to the requested data flow path, physical links and constraints. The topology could be complicated and multi-tiered and is SoC specific. Signed-off-by: Georgi Djakov --- Documentation/interconnect/interconnect.rst | 96 drivers/Kconfig | 2

[PATCH v6 4/8] interconnect: qcom: Add RPM communication

2018-07-09 Thread Georgi Djakov
On some Qualcomm SoCs, there is a remote processor, which controls some of the Network-On-Chip interconnect resources. Other CPUs express their needs by communicating with this processor. Add a driver to handle communication with this remote processor. Signed-off-by: Georgi Djakov

[PATCH v6 3/8] interconnect: Add debugfs support

2018-07-09 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 78 + 1 file changed, 78 insertions(+) diff --git a/drivers/interconnect/core.c b/drivers

[PATCH v6 0/8] Introduce on-chip interconnect API

2018-07-09 Thread Georgi Djakov
arations of some structs. * Now passing prev/next nodes to the vendor driver. * Properly remove requests on _put(). * Added refcounting. * Updated documentation. * Changed struct interconnect_path to use array instead of linked list. Georgi Djakov (8): interconnect: Add generic on-chip in

[PATCH v6 2/8] dt-bindings: Introduce interconnect provider bindings

2018-07-09 Thread Georgi Djakov
This binding is intended to represent the interconnect hardware present in some of the modern SoCs. Currently it consists only of a binding for the interconnect hardware devices (provider). Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt| 33

[PATCH v5 6/8] interconnect: qcom: Add msm8916 interconnect provider driver

2018-06-20 Thread Georgi Djakov
Add driver for the Qualcomm interconnect buses found in msm8916 based platforms. Signed-off-by: Georgi Djakov --- drivers/interconnect/Kconfig| 5 + drivers/interconnect/Makefile | 1 + drivers/interconnect/qcom/Kconfig | 11 + drivers/interconnect/qcom/Makefile | 2

[PATCH v5 2/8] dt-bindings: Introduce interconnect provider bindings

2018-06-20 Thread Georgi Djakov
This binding is intended to represent the interconnect hardware present in some of the modern SoCs. Currently it consists only of a binding for the interconnect hardware devices (provider). Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt| 33

[PATCH v5 5/8] dt-bindings: interconnect: Document qcom,msm8916 NoC bindings

2018-06-20 Thread Georgi Djakov
Document the device-tree bindings Network-On-Chip interconnect driver for Qualcomm msm8916 platforms. Signed-off-by: Georgi Djakov --- .../bindings/interconnect/qcom-msm8916.txt| 39 ++ include/dt-bindings/interconnect/qcom.h | 350 ++ 2 files changed, 389 insertions

[PATCH v5 8/8] interconnect: Allow endpoints translation via DT

2018-06-20 Thread Georgi Djakov
consumer drivers, introduce a translation function to help us get the board specific interconnect data from device-tree. Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 62 include/linux/interconnect.h | 7 2 files changed, 69 insertions

[PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-06-20 Thread Georgi Djakov
On some Qualcomm SoCs, there is a remote processor, which controls some of the Network-On-Chip interconnect resources. Other CPUs express their needs by communicating with this processor. Add a driver to handle comminication with this remote processor. Signed-off-by: Georgi Djakov

[PATCH v5 0/8] Introduce on-chip interconnect API

2018-06-20 Thread Georgi Djakov
lic declarations of some structs. * Now passing prev/next nodes to the vendor driver. * Properly remove requests on _put(). * Added refcounting. * Updated documentation. * Changed struct interconnect_path to use array instead of linked list. Georgi Djakov (8): interconnect: Add generic on-chip in

[PATCH v5 7/8] dt-bindings: Introduce interconnect consumers bindings

2018-06-20 Thread Georgi Djakov
. Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt| 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt index 6e2b2971b094

[PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-06-20 Thread Georgi Djakov
according to the requested data flow path, physical links and constraints. The topology could be complicated and multi-tiered and is SoC specific. Signed-off-by: Georgi Djakov --- Documentation/interconnect/interconnect.rst | 96 drivers/Kconfig | 2 + drivers

[PATCH v5 3/8] interconnect: Add debugfs support

2018-06-20 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Signed-off-by: Georgi Djakov --- drivers/interconnect/core.c | 78 + 1 file changed, 78 insertions(+) diff --git a/drivers/interconnect/core.c b/drivers

[PATCH] mmc: sdhci-msm: Remove NO_CARD_NO_RESET quirk

2018-05-30 Thread Georgi Djakov
Suggested-by: Vijay Viswanath Signed-off-by: Georgi Djakov --- This can go for v4.18, as it's not a critical fix. Tested on db410c and db820c. --- drivers/mmc/host/sdhci-msm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c ind

Re: [PATCH v2 4/4] mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq

2018-05-30 Thread Georgi Djakov
Hi Vijay, On 05/30/2018 10:11 AM, Vijay Viswanath wrote: > Hi Georgi, > > Thanks for testing the patch on 8096 and pointing out this issue. > The issue is coming because, when card is removed, the HOST_CONTROL2 > register is retaining the 1.8V Signalling enable bit till SDHCI reset > happens afte

Re: [PATCH v3 2/3] drm/msm/dpu: Integrate interconnect API in MDSS

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where th

Re: [PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes in

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-17 Thread Georgi Djakov
Hi Greg, On 12/11/18 08:58, Greg Kroah-Hartman wrote: > On Mon, Dec 10, 2018 at 04:50:00PM +0200, Georgi Djakov wrote: >> On 12/10/18 13:00, Rafael J. Wysocki wrote: >>> On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov >>> wrote: >>>> >>>> Hi Raf

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Georgi Djakov
Hi Rafael, On 12/10/18 11:04, Rafael J. Wysocki wrote: > On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: >> >> On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: >>> On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov >>> wrote: >>>> >>

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Georgi Djakov
On 12/10/18 13:00, Rafael J. Wysocki wrote: > On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov > wrote: >> >> Hi Rafael, >> >> On 12/10/18 11:04, Rafael J. Wysocki wrote: >>> On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: >>>> >>>

Re: [RFC RESEND PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

2019-01-07 Thread Georgi Djakov
Hi Henry, On 1/7/19 13:04, Henry Chen wrote: > On Thu, 2019-01-03 at 14:53 -0800, Stephen Boyd wrote: >> Quoting Henry Chen (2019-01-02 06:09:51) >>> The patchsets add support for MediaTek hardware module named DVFSRC >>> (dynamic voltage and frequency scaling resource collector). The DVFSRC is >>

[RFC] mmc: host: sdhci-msm: Use the interconnect API

2018-10-11 Thread Georgi Djakov
used for data transfers by the SD host controller and report the needed bandwidth based on the clock rate, bus width and mode. Signed-off-by: Georgi Djakov --- This depends on the interconnect API: https://lkml.org/lkml/2018/8/31/444 TODO: Use macros for converting and rounding to icc units

Re: [PATCH] interconnect: Fix a GCC compiler warning

2018-09-17 Thread Georgi Djakov
Hi Zhong and Greg, On 09/17/2018 02:24 AM, Greg KH wrote: > On Mon, Sep 17, 2018 at 05:19:18PM +0800, zhong jiang wrote: >> On 2018/9/17 16:59, Greg KH wrote: >>> On Mon, Sep 17, 2018 at 04:53:31PM +0800, zhong jiang wrote: +to Greg and Andrew. On 2018/9/16 22:31, zhong jiang wrote:

[PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-19 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov --- Tested on msm8916-mtp board. drivers/mmc/host/sdhci-msm.c | 29

Re: [PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-19 Thread Georgi Djakov
Hi Bjorn, Thanks for taking a look. On 03/19/2015 05:36 PM, Bjorn Andersson wrote: > On Thu, Mar 19, 2015 at 5:55 AM, Georgi Djakov > wrote: > [..] > >> @@ -516,6 +527,22 @@ static int sdhci_msm_probe(struct platform_device *pdev) >> host

Re: [PATCH] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-20 Thread Georgi Djakov
On 03/19/2015 07:55 PM, Bjorn Andersson wrote: > On Thu, Mar 19, 2015 at 9:21 AM, Georgi Djakov > wrote: > [..] >>> Does the 8916 board you have work without bumping the >>> regulator_set_load() (previously regulator_set_optimum_mode())? None >>> of my

[PATCH v3 2/3] clk: qcom: Do some error handling in configure_bank()

2015-03-20 Thread Georgi Djakov
Currently configure_bank() returns void. Add some error checking on the regmap calls and propagate if there is any error. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 62 +--- 1 file changed, 41 insertions(+), 21 deletions(-) diff

[PATCH v3 3/3] clk: qcom: Introduce parent_map tables

2015-03-20 Thread Georgi Djakov
for finding the index of a clock matching the specific PLL configuration. - Update the {set,get}_parent RCG functions use the newly introduced parent_map struct. - Convert all existing drivers to the new parent_map tables. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 13

[PATCH v3 0/3] clk: qcom: Introduce parent_map tables

2015-03-20 Thread Georgi Djakov
using NULL terminated entries. * Moved call to qcom_find_src_index() at the top. Changes since v1: * Squash the last patches to make this bisectable. Georgi Djakov (3): clk: qcom: Fix clk_get_parent function return value clk: qcom: Do some error handling in configure_bank() clk: qcom

[PATCH v3 1/3] clk: qcom: Fix clk_get_parent function return value

2015-03-20 Thread Georgi Djakov
According to the common clock framework API, the clk_get_parent() function should return u8. Currently we are returning negative values on error. Fix this and use the default parent in case of an error. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 26

[PATCH v2] mmc: sdhci-msm: Add support for vendor capabilities registers

2015-03-21 Thread Georgi Djakov
Some versions of this controller do not advertise their 3.0v and 8bit bus-width support capabilities. It is required to explicitly set these capabilities for the specific controller versions. Signed-off-by: Georgi Djakov --- Changes since v1: * Converted to separate read, modify, write

[PATCH] clk: qcom: Fix parent_map translations

2015-04-03 Thread Georgi Djakov
When we introduced the parent_map tables, we missed to update some of the functions where mapping is translated. Fix this. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 13 ++--- drivers/clk/qcom/clk-rcg2.c | 20 +++- 2 files changed, 25 insertions

Re: [PATCH v3 3/3] clk: qcom: Introduce parent_map tables

2015-04-01 Thread Georgi Djakov
On 1.04.15 17:22, Hai Li wrote: > Hi Djakov, > > Georgi Djakov linaro.org> writes: > >> >> In the current parent mapping code, we can get duplicate or > inconsistent >> indexes, which leads to discrepancy between the number of elements in > the >&g

[PATCH v2] clk: qcom: Fix parent_map translations

2015-04-07 Thread Georgi Djakov
When we introduced the parent_map tables, we missed to update some of the functions where mapping is translated. Fix this. Signed-off-by: Georgi Djakov --- Changes since v1: * Pass parent map to _freq_tbl_determine_rate() drivers/clk/qcom/clk-rcg.c | 26 -- drivers

[PATCH 1/2] clk: qcom: Fix MSM8916 venus divider value

2015-04-29 Thread Georgi Djakov
One of the video codec clock frequencies has incorrect divider value. Fix it. Fixes: 3966fab8b6ab "clk: qcom: Add MSM8916 Global Clock Controller support" Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 2/2] clk: qcom: Fix MSM8916 gfx3d_clk_src configuration

2015-04-29 Thread Georgi Djakov
The gfx3d_clk_src parents configuration is incorrect. Fix it. Fixes: 3966fab8b6ab "clk: qcom: Add MSM8916 Global Clock Controller support" Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cl

[PATCH 0/5] Add support for A53 CPU clock

2015-06-12 Thread Georgi Djakov
This patchset adds support for the A53 CPU clock to allow CPU frequency scaling. It is used on platforms like Qualcomm's msm8916. Georgi Djakov (4): clk: qcom: Add support for SR2 PLLs clk: qcom: Add support for regmap mux-div clocks clk: qcom: Add A53 clock driver arm64: dts:

[PATCH 2/5] clk: Add safe switch hook

2015-06-12 Thread Georgi Djakov
orgi: updated patch to support safe frequency] Signed-off-by: Georgi Djakov --- drivers/clk/clk.c| 76 +- include/linux/clk-provider.h |2 ++ 2 files changed, 70 insertions(+), 8 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk

[PATCH 3/5] clk: qcom: Add support for regmap mux-div clocks

2015-06-12 Thread Georgi Djakov
Add support for hardware that support switching both parent clocks and the divider at the same time. This avoids generating intermediate frequencies from either the old parent clock and new divider or new parent clock and old divider combinations. Signed-off-by: Georgi Djakov --- drivers/clk

[PATCH 4/5] clk: qcom: Add A53 clock driver

2015-06-12 Thread Georgi Djakov
Add a driver for the A53 subsystem PLL, so that we can provide higher frequency clocks for use by the system. Signed-off-by: Georgi Djakov --- Documentation/devicetree/bindings/clock/qcom,a53cc | 22 +++ drivers/clk/qcom/Kconfig |8 + drivers/clk/qcom/Makefile

[PATCH 5/5] arm64: dts: qcom: msm8916: Add A53 DT node

2015-06-12 Thread Georgi Djakov
Add nodes for the A53 clocks and apcs, so that the driver can probe and register the clocks. Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts

[PATCH 1/5] clk: qcom: Add support for SR2 PLLs

2015-06-12 Thread Georgi Djakov
Add support for SR2 type pll operations. SR2 is optimized for Time Interval Error (TIE) or absolute jitter. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-pll.c | 75 drivers/clk/qcom/clk-pll.h |1 + 2 files changed, 76 insertions

Re: [PATCH 4/5] clk: qcom: Add A53 clock driver

2015-06-15 Thread Georgi Djakov
On 06/15/2015 04:58 PM, Paul Bolle wrote: > On Fri, 2015-06-12 at 11:41 +0300, Georgi Djakov wrote: >> --- /dev/null >> +++ b/drivers/clk/qcom/clk-a53.c > >> +static int __init qcom_a53_init(void) >> +{ >> +return platform_driver_register(&q

[PATCH v2 0/5] Add support for more MSM8916 clocks

2015-06-05 Thread Georgi Djakov
This patchset adds support for the iommu, gpu and audio clocks on the MSM8916 platforms. Changes since v1: * Added a set of ops for read-only RCGs and RCGs with shared branches. Patchset based on clk-next. Georgi Djakov (5): clk: qcom: Add support for read-only rcg2 ops clk: qcom: Add

[PATCH v2 3/5] clk: qcom: Add support for RCGs with shared branches

2015-06-05 Thread Georgi Djakov
Some root clock generators may have child branches that are controlled by different CPUs. These RCGs require special operations. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.h |1 + drivers/clk/qcom/clk-rcg2.c | 64 +++ 2 files changed

[PATCH v2 2/5] clk: qcom: Add MSM8916 iommu clocks

2015-06-05 Thread Georgi Djakov
Add support for the msm8916 TCU clocks that are needed for IOMMU. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 48 ++ include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++ 2 files changed, 51 insertions(+) diff --git a/drivers/clk

[PATCH v2 4/5] clk: qcom: Add MSM8916 gpu clocks

2015-06-05 Thread Georgi Djakov
Add support for the msm8916 bimc clocks that are needed for GPU. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 59 ++ include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++ 2 files changed, 62 insertions(+) diff --git a/drivers/clk

[PATCH v2 5/5] clk: qcom: Add MSM8916 audio clocks

2015-06-05 Thread Georgi Djakov
Add support for the msm8916 audio clocks. This includes core bus, low-power audio and codec clocks. They are required for audio playback. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 388 ++ include/dt-bindings/clock/qcom,gcc-msm8916.h

[PATCH v2 1/5] clk: qcom: Add support for read-only rcg2 ops

2015-06-05 Thread Georgi Djakov
Some root clock generators can be controlled by other processors. In this case modifying them is not recommended. By using the read-only operations, the child clocks will be able to get information about their parent - like rate etc. Suggested-by: Stephen Boyd Signed-off-by: Georgi Djakov

Re: [PATCH v2 4/4] mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq

2018-05-29 Thread Georgi Djakov
Hello Vijay, On 09/27/2017 08:34 AM, Vijay Viswanath wrote: > Register writes which change voltage of IO lines or turn the IO bus > on/off require controller to be ready before progressing further. When > the controller is ready, it will generate a power irq which needs to be > handled. The thread

Re: [PATCH v4 1/7] interconnect: Add generic on-chip interconnect API

2018-06-06 Thread Georgi Djakov
Hi Evan, Thanks for the detailed review! On 12.05.18 г. 0:30, Evan Green wrote: > Hi Georgi, > > On Fri, Mar 9, 2018 at 1:12 PM Georgi Djakov > wrote: > >> This patch introduce a new API to get requirements and configure the >> interconnect buses across the ent

[PATCH v4 4/7] interconnect: qcom: Add RPM communication

2018-06-06 Thread Georgi Djakov
Hi Evan, On 12.05.18 г. 0:30, Evan Green wrote: > On Fri, Mar 9, 2018 at 1:11 PM Georgi Djakov > wrote: > >> On some Qualcomm SoCs, there is a remote processor, which controls some of >> the Network-On-Chip interconnect resources. Other CPUs express their needs >>

Re: [PATCH v4 5/7] interconnect: qcom: Add msm8916 interconnect provider driver

2018-06-06 Thread Georgi Djakov
Hi Evan, On 12.05.18 г. 0:29, Evan Green wrote: > Hi Georgi, > > On Fri, Mar 9, 2018 at 1:11 PM Georgi Djakov > wrote: > >> Add driver for the Qualcomm interconnect buses found in msm8916 based >> platforms. > >> Signed-off-by: Georgi Djakov >&

Re: [PATCH v4 1/7] interconnect: Add generic on-chip interconnect API

2018-06-06 Thread Georgi Djakov
Hi Amit, On 25.05.18 г. 11:26, Amit Kucheria wrote: > On Fri, Mar 9, 2018 at 11:09 PM, Georgi Djakov > wrote: >> This patch introduce a new API to get requirements and configure the >> interconnect buses across the entire chipset to fit with the current >> demand.

Re: [PATCH v4 5/7] interconnect: qcom: Add msm8916 interconnect provider driver

2018-06-06 Thread Georgi Djakov
Hi Amit, On 25.05.18 г. 11:27, Amit Kucheria wrote: > On Fri, Mar 9, 2018 at 11:09 PM, Georgi Djakov > wrote: >> Add driver for the Qualcomm interconnect buses found in msm8916 based >> platforms. >> >> Signed-off-by: Georgi Djakov >> --- >>

Re: [PATCH v4 2/7] dt-bindings: Introduce interconnect provider bindings

2018-06-06 Thread Georgi Djakov
Hi Neil, Apologies for the delayed response. On 12.04.18 г. 16:15, Neil Armstrong wrote: > On 09/03/2018 22:09, Georgi Djakov wrote: >> This binding is intended to represent the interconnect hardware present >> in some of the modern SoCs. Currently it consists only of a bin

Re: [PATCH v4 1/7] interconnect: Add generic on-chip interconnect API

2018-06-06 Thread Georgi Djakov
Hi Evan, On 06/06/2018 05:59 PM, Georgi Djakov wrote: >>> + >>> +/** >>> + * icc_node_create() - create a node >>> + * @id: node id >>> + * >>> + * Return: icc_node pointer on success, or ERR_PTR() on error >>> + */ >>> +str

<    1   2   3   4   5   6   7   8   9   10   >