Re: [U-Boot] [PATCH 6/6] ARM: zynq: Enable EDID for zybo

2016-02-22 Thread Michal Simek
On 13.2.2016 11:39, Michal Simek wrote:
> Zybo contains on board HDMI that's why enable EDID.
> Doing it via config because zynq i2c driver hasn't been moved to DM yet
> and enabling via Kconfig requires DM_I2C.
> This will be moved that driver is moved to DM.
> 
> Signed-off-by: Michal Simek 
> ---
> 
> Currently the biggest problem is EEPROM support with DM together.
> 
> Log for zybo:
> Zynq> i2c dev 1
> Setting bus to 1
> Zynq> i2c probe
> Valid chip addresses: 50
> Zynq> i2c edid 50
> EDID version: 1.3
> Product ID code: 05cd
> Manufacturer: SAM
> Serial number: 30303033
> Manufactured in week: 42 year: 2010
> Video input definition: digital signal, voltage level 0
> Monitor is non-RGB
> Maximum visible display size: 16 cm x 9 cm
> Power management features: active off, no suspend, no standby
> Estabilished timings:
>   640x480 60 Hz (VGA)
>   800x600 56 Hz (VESA)
>   800x600 60 Hz (VESA)
>   1024x76860 Hz (VESA)
> Standard timings:
>   1600x1200   60 Hz
>   1280x1024   60 Hz
>   1280x96060 Hz
>   1280x80060 Hz
>   1440x90060 Hz
>   1680x1050   60 Hz
>   1920x1080   60 Hz (detailed)
>   1280x72060 Hz (detailed)
> Monitor range limits, horizontal sync: 30-81 kHz, vertical refresh:
> 50-60 Hz, max pixel clock: 170 MHz
> Monitor name: SyncMaster
> 
> ---
>  include/configs/zynq_zybo.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h
> index 644d462c01c9..3db3c13e8a3e 100644
> --- a/include/configs/zynq_zybo.h
> +++ b/include/configs/zynq_zybo.h
> @@ -24,6 +24,8 @@
>  #define CONFIG_CMD_EEPROM
>  #define CONFIG_ZYNQ_GEM_EEPROM_ADDR  0x50
>  #define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET   0xFA
> +#define CONFIG_DISPLAY
> +#define CONFIG_I2C_EDID
>  
>  /* Define ZYBO PS Clock Frequency to 50MHz */
>  #define CONFIG_ZYNQ_PS_CLK_FREQ  5000UL
> 

Applied to zynq repo.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform




signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 6/6] ARM: zynq: Enable EDID for zybo

2016-02-13 Thread Michal Simek
Zybo contains on board HDMI that's why enable EDID.
Doing it via config because zynq i2c driver hasn't been moved to DM yet
and enabling via Kconfig requires DM_I2C.
This will be moved that driver is moved to DM.

Signed-off-by: Michal Simek 
---

Currently the biggest problem is EEPROM support with DM together.

Log for zybo:
Zynq> i2c dev 1
Setting bus to 1
Zynq> i2c probe
Valid chip addresses: 50
Zynq> i2c edid 50
EDID version: 1.3
Product ID code: 05cd
Manufacturer: SAM
Serial number: 30303033
Manufactured in week: 42 year: 2010
Video input definition: digital signal, voltage level 0
Monitor is non-RGB
Maximum visible display size: 16 cm x 9 cm
Power management features: active off, no suspend, no standby
Estabilished timings:
640x480 60 Hz (VGA)
800x600 56 Hz (VESA)
800x600 60 Hz (VESA)
1024x76860 Hz (VESA)
Standard timings:
1600x1200   60 Hz
1280x1024   60 Hz
1280x96060 Hz
1280x80060 Hz
1440x90060 Hz
1680x1050   60 Hz
1920x1080   60 Hz (detailed)
1280x72060 Hz (detailed)
Monitor range limits, horizontal sync: 30-81 kHz, vertical refresh:
50-60 Hz, max pixel clock: 170 MHz
Monitor name: SyncMaster

---
 include/configs/zynq_zybo.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h
index 644d462c01c9..3db3c13e8a3e 100644
--- a/include/configs/zynq_zybo.h
+++ b/include/configs/zynq_zybo.h
@@ -24,6 +24,8 @@
 #define CONFIG_CMD_EEPROM
 #define CONFIG_ZYNQ_GEM_EEPROM_ADDR0x50
 #define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0xFA
+#define CONFIG_DISPLAY
+#define CONFIG_I2C_EDID
 
 /* Define ZYBO PS Clock Frequency to 50MHz */
 #define CONFIG_ZYNQ_PS_CLK_FREQ5000UL
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot