output format is not MEDIA_BUS_FMT_FIXED.
- Return the supported color formats based on the display info structure.
Yuti Amonkar (3):
drm: bridge: cdns-mhdp8546: Modify atomic_get_input_bus_format bridge
function
drm: bridge: cdns-mhdp8546: Remove setting of bus format using
connector
Get the pixel format and bpc based on the output bus format
negotiated instead of hardcoding the values.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 82 +++
1 file changed, 64 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/bridge
Modify atomic_get_input_bus_format function to return input formats
supported instead of using hardcoded value.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 83 +--
1 file changed, 74 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm
As we are using bus negotiations for selecting bus format
remove the setting of bus format using the connector info
structure.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge
as MEDIA_BUS_FMT_FIXED and that is the
default value if atomic_get_output_bus_fmts function is not implemented.
- Return NULL if output format is not MEDIA_BUS_FMT_FIXED.
- Return the supported color formats based on the display info structure.
Yuti Amonkar (3):
drm: bridge: cdns-mhdp8546
Get the pixel format and bpc based on the output bus format
negotiated instead of hardcoding the values.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 82 +++
1 file changed, 64 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/bridge
As we are using bus negotiations for selecting bus format
remove the setting of bus format using the connector info
structure.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge
Modify atomic_get_input_bus_format function to return input formats
supported instead of using hardcoded value.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 45 ++-
1 file changed, 35 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm
/
Yuti Amonkar (4):
drm: bridge: cdns-mhdp8546: Add output bus format negotiation
drm: bridge: cdns-mhdp8546: Modify atomic_get_input_bus_format bridge
function
drm: bridge: cdns-mhdp8546: Remove setting of bus format using
connector info
drm: bridge: cdns-mhdp8546: Retrieve the pixel
This patch adds minimal output bus format negotiation support.
Currently we are adding support for only MEDIA_BUS_FMT_FIXED.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c| 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/gpu/drm
Modify atomic_get_input_bus_format function to return input formats
based on the output format instead of using hardcoded value.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 110 --
1 file changed, 100 insertions(+), 10 deletions(-)
diff --git
Get the pixel format and bpc based on the output bus format
negotiated instead of hardcoding the values.
Signed-off-by: Yuti Amonkar
---
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 82 +++
1 file changed, 64 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/bridge
As we are using bus negotiations for selecting bus format
remove the setting of bus format using the connector info
structure.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
Signed-off-by: Jyri Sarha
Reviewed-by: Tomi Valkeinen
---
drivers/gpu/drm/bridge/Kconfig | 12
drivers/gpu/drm/bridge/Makefile | 4 ++
drivers/gpu/drm/bridge/cdns-mhdp
remove
duplication of reading dpcd capabilities.
This patch series is dependent on PHY DisplayPort configuration patch [1]
[1]
https://lkml.org/lkml/2020/1/6/279
[2]
https://lkml.org/lkml/2020/2/6/15
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings
drm
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
Signed-off-by: Swapnil Jakhade
Reviewed-by: Rob Herring
Reviewed-by: Laurent Pinchart
---
.../bindings/display/bridge/cdns,mhdp.yaml| 127 ++
1 file changed, 127
stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
Signed-off-by: Jyri Sarha
Signed-off-by: Quentin Schulz
Signed-off-by: Swapnil Jakhade
Signed-off-by: Tomi Valkeinen
---
drivers/gpu/drm/bridge/Kconfig | 11
stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
Signed-off-by: Jyri Sarha
---
drivers/gpu/drm/bridge/Kconfig | 11 +
drivers/gpu/drm/bridge/Makefile |3 +
drivers/gpu/drm/bridge/cdns-mhdp-core.c | 2206
]
[1]
https://lkml.org/lkml/2020/1/6/279
[2]
https://lkml.org/lkml/2020/2/6/15
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings.
drm: bridge: Add support for Cadence MHDP DPI/DP bridge
drm: bridge: cdns-mhdp: add j721e wrapper
.../bindings/display/bridge
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
Signed-off-by: Jyri Sarha
---
drivers/gpu/drm/bridge/Kconfig | 12
drivers/gpu/drm/bridge/Makefile | 3 +
drivers/gpu/drm/bridge/cdns-mhdp-core.c | 14 +
drivers/gpu
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
Reviewed-by: Rob Herring
---
.../bindings/display/bridge/cdns,mhdp.yaml| 125 ++
1 file changed, 125 insertions(+)
create mode 100644
Documentation/devicetree
stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 11 +
drivers/gpu/drm/bridge/Makefile |3 +
drivers/gpu/drm/bridge/cdns-mhdp-core.c | 2206
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 12
drivers/gpu/drm/bridge/Makefile | 3 +
drivers/gpu/drm/bridge/cdns-mhdp-core.c | 14 +
drivers/gpu/drm/bridge/cdns-mhdp-core.h
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
Reviewed-by: Rob Herring
---
.../bindings/display/bridge/cdns,mhdp.yaml| 125 ++
1 file changed, 125 insertions(+)
create mode 100644
Documentation/devicetree
ch [1]
[1]
https://lkml.org/lkml/2020/1/6/279
[2]
https://lkml.org/lkml/2020/2/6/15
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings.
drm: bridge: Add support for Cadence MHDP DPI/DP bridge
drm: bridge: cdns-mhdp: add j721e wrapper
.../bindings/display/b
stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 11 +
drivers/gpu/drm/bridge/Makefile|3 +
drivers/gpu/drm/bridge/cdns-mhdp.c | 2202
cdns_mhdp_link_probe function to remove
duplication of reading dpcd capabilities.
This patch series is dependent on PHY DisplayPort configuration patch [1]
[1]
https://lkml.org/lkml/2020/1/6/279
[2]
https://lkml.org/lkml/2020/1/22/631
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 12 +
drivers/gpu/drm/bridge/Makefile | 3 ++
drivers/gpu/drm/bridge/cdns-mhdp-j721e.c | 79
drivers/gpu
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
---
.../bindings/display/bridge/cdns,mhdp.yaml | 131 +
1 file changed, 131 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/bridge
DisplayPort
spec v1.4 which include link rate, number of lanes, voltage swing
and pre-emphasis.
Add the DisplayPort phy mode to the generic phy_mode enum.
Signed-off-by: Yuti Amonkar
---
Version History:
v3:
Add DisplayPort mode to the generic phy_mode enum.
v2:
Update DisplayPort spec version
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
---
.../bindings/display/bridge/cdns,mhdp.yaml | 109 +
1 file changed, 109 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/bridge
DisplayPort
spec 1.4 which include link rate, number of lanes, voltage swing
and pre-emphasis.
Signed-off-by: Yuti Amonkar
---
This patch was a part of [1] series earlier but we think that it needs
to have a separate attention of the reviewers. Also as both [1] & [2] are
dependent on this patch,
function to remove
duplication of reading dpcd capabilities.
This patch series is dependent on PHY DisplayPort configuration patch [1]
[1]
https://patchwork.kernel.org/patch/11307829/
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings in yaml
format
drm
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 10
drivers/gpu/drm/bridge/Makefile | 3 ++
drivers/gpu/drm/bridge/cdns-mhdp-j721e.c | 79
drivers/gpu
stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 11 +
drivers/gpu/drm/bridge/Makefile|3 +
drivers/gpu/drm/bridge/cdns-mhdp.c | 2202
ve a
faster review of this patch.
[1]
https://lkml.org/lkml/2019/12/11/455
[2]
https://patchwork.kernel.org/cover/11271191/
Signed-off-by: Yuti Amonkar
---
include/linux/phy/phy-dp.h | 95 ++
include/linux/phy/phy.h| 4 ++
2 files changed, 99 insert
From: Swapnil Jakhade
Add a wrapper function to write Torrent PHY registers to improve
code readability.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 142 --
1 file changed, 77 insertions(+), 65 deletions(-)
diff --git a/drivers/ph
Use regmap for accessing Torrent PHY registers. Modify register offsets
as defined in Torrent PHY user guide. Abstract address calculation
using regmap APIs.
Signed-off-by: Yuti Amonkar
---
drivers/phy/cadence/phy-cadence-torrent.c | 1020 ++---
1 file changed, 650
Rename Cadence DP PHY driver from phy-cadence-dp to phy-cadence-torrent
to make it more generic for future use. Modifiy Makefile and Kconfig
accordingly. Also, change driver compatible from "cdns,dp-phy" to
"cdns,torrent-phy".
Signed-off-by: Yuti Amonkar
---
drivers
From: Swapnil Jakhade
Add reset support for PHY lane group.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c
b/drivers/phy/cadence/phy-cadence
Instruments (TI) j721e wrapper for mhdp. The wrapper configures mhdp
clocks
and muxes as required by SoC.
Yuti Amonkar (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings in yaml
format
drm: bridge: Add support for Cadence MHDP DPI/DP bridge
drm/mhdp: add j721e wrapper
Add Torrent PHY reference clock bindings.
Signed-off-by: Yuti Amonkar
---
.../devicetree/bindings/phy/phy-cadence-torrent.yaml | 12
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
b/Documentation/devicetree
From: Swapnil Jakhade
Add support for PHY configuration APIs. These will mainly reconfigure
link rate, number of lanes, voltage swing and pre-emphasis values.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 424 ++
1 file changed, 424
From: Swapnil Jakhade
Add configuration functions for 19.2 MHz refclock support.
Add register configurations for SSC support.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 456 --
1 file changed, 440 insertions(+), 16 deletions(-)
d
Add generic DP API for configuring DisplayPort PHYs. The parameters
that will be configured are link rate, number of lanes, voltage swing
and pre-emphasis.
Signed-off-by: Yuti Amonkar
---
include/linux/phy/phy-dp.h | 95 ++
include/linux/phy/phy.h
Add platform dependent initialization data for Torrent PHY used in TI's
J721E SoC.
Signed-off-by: Yuti Amonkar
---
drivers/phy/cadence/phy-cadence-torrent.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c
b/drivers/phy/cadence/phy-ca
From: Swapnil Jakhade
Add a separate function to set different power state values.
Use uniform polling timeout value. Also check return values
of functions for proper error handling.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 230 ++--
a DPI stream as input and output it encoded in DP
format. Currently, it supports only SST mode.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 11 +
drivers/gpu/drm/bridge/Makefile|3 +
drivers/gpu/drm/bridge/cdns-mhdp.c | 2231
Add j721e wrapper for mhdp, which sets up the clock and data muxes.
Signed-off-by: Yuti Amonkar
---
drivers/gpu/drm/bridge/Kconfig | 10
drivers/gpu/drm/bridge/Makefile | 3 ++
drivers/gpu/drm/bridge/cdns-mhdp-j721e.c | 79
drivers/gpu
Add a new compatible string used for TI SoCs using Torrent PHY.
Signed-off-by: Yuti Amonkar
---
Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
b
From: Swapnil Jakhade
- Change private data struct cdns_dp_phy to cdns_torrent_phy
- Change module description and registration accordingly
- Generic torrent functions have prefix cdns_torrent_phy_*
- Functions specific to Torrent phy for DisplayPort are prefixed as
cdns_torrent_dp_*
Signed-of
- Convert the MHDP PHY devicetree bindings to yaml schemas.
- Rename DP PHY to have generic Torrent PHY nomrnclature.
- Rename compatible string from "cdns,dp-phy" to "cdns,torrent-phy".
Signed-off-by: Yuti Amonkar
---
.../devicetree/bindings/phy/phy-cad
From: Swapnil Jakhade
Add wrapper functions to read, write DisplayPort specific PHY registers to
improve code readability.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 71 ++-
1 file changed, 50 insertions(+), 21 deletions(-)
diff
From: Swapnil Jakhade
Use regmap to read and write DPTX specific PHY registers.
Signed-off-by: Swapnil Jakhade
---
drivers/phy/cadence/phy-cadence-torrent.c | 169 +-
1 file changed, 99 insertions(+), 70 deletions(-)
diff --git a/drivers/phy/cadence/phy-cadence-tor
Document the bindings used for the Cadence MHDP DPI/DP bridge in
yaml format.
Signed-off-by: Yuti Amonkar
---
.../bindings/display/bridge/cdns,mhdp.yaml | 101 +
1 file changed, 101 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/bridge
phy: cadence-torrent: Add 19.2 MHz reference clock support
phy: cadence-torrent: Add PHY lane reset support
phy: cadence-torrent: Implement PHY configure APIs
phy: cadence-torrent: Use regmap to read and write DPTX PHY registers
Yuti Amonkar (7):
phy: Add DisplayPort configuration options
56 matches
Mail list logo