[PATCH v3 3/3] drm: bridge: cdns-mhdp8546: Retrieve the pixel format and bpc based on bus format

2020-12-03 Thread Yuti Amonkar
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

[PATCH v3 1/3] drm: bridge: cdns-mhdp8546: Modify atomic_get_input_bus_format bridge function

2020-12-03 Thread Yuti Amonkar
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

[PATCH v3 0/3] Add bus format negotiation support for Cadence MHDP8546 driver

2020-12-03 Thread Yuti Amonkar
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: Modify atomic_get_input_bus_format bridge function drm: bridge: cdns-mhdp8546: Remove setting of bus format using connector

[PATCH v3 2/3] drm: bridge: cdns-mhdp8546: Remove setting of bus format using connector info

2020-12-03 Thread Yuti Amonkar
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

[PATCH v2 0/3] Add bus format negotiation support for Cadence MHDP8546 driver

2020-11-18 Thread Yuti Amonkar
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

[PATCH v2 1/3] drm: bridge: cdns-mhdp8546: Modify atomic_get_input_bus_format bridge function

2020-11-18 Thread Yuti Amonkar
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

[PATCH v2 3/3] drm: bridge: cdns-mhdp8546: Retrieve the pixel format and bpc based on bus format

2020-11-18 Thread Yuti Amonkar
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

[PATCH v2 2/3] drm: bridge: cdns-mhdp8546: Remove setting of bus format using connector info

2020-11-18 Thread Yuti Amonkar
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

[PATCH v1 3/4] drm: bridge: cdns-mhdp8546: Remove setting of bus format using connector info

2020-11-13 Thread Yuti Amonkar
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

[PATCH v1 2/4] drm: bridge: cdns-mhdp8546: Modify atomic_get_input_bus_format bridge function

2020-11-13 Thread Yuti Amonkar
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

[PATCH v1 1/4] drm: bridge: cdns-mhdp8546: Add output bus format negotiation

2020-11-13 Thread Yuti Amonkar
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

[PATCH v1 4/4] drm: bridge: cdns-mhdp8546: Retrieve the pixel format and bpc based on bus format

2020-11-13 Thread Yuti Amonkar
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

[PATCH v1 0/4] Add bus format negotiation support for Cadence MHDP8546 driver

2020-11-13 Thread Yuti Amonkar
/ 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

[PATCH v2 1/2] phy: Add max_link_rate as a PHY attribute and APIs to get/set phy_attrs

2020-05-26 Thread Yuti Amonkar
configure the controller. Signed-off-by: Yuti Amonkar --- include/linux/phy/phy.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index bcee8eba62b3..48693321ae36 100644 --- a/include/linux/phy/phy.h +++ b/include

[PATCH v2 0/2] Add support to get/set PHY attributes using PHY framework

2020-05-26 Thread Yuti Amonkar
to set PHY attributes Yuti Amonkar (1): phy: Add max_link_rate as a PHY attribute and APIs to get/set phy_attrs drivers/phy/cadence/phy-cadence-torrent.c | 7 +++ include/linux/phy/phy.h | 25 +++ 2 files changed, 32 insertions(+) -- 2.17.1

[PATCH v2 2/2] phy: phy-cadence-torrent: Use kernel PHY API to set PHY attributes

2020-05-26 Thread Yuti Amonkar
From: Swapnil Jakhade Use generic PHY framework function phy_set_attrs() to set number of lanes and maximum link rate supported by PHY. Signed-off-by: Swapnil Jakhade Signed-off-by: Yuti Amonkar --- drivers/phy/cadence/phy-cadence-torrent.c | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH v1 0/2] Add support to get/set PHY attributes using

2020-04-28 Thread Yuti Amonkar
Yuti Amonkar (1): phy: Add max_link_rate as a PHY attribute along with APIs to get/set its value drivers/phy/cadence/phy-cadence-torrent.c | 3 +++ include/linux/phy/phy.h | 21 + 2 files changed, 24 insertions(+) -- 2.26.1

[PATCH v1 1/2] phy: Add max_link_rate as a PHY attribute along with APIs to get/set its value

2020-04-28 Thread Yuti Amonkar
phy_get_max_link_rate() to fetch the PHY link rate in order to properly configure the controller. Signed-off-by: Yuti Amonkar --- include/linux/phy/phy.h | 21 + 1 file changed, 21 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index bcee8eba62b3

[PATCH v1 2/2] phy: phy-cadence-torrent: Use PHY kernel APIs to set PHY attributes

2020-04-28 Thread Yuti Amonkar
From: Swapnil Jakhade Use generic PHY framework function phy_set_bus_width() to set number of lanes and function phy_set_max_link_rate() to set maximum link rate supported by PHY. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 3 +++ 1 file changed, 3