Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1267013 > unrolled thread

[RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms

Started byYakir Yang <ykk@rock-chips.com>
First post2015-11-11 08:50 +0100
Last post2015-11-12 02:10 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms Yakir Yang <ykk@rock-chips.com> - 2015-11-11 08:50 +0100
    [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform Yakir Yang <ykk@rock-chips.com> - 2015-11-11 08:50 +0100
      Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon  HDMI on Rockchip platform Rob Herring <robh@kernel.org> - 2015-11-11 21:30 +0100
        Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI  on Rockchip platform Yakir Yang <ykk@rock-chips.com> - 2015-11-12 02:10 +0100

#1267013 — [RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms

FromYakir Yang <ykk@rock-chips.com>
Date2015-11-11 08:50 +0100
Subject[RFC PATCH v1 0/2] Introduce Innosilicon HDMI driver on Rockchip platforms
Message-ID<qtyki-8g4-5@gated-at.bofh.it>
Hi guys:

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

This IP have been integrated on some Rockchip CPUs (like RK3036/RK312x), due
to those CPUs haven't been landed on manline kernel, so I creat a branch to
verify this series [https://github.com/rockchip-linux/kernel].

- Yakir


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               | 1008 ++++++++++++++++++++
 drivers/gpu/drm/rockchip/inno_hdmi.h               |  364 +++++++
 5 files changed, 1431 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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1267014 — [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

FromYakir Yang <ykk@rock-chips.com>
Date2015-11-11 08:50 +0100
Subject[RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform
Message-ID<qtyki-8g4-9@gated-at.bofh.it>
In reply to#1267013
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 .../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..1898408
--- /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-dw-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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1267428 — Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

FromRob Herring <robh@kernel.org>
Date2015-11-11 21:30 +0100
SubjectRe: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform
Message-ID<qtKbM-7AZ-15@gated-at.bofh.it>
In reply to#1267014
On Wed, Nov 11, 2015 at 03:47:32PM +0800, Yakir Yang wrote:
> Signed-off-by: Yakir Yang <ykk@rock-chips.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
>  .../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..1898408
> --- /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-dw-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
> 
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1267572 — Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

FromYakir Yang <ykk@rock-chips.com>
Date2015-11-12 02:10 +0100
SubjectRe: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform
Message-ID<qtOyK-277-7@gated-at.bofh.it>
In reply to#1267428
Hi Rob,

On 11/12/2015 04:22 AM, Rob Herring wrote:
> On Wed, Nov 11, 2015 at 03:47:32PM +0800, Yakir Yang wrote:
>> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> Acked-by: Rob Herring <robh@kernel.org>

Thanks you for responding   ;)

- Yakir

>> ---
>>   .../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..1898408
>> --- /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-dw-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
>>
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web