Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317502 > unrolled thread
| Started by | Yakir Yang <ykk@rock-chips.com> |
|---|---|
| First post | 2016-01-26 04:10 +0100 |
| Last post | 2016-01-26 10:20 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v7 0/2] Add Rockchip Inno-HDMI driver Yakir Yang <ykk@rock-chips.com> - 2016-01-26 04:10 +0100
[PATCH v7 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform Yakir Yang <ykk@rock-chips.com> - 2016-01-26 04:20 +0100
Re: [PATCH v7 0/2] Add Rockchip Inno-HDMI driver Caesar Wang <caesar.upstream@gmail.com> - 2016-01-26 10:20 +0100
| From | Yakir Yang <ykk@rock-chips.com> |
|---|---|
| Date | 2016-01-26 04:10 +0100 |
| Subject | [PATCH v7 0/2] Add Rockchip Inno-HDMI driver |
| Message-ID | <qV2b0-5md-11@gated-at.bofh.it> |
Here are a brief introduction to Innosilicon HDMI IP:
- Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter
- Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec
- Digital video interface supports a pixel size of 24, 30, 36, 48bits color depth in RGB
- S/PDIF output supports PCM, Dolby Digital, DTS digital audio transmission
(32-192kHz Fs) using IEC60958 and IEC 61937
- The EDID and CEC function are also supported by Innosilicon HDMI Transmitter Controlle
Changes in v7:
- Correct the module licnese statement (Paul)
- MODULE_LICENSE("GPL");
+ MODULE_LICENSE("GPL v2");
- Start indentation with tabs and fix the misspell in Kconfig (Paul)
- Carry the lost device-binding document (Heiko)
Changes in v6:
- Rebase the Makefile/Kconfig files which add by Chris's rockchip-mipi driver (Caeser)
Changes in v5:
- Use hdmi_infoframe helper functions to packed the infoframe (Russell)
- Remove the unused double wait_for_completion_timeout for ddc transfer (Russell)
- Remove the unused local variable in "inno_hdmi_i2c_write()" function (Russell)
Changes in v4:
- Modify the commit title "drm/rockchip: hdmi: ..." (Mark)
- Correct the "DKMS" to "DPMS" (Mark)
- Fix over 80 characters problems (Mark)
- Remove encoder .prepare/.commit helper functions, and move the vop mode
configure function into encoder .enable helper functions. (Mark)
Changes in v3:
- Use encoder enable/disable function, and remove the encoder DPMS function
- Keep HDMI PLL power on in standby mode
Changes in v2:
- Using DRM atomic helper functions for connector init (Mark)
- Remove "hdmi->connector.encoder = encoder;" (Mark)
- Add the Acked-by tags from Rob
- Correct the misspell "rk3036-dw-hdmi" (Heiko)
Yakir Yang (2):
drm/rockchip: hdmi: add Innosilicon HDMI support
dt-bindings: add document for Innosilicon HDMI on Rockchip platform
.../display/rockchip/inno_hdmi-rockchip.txt | 50 ++
drivers/gpu/drm/rockchip/Kconfig | 8 +
drivers/gpu/drm/rockchip/Makefile | 1 +
drivers/gpu/drm/rockchip/inno_hdmi.c | 941 +++++++++++++++++++++
drivers/gpu/drm/rockchip/inno_hdmi.h | 362 ++++++++
5 files changed, 1362 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
create mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.c
create mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h
--
1.9.1
[toc] | [next] | [standalone]
| From | Yakir Yang <ykk@rock-chips.com> |
|---|---|
| Date | 2016-01-26 04:20 +0100 |
| Subject | [PATCH v7 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform |
| Message-ID | <qV2kG-5wa-9@gated-at.bofh.it> |
| In reply to | #1317502 |
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Add the Acked-by tags from Rob
- Correct the misspell "rk3036-dw-hdmi" (Heiko)
.../display/rockchip/inno_hdmi-rockchip.txt | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
diff --git a/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
new file mode 100644
index 0000000..8096a29
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
@@ -0,0 +1,50 @@
+Rockchip specific extensions to the Innosilicon HDMI
+================================
+
+Required properties:
+- compatible:
+ "rockchip,rk3036-inno-hdmi";
+- reg:
+ Physical base address and length of the controller's registers.
+- clocks, clock-names:
+ Phandle to hdmi controller clock, name should be "pclk"
+- interrupts:
+ HDMI interrupt number
+- ports:
+ Contain one port node with endpoint definitions as defined in
+ Documentation/devicetree/bindings/graph.txt.
+- pinctrl-0, pinctrl-name:
+ Switch the iomux of HPD/CEC pins to HDMI function.
+
+Example:
+hdmi: hdmi@20034000 {
+ compatible = "rockchip,rk3036-inno-hdmi";
+ reg = <0x20034000 0x4000>;
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru PCLK_HDMI>;
+ clock-names = "pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_ctl>;
+ status = "disabled";
+
+ hdmi_in: port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ hdmi_in_lcdc: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&lcdc_out_hdmi>;
+ };
+ };
+};
+
+&pinctrl {
+ hdmi {
+ hdmi_ctl: hdmi-ctl {
+ rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>,
+ <1 9 RK_FUNC_1 &pcfg_pull_none>,
+ <1 10 RK_FUNC_1 &pcfg_pull_none>,
+ <1 11 RK_FUNC_1 &pcfg_pull_none>;
+ };
+ };
+
+};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Caesar Wang <caesar.upstream@gmail.com> |
|---|---|
| Date | 2016-01-26 10:20 +0100 |
| Message-ID | <qV7X5-1ZG-35@gated-at.bofh.it> |
| In reply to | #1317502 |
Hi,
在 2016年01月26日 10:59, Yakir Yang 写道:
> Here are a brief introduction to Innosilicon HDMI IP:
> - Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter
> - Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec
> - Digital video interface supports a pixel size of 24, 30, 36, 48bits color depth in RGB
> - S/PDIF output supports PCM, Dolby Digital, DTS digital audio transmission
> (32-192kHz Fs) using IEC60958 and IEC 61937
> - The EDID and CEC function are also supported by Innosilicon HDMI Transmitter Controlle
>
> Changes in v7:
> - Correct the module licnese statement (Paul)
> - MODULE_LICENSE("GPL");
> + MODULE_LICENSE("GPL v2");
> - Start indentation with tabs and fix the misspell in Kconfig (Paul)
> - Carry the lost device-binding document (Heiko)
>
> Changes in v6:
> - Rebase the Makefile/Kconfig files which add by Chris's rockchip-mipi driver (Caeser)
>
> Changes in v5:
> - Use hdmi_infoframe helper functions to packed the infoframe (Russell)
> - Remove the unused double wait_for_completion_timeout for ddc transfer (Russell)
> - Remove the unused local variable in "inno_hdmi_i2c_write()" function (Russell)
>
> Changes in v4:
> - Modify the commit title "drm/rockchip: hdmi: ..." (Mark)
> - Correct the "DKMS" to "DPMS" (Mark)
> - Fix over 80 characters problems (Mark)
> - Remove encoder .prepare/.commit helper functions, and move the vop mode
> configure function into encoder .enable helper functions. (Mark)
>
> Changes in v3:
> - Use encoder enable/disable function, and remove the encoder DPMS function
> - Keep HDMI PLL power on in standby mode
>
> Changes in v2:
> - Using DRM atomic helper functions for connector init (Mark)
> - Remove "hdmi->connector.encoder = encoder;" (Mark)
> - Add the Acked-by tags from Rob
> - Correct the misspell "rk3036-dw-hdmi" (Heiko)
>
> Yakir Yang (2):
> drm/rockchip: hdmi: add Innosilicon HDMI support
> dt-bindings: add document for Innosilicon HDMI on Rockchip platform
>
> .../display/rockchip/inno_hdmi-rockchip.txt | 50 ++
> drivers/gpu/drm/rockchip/Kconfig | 8 +
> drivers/gpu/drm/rockchip/Makefile | 1 +
> drivers/gpu/drm/rockchip/inno_hdmi.c | 941 +++++++++++++++++++++
> drivers/gpu/drm/rockchip/inno_hdmi.h | 362 ++++++++
> 5 files changed, 1362 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
> create mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.c
> create mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h
The inno hdmi driver is verified by on my work branch.
(https://github.com/Caesar-github/rockchip/commits/kylin/next)
929605e arm: config: support the inno hdmi for rk3036 SoCs
aac426e FROMLIST: ARM: dts: rockchip: add hdmi/vop device node for rk3036
7d96943 FROMLIST: dt-bindings: add document for Innosilicon HDMI on
Rockchip platform
f7751f2 FROMLIST: drm/rockchip: hdmi: add Innosilicon HDMI support
....
>
--
Thanks,
Caesar
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web