Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbbKKUWn (ORCPT ); Wed, 11 Nov 2015 15:22:43 -0500 Received: from mail.kernel.org ([198.145.29.136]:52585 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbbKKUWl (ORCPT ); Wed, 11 Nov 2015 15:22:41 -0500 Date: Wed, 11 Nov 2015 14:22:36 -0600 From: Rob Herring To: Yakir Yang Cc: Mark Yao , Heiko Stuebner , Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , Ben Chan , Ken Mixte , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, Kumar Gala , Thierry Reding , linux-arm-kernel@lists.infradead.org, Zheng Yang Subject: Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform Message-ID: <20151111202236.GA5629@rob-hp-laptop> References: <1447227952-4787-1-git-send-email-ykk@rock-chips.com> <1447228052-4897-1-git-send-email-ykk@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447228052-4897-1-git-send-email-ykk@rock-chips.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2484 Lines: 79 On Wed, Nov 11, 2015 at 03:47:32PM +0800, Yakir Yang wrote: > Signed-off-by: Yakir Yang Acked-by: Rob Herring > --- > .../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 = ; > + 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/