[PATCH v6 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-04-10 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 128 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 22 + .../drm/bridge/cadence

[PATCH v6 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-04-10 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../bindings/display/bridge/cdns,mhdp8546.yaml| 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/cdns

[PATCH v6 0/2] enable HDCP in Cadence MHDP bridge driver

2021-04-10 Thread Parshuram Thombare
without HDCP feature instead of returning error Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns-mhdp8546: Enable HDCP .../display/bridge/cdns,mhdp8546.yaml | 15 +- drivers/gpu/drm/bridge/cadence/Makefile | 2

[PATCH v5 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-19 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 113 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence

[PATCH v5 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-19 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 34 --- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge

[PATCH v5 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-19 Thread Parshuram Thombare
hdcp_config from binding and use DRM HDCP Content Type property to select HDCP version Changes since v3: - Fix kernel test robot warning Changes since v4: - Fix binding issue Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns-mhdp8546

[PATCH v4 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-18 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 113 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence

[PATCH v4 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-18 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 24 +++ 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge

[PATCH v4 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-18 Thread Parshuram Thombare
hdcp_config from binding and use DRM HDCP Content Type property to select HDCP version Changes since v3: - Fix kernel test robot warning Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns-mhdp8546: Enable HDCP .../display/bridge/cdns

[PATCH v3 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-17 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 113 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence

[PATCH v3 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-17 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 24 +++ 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge

[PATCH v3 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-17 Thread Parshuram Thombare
hdcp_config from binding and use DRM HDCP Content Type property to select HDCP version Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns-mhdp8546: Enable HDCP .../display/bridge/cdns,mhdp8546.yaml | 24 +- drivers/gpu/drm/bridge

[PATCH v2 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-03-01 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 105 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence

[PATCH v2 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-01 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. This binding is not used in any upstreamed DTS yet, so changing index of property 'j721e-intg' should not affect anything. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 29

[PATCH v2 0/2] enable HDCP in Cadence MHDP bridge driver

2021-03-01 Thread Parshuram Thombare
This patch series enables HDCP in Cadence MHDP DPI/DP bridge driver. Changes since v1: - Move sapb reg block right after apb reg block - Corresponding changes in binding and example Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns

[PATCH 2/2] drm: bridge: cdns-mhdp8546: Enable HDCP

2021-02-26 Thread Parshuram Thombare
This patch enable HDCP in MHDP driver. Signed-off-by: Parshuram Thombare --- drivers/gpu/drm/bridge/cadence/Makefile | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-core.c | 105 +++- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 21 + .../drm/bridge/cadence/cdns-mhdp8546-hdcp.c

[PATCH 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-02-26 Thread Parshuram Thombare
Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. Signed-off-by: Parshuram Thombare --- .../display/bridge/cdns,mhdp8546.yaml | 20 +-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/cdns

[PATCH 0/2] enable HDCP in Cadence MHDP bridge driver

2021-02-26 Thread Parshuram Thombare
This patch series enables HDCP in Cadence MHDP DPI/DP bridge driver. Parshuram Thombare (2): dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP drm: bridge: cdns-mhdp8546: Enable HDCP .../display/bridge/cdns,mhdp8546.yaml | 20 +- drivers/gpu/drm/bridge/cadence

[PATCH v10 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-11-29 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +++--- 1 files changed, 306 insertions(+), 23 deletions(-) diff --git

[PATCH v10 6/7] i3c: master: sysfs key for acquire bus

2020-11-29 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index c01ba00..beb7495 100644 --- a/drivers

[PATCH v10 5/7] i3c: master: add defslvs processing

2020-11-29 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 ++- include/linux/i3c/master.h |7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/i3c

[PATCH v10 4/7] i3c: master: add mastership handover support

2020-11-29 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 183 +--- include/linux/i3c/master.h |6 ++ 2 files changed, 177 insertions(+), 12 deletions(-) diff --git a/drivers/i3c/master.c b

[PATCH v10 3/7] i3c: master: add i3c_secondary_master_register

2020-11-29 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 +++- include/linux/i3c/master.h |3 + 2 files changed, 156 insertions(+), 1 deletions(-) diff

[PATCH v10 2/7] i3c: master: use i3c_master_register only for main master

2020-11-29 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 78

[PATCH v10 1/7] i3c: master: master initialization flow document

2020-11-29 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst |1 + .../driver-api/i3c/master-initialization-flow.rst | 187 2 files changed, 188

[PATCH v10 0/7] I3C mastership handover support

2020-11-29 Thread Parshuram Thombare
and v2 are: - Reworked devices registration on secondary master side - Reworked mastership event disabling/enabling - Reworked bus locking during mastership takeover process - Added DEFSLVS devices registration during initialization - Fixed style issues Parshuram Thombare (7): i3c: master

[PATCH v9 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-11-29 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +++--- 1 files changed, 306 insertions(+), 23 deletions(-) diff --git

[PATCH v9 6/7] i3c: master: sysfs key for acquire bus

2020-11-29 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index c01ba00..beb7495 100644 --- a/drivers

[PATCH v9 5/7] i3c: master: add defslvs processing

2020-11-29 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 ++- include/linux/i3c/master.h |7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/i3c

[PATCH v9 1/7] i3c: master: master initialization flow document

2020-11-29 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst |1 + .../driver-api/i3c/master-initialization-flow.rst | 187 2 files changed, 188

[PATCH v9 3/7] i3c: master: add i3c_secondary_master_register

2020-11-29 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 +++- include/linux/i3c/master.h |3 + 2 files changed, 156 insertions(+), 1 deletions(-) diff

[PATCH v9 4/7] i3c: master: add mastership handover support

2020-11-29 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 183 +--- include/linux/i3c/master.h |6 ++ 2 files changed, 177 insertions(+), 12 deletions(-) diff --git a/drivers/i3c/master.c b

[PATCH v9 2/7] i3c: master: use i3c_master_register only for main master

2020-11-29 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 78

[RESEND PATCH v9 0/7] I3C mastership handover support

2020-11-29 Thread Parshuram Thombare
mastership event disabling/enabling - Reworked bus locking during mastership takeover process - Added DEFSLVS devices registration during initialization - Fixed style issues Parshuram Thombare (7): i3c: master: master initialization flow document i3c: master: use i3c_master_register only for main

[PATCH v9 2/7] i3c: master: use i3c_master_register only for main master

2020-11-28 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 78

[PATCH v9 4/7] i3c: master: add mastership handover support

2020-11-28 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 183 +--- include/linux/i3c/master.h |6 ++ 2 files changed, 177 insertions(+), 12 deletions(-) diff --git a/drivers/i3c/master.c b

[PATCH v9 1/7] i3c: master: master initialization flow document

2020-11-28 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst |1 + .../driver-api/i3c/master-initialization-flow.rst | 187 2 files changed, 188

[PATCH v9 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-11-28 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +++--- 1 files changed, 306 insertions(+), 23 deletions(-) diff --git

[PATCH v9 6/7] i3c: master: sysfs key for acquire bus

2020-11-28 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index c01ba00..beb7495 100644 --- a/drivers

[PATCH v9 5/7] i3c: master: add defslvs processing

2020-11-28 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 ++- include/linux/i3c/master.h |7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/i3c

[PATCH v9 0/7] I3C mastership handover support

2020-11-28 Thread Parshuram Thombare
mastership event disabling/enabling - Reworked bus locking during mastership takeover process - Added DEFSLVS devices registration during initialization - Fixed style issues Parshuram Thombare (7): i3c: master: master initialization flow document i3c: master: use i3c_master_register only for main

[PATCH v9 3/7] i3c: master: add i3c_secondary_master_register

2020-11-28 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 +++- include/linux/i3c/master.h |3 + 2 files changed, 156 insertions(+), 1 deletions(-) diff

[RESEND PATCH] net: macb: fix NULL dereference due to no pcs_config method

2020-11-05 Thread Parshuram Thombare
This patch fixes NULL pointer dereference due to NULL pcs_config in pcs_ops. Reported-by: Nicolas Ferre Link: https://lore.kernel.org/netdev/2db854c7-9ffb-328a-f346-f68982723...@microchip.com/ Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb_main.c | 17

[PATCH] net: macb: fix NULL dereference due to no pcs_config method

2020-11-05 Thread Parshuram Thombare
This patch fixes NULL pointer dereference due to NULL pcs_config in pcs_ops. Fixes: e4e143e26ce8 ("net: macb: add support for high speed interface") Reported-by: Nicolas Ferre Link: https://lkml.org/lkml/2020/11/4/482 Signed-off-by: Parshuram Thombare --- drivers/net/ethern

[RESEND PATCH v5] net: macb: add support for high speed interface

2020-10-29 Thread Parshuram Thombare
support auto negotiation, linux driver is modified to support 10GBASE-R instead of USXGMII. Signed-off-by: Parshuram Thombare --- Changes between v4 and v5: 1. Correctly programming MAC bits mac_config. Changes between v3 and v4: 1. Adapted new phylink pcs_ops for low speed PCS. 2. Moved high

[PATCH v5] net: macb: add support for high speed interface

2020-10-24 Thread Parshuram Thombare
support auto negotiation, linux driver is modified to support 10GBASE-R instead of USXGMII. Signed-off-by: Parshuram Thombare --- Changes between v4 and v5: 1. Correctly programming MAC bits mac_config. Changes between v3 and v4: 1. Adapted new phylink pcs_ops for low speed PCS. 2. Moved high

[PATCH v3] net: macb: add support for high speed interface

2020-10-21 Thread Parshuram Thombare
support auto negotiation, linux driver is modified to support 10GBASE-R insted of USXGMII. Signed-off-by: Parshuram Thombare --- Changes between v2 and v3: 1. Replace USXGMII interface by 10GBASE-R interface. 2. Adopted new phylink pcs_ops for high speed PCS. 3. Added pcs_get_state for high speed

[PATCH net] net: macb: fix for pause frame receive enable bit

2020-09-05 Thread Parshuram Thombare
PAE bit of NCFGR register, when set, pauses transmission if a non-zero 802.3 classic pause frame is received. Fixes: 7897b071ac3b ("net: macb: convert to phylink") Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb_main.c |3 +-- 1 files changed, 1 insert

[PATCH v5] i3c: master: fix for SETDASA and DAA process

2020-08-25 Thread Parshuram Thombare
complete SETDASA. For remaining devices with init_dyn_addr, i3c_master_add_i3c_dev_locked() will try to set requested dynamic address after DAA. Signed-off-by: Parshuram Thombare --- Changes between v4 and v5 are: 1. Modifications in comments and labels. Changes between v3 and v4 are: 1. Code

[PATCH v5] i3c: master: fix for SETDASA and DAA process

2020-08-25 Thread Parshuram Thombare
successfully complete SETDASA. Similarly, for the devices with only init_dyn_addr, init_dyn_addr are reserved, and after DAA i3c_master_add_i3c_dev_locked() will try to set the requested dynamic address. Signed-off-by: Parshuram Thombare --- Changes between v4 and v5 are: 1. Modifications in comments

[PATCH v4] i3c: master: fix for SETDASA and DAA process

2020-08-21 Thread Parshuram Thombare
complete SETDASA. For remaining devices with init_dyn_addr, i3c_master_add_i3c_dev_locked() will try to set requested dynamic address after DAA. Signed-off-by: Parshuram Thombare --- Changes between v3 and v4 are: 1. Code rectoring and removed Fixes tag Changes between v2 and v3 are: 1. Keeping

[PATCH v3] i3c: master: fix for SETDASA and DAA process

2020-08-20 Thread Parshuram Thombare
complete SETDASA. For remaining devices with init_dyn_addr, i3c_master_add_i3c_dev_locked() will try to set requested dynamic address after DAA. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Parshuram Thombare --- Changes between v2 and v3 are: 1. Keeping ini

[PATCH v8 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-05-31 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +-- 1 file changed, 306 insertions(+), 23 deletions(-) diff --git a/drivers

[PATCH v8 6/7] i3c: master: sysfs key for acquire bus

2020-05-31 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index de3cb39df9ff..17c0c9a6099d 100644 --- a/drivers/i3c

[PATCH v8 5/7] i3c: master: add defslvs processing

2020-05-31 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 -- include/linux/i3c/master.h | 7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/i3c/master.c b

[PATCH v8 4/7] i3c: master: add mastership handover support

2020-05-31 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 176 +++-- include/linux/i3c/master.h | 6 ++ 2 files changed, 173 insertions(+), 9 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c

[PATCH v8 2/7] i3c: master: use i3c_master_register only for main master

2020-05-31 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 74 +--- drivers/i3c

[PATCH v8 3/7] i3c: master: add i3c_secondary_master_register

2020-05-31 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 - include/linux/i3c/master.h | 3 + 2 files changed, 156 insertions(+), 1 deletion(-) diff --git

[PATCH v8 1/7] i3c: master: master initialization flow document

2020-05-31 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst| 1 + .../i3c/master-initialization-flow.rst| 187 ++ 2 files changed, 188 insertions

[PATCH v8 0/7] I3C mastership handover support

2020-05-31 Thread Parshuram Thombare
between initial version and v2 are: - Reworked devices registration on secondary master side - Reworked mastership event disabling/enabling - Reworked bus locking during mastership takeover process - Added DEFSLVS devices registration during initialization - Fixed style issues Parshuram Thombare (7

[PATCH v2 2/2] i3c: master: fix for SETDASA and DAA process

2020-05-21 Thread Parshuram Thombare
complete SETDASA. For remaining devices with init_dyn_addr, i3c_master_add_i3c_dev_locked() will try to set requested dynamic address after DAA. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Parshuram Thombare --- drivers/i3c/mast

[PATCH v2 1/2] i3c: master add i3c_master_attach_boardinfo to preserve boardinfo

2020-05-21 Thread Parshuram Thombare
' it to the I3C device object. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index 5f

[PATCH v2 0/2] I3C SETDASA and DAA process fix

2020-05-21 Thread Parshuram Thombare
Changes between v1 and v2 are: 1. Added boardinfo attach fix. 2. Removed reattach issue related fix. 3. Reserve init_dyn_addr initially, so that it will not be used in DAA and attempt can be made to set those firmware requested dynamic address after DAA. Regards, Parshuram Thombare

[PATCH] i3c: master: fix for SETDASA and DAA process

2020-05-14 Thread Parshuram Thombare
() will fail which is wrong, and in case of same dyn_addr it doesn't add anything new. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 111 ++- 1 file changed, 46 insertions(+), 65

[PATCH v7 5/7] i3c: master: add defslvs processing

2020-05-11 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 142 - include/linux/i3c/master.h | 7 ++ 2 files changed, 147 insertions(+), 2 deletions(-) diff --git a/drivers/i3c/master.c b

[PATCH v7 4/7] i3c: master: add mastership handover support

2020-05-11 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 187 +++-- include/linux/i3c/master.h | 23 + 2 files changed, 201 insertions(+), 9 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c

[PATCH v7 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-05-11 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 377 +-- 1 file changed, 354 insertions(+), 23 deletions(-) diff --git a/drivers

[PATCH v7 6/7] i3c: master: sysfs key for acquire bus

2020-05-11 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index ea53fadeed99..ec27196e987c 100644 --- a/drivers/i3c

[PATCH v7 3/7] i3c: master: add i3c_secondary_master_register

2020-05-11 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 - include/linux/i3c/master.h | 3 + 2 files changed, 156 insertions(+), 1 deletion(-) diff --git

[PATCH v7 2/7] i3c: master: use i3c_master_register only for main master

2020-05-11 Thread Parshuram Thombare
Removed last argument 'secondary' and refactored i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 69 +--- drivers/i3c

[PATCH v7 1/7] i3c: master: secondary master initialization document

2020-05-11 Thread Parshuram Thombare
Document describing secondary master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst| 1 + .../i3c/secondary-master-initialization.rst | 118 ++ 2 files changed, 119

[PATCH v7 0/7] I3C mastership handover support

2020-05-11 Thread Parshuram Thombare
ing - Reworked bus locking during mastership takeover process - Added DEFSLVS devices registration during initialization - Fixed style issues Regards, Parshuram Thombare Parshuram Thombare (7): i3c: master: secondary master initialization document i3c: master: use i3c_master_register only for m

[PATCH v6 4/4] net: macb: add support for high speed interface

2019-07-10 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 43 drivers/net/ethernet/cadence/macb_main.c | 132 +-- 2 files changed, 165

[PATCH v6 3/4] net: macb: add support for c45 PHY

2019-07-10 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61

[PATCH v6 2/4] net: macb: add support for sgmii MAC-PHY interface

2019-07-10 Thread Parshuram Thombare
This patch add support for SGMII interface and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 54 ++-- drivers/net/ethernet/cadence/macb_main.c | 42 +- 2 files changed, 82

[PATCH v6 1/4] net: macb: add phylink support

2019-07-10 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 332 +-- 3 files changed, 187 insertions

[PATCH v6 0/5] net: macb: cover letter

2019-07-10 Thread Parshuram Thombare
supported modes Changes in v5: 1. Code refactoring Changes in v6: 1. Allow phylink to validate particular phy_mode support by hardware. 2. Remove device tree parameter and 5G serdes rate for USXGMII Regards, Parshuram Thombare Parshuram Thombare (4): net: macb: add phylink support net: macb

[PATCH v5 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-24 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation

[PATCH v5 4/5] net: macb: add support for high speed interface

2019-06-24 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 189 --- 2 files changed, 207

[PATCH v5 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-24 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 54 +- drivers/net/ethernet/cadence/macb_main.c | 72 ++-- 2 files changed, 109

[PATCH v5 1/5] net: macb: add phylink support

2019-06-24 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 301 --- 3 files changed, 163 insertions

[PATCH v5 3/5] net: macb: add support for c45 PHY

2019-06-24 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61

[PATCH v5 0/5] net: macb: cover letter

2019-06-24 Thread Parshuram Thombare
now just return -EOPNOTSUPP Changes in v4: 1. Removed PHY_INTERFACE_MODE_2500BASEX, PHY_INTERFACE_MODE_1000BASEX and 2.5G PHY_INTERFACE_MODE_SGMII phy modes from supported modes Changes in v5: 1. Code refactoring Parshuram Thombare (5): net: macb: add phylink support net: macb: add support

[PATCH v4 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-23 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation

[PATCH v4 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-23 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 54 drivers/net/ethernet/cadence/macb_main.c | 80 +--- 2 files changed, 112

[PATCH v4 4/5] net: macb: add support for high speed interface

2019-06-23 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 194 +++ 2 files changed, 207

[PATCH v4 3/5] net: macb: add support for c45 PHY

2019-06-23 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61 insertions(+), 15 deletions

[PATCH v4 1/5] net: macb: add phylink support

2019-06-23 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 304 --- 3 files changed, 166 insertions

[PATCH v4 0/5] net: macb: cover letter

2019-06-23 Thread Parshuram Thombare
now just return -EOPNOTSUPP Changes in v4: 1. Removed PHY_INTERFACE_MODE_2500BASEX, PHY_INTERFACE_MODE_1000BASEX and 2.5G PHY_INTERFACE_MODE_SGMII phy modes from supported modes Regards, Parshuram Thombare Parshuram Thombare (5): net: macb: add phylink support net: macb: add support

[PATCH v3 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-21 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation

[PATCH v3 3/5] net: macb: add support for c45 PHY

2019-06-21 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61 insertions(+), 15 deletions

[PATCH v3 1/5] net: macb: add phylink support

2019-06-21 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 304 --- 3 files changed, 166 insertions

[PATCH v3 4/5] net: macb: add support for high speed interface

2019-06-21 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 218 +++ 2 files changed, 220

[PATCH v3 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-21 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 54 +--- drivers/net/ethernet/cadence/macb_main.c | 108 +-- 2 files changed, 140

[PATCH v3 0/5] net: macb: cover letter

2019-06-21 Thread Parshuram Thombare
now just return -EOPNOTSUPP Regards, Parshuram Thombare Parshuram Thombare (5): net: macb: add phylink support net: macb: add support for sgmii MAC-PHY interface net: macb: add support for c45 PHY net: macb: add support for high speed interface net: macb: parameter added to cadence

[PATCH v2 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-19 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation

[PATCH v2 1/5] net: macb: add phylink support

2019-06-19 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 312 +-- 3 files changed, 182 insertions

[PATCH v2 3/5] net: macb: add support for c45 PHY

2019-06-19 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61 insertions(+), 15 deletions

[PATCH v2 4/5] net: macb: add support for high speed interface

2019-06-19 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 216 +++ 2 files changed, 218

[PATCH v2 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-19 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 76 ++-- drivers/net/ethernet/cadence/macb_main.c | 151 --- 2 files changed, 200

  1   2   >