Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp389102ima; Fri, 1 Feb 2019 05:02:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ZTELogjGy3ol4kPiZqSWWpndbmzcOX7IdL0cLjwEU3oDPUhNYTtJK7O9gs+ZgBesay+UR X-Received: by 2002:a17:902:48:: with SMTP id 66mr38266997pla.68.1549026172041; Fri, 01 Feb 2019 05:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549026171; cv=none; d=google.com; s=arc-20160816; b=mCmf0aoXHgq0D+sc59kB67FqCVwqhHtJKY6sNZaKY5hdbPiBvKZ1tZ46DFoFcySuM0 BGi/x4NG118c4DA7NuY9EGI5cLxEfRCelBdLf84Gvq5k1TZ8eyGgUVUKtmOmFn0ArUHR EJevkSq8j2aq+LoPLolX0CMqVReKsJiXZByH5yr9l7uSkxzG6d6Zkqjcqrh8QXw6J30+ s9P9iysJbilsyz2rJ7RLIp1ONgDG8UYtskmMu7A8tbFANVD3zBznTOwgXeqaOgIrpSAu aSYauqWNndlG/ud7aWTLrUFXlPxXcra7+MCg3Rv6DOVkPdZr5anvGF2y4kcL5kIX417g duOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=mfx8EngpD21F4beHFI4xnlcyVYLWy3PUGs790NCYd/k=; b=FK5aD6WThDsMAvf5p+IS3UrClW6lAJl6Kgu3ru+QlVEt3o1j1EJI1/EpRQDy+f6OAt lNLI2fEDvO8+XGOPvtpR+kjZ78HWLGlCi7zvlBDcC1bkTrys1cdhSc5LKh+Kl/YDKUqd 4a8B+aJ0Kd5O+vkeFBIoo8NgirT/7KzixJDogHys3gxGkUIZzPmmYZZIoygmi3u4af/C XZc9gwgT04dDeKW0Up2FcH03DEWzQiynUdx9KYrnBOnsZS3SrqhhJNOgnmgWZeUyPZ6F AStVTonN7RDroOw17sUnhC1Rjm1DZkGfVRjJvc1dOPhc6KLqQ90nZ/v6Dwy2ACvlo3hh zM/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gCz5E6SW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x18si6941903pfm.39.2019.02.01.05.02.29; Fri, 01 Feb 2019 05:02:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gCz5E6SW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729527AbfBAMcw (ORCPT + 99 others); Fri, 1 Feb 2019 07:32:52 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:36080 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728355AbfBAMct (ORCPT ); Fri, 1 Feb 2019 07:32:49 -0500 Received: by mail-ed1-f65.google.com with SMTP id f23so5321046edb.3; Fri, 01 Feb 2019 04:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mfx8EngpD21F4beHFI4xnlcyVYLWy3PUGs790NCYd/k=; b=gCz5E6SWpg5ROaHec2f+peOAT4i5hMwL2a/A5uflM6xGh5XlzG74/qBxJEzkbpK/bh yBunrUM9GPysUE2hXjiBFglv1LaP6zbudawQ6lPfl2ACnE5oTp1yS4t+Lc9oBbTDIYZq OoNgVCrXIPU1zz4jTurmieGnSdiYCdnAG5QniN2Ufa5RmGm/UJjkrrSy8K63vRLPmdV0 hmd5US6Mcnrx6VEfORR8NUj71o4p5sW0VdhmwH0oQFS6hKoQtmOFNynqXd9fTohPpwkG x8T4KAu/vtLVMZAM0c1vkkOse/5DfjA79YxwO+StlzERDyXKZKrLFjJg/j0ispqNZqrQ Bkgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mfx8EngpD21F4beHFI4xnlcyVYLWy3PUGs790NCYd/k=; b=Iuk/SN7aFnrRcj62eLr2HhwTJJ/UOsOl8vYdfLmtTyVMJJn/z08TzJCbmGEci2/Ee6 wncuvFzI7hTzF5s9bLZp8tNS+aVC6Ayq7cg72gmcFKDCaI1V81WzTE4W29cU8f3lQcgq knqhujSoxOR8scv9aTYlP9qkvYDdhfePCuihpGnUXozFNhNTxUO5I895lRzqyZFIWYHi EPha0dznu+h234hDyvbH24odx8whtZo8wdJQnPRPmIB0LxZxF3AJOIb8Hgodm8vFh56Z lKlAgy41/g90JNh3+e8tYqc5WGf9Ks4e7lJ0/kUdCtqq2p2ZvtkKhAaHPasGKc0HaNov EHcg== X-Gm-Message-State: AJcUukfyhreia7C39+M4w5ve3wBbUJw8mnVDb97g03BRCHEzXnFHXWlS UqikUPId9noTpo0JdxZ9CFY= X-Received: by 2002:a17:906:914a:: with SMTP id y10mr35335385ejw.124.1549024366907; Fri, 01 Feb 2019 04:32:46 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id v6sm1221472eja.51.2019.02.01.04.32.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 04:32:46 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: hjc@rock-chips.com, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH] dt-bindings: display: rockchip: add document for rk3066 hdmi Date: Fri, 1 Feb 2019 13:32:35 +0100 Message-Id: <20190201123235.1693-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181229133318.18128-1-jbx6244@gmail.com> References: <20181229133318.18128-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds a binding that describes the HDMI controller for rk3066. Signed-off-by: Johan Jonker --- .../display/rockchip/rk3066_hdmi-rockchip.txt | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt diff --git a/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt new file mode 100644 index 000000000..6a8f3754f --- /dev/null +++ b/Documentation/devicetree/bindings/display/rockchip/rk3066_hdmi-rockchip.txt @@ -0,0 +1,60 @@ +Rockchip specific extensions for rk3066 HDMI +============================================ + +Required properties: +- compatible: + "rockchip,rk3066-hdmi"; +- reg: + Physical base address and length of the controller's registers. +- clocks, clock-names: + Phandle to HDMI controller clock, name should be "hclk". +- interrupts: + HDMI interrupt number. +- power-domains: + Phandle to the RK3066_PD_VIO power domain. +- rockchip,grf: + This soc uses GRF regs to switch the HDMI TX input between vop0 and vop1. +- ports: + Contains one port node with two endpoints, numbered 0 and 1, + connected respectively to vop0 and vop1. +- pinctrl-0, pinctrl-name: + Switch the iomux for the HPD/I2C pins to HDMI function. + +Example: + hdmi: hdmi@10116000 { + compatible = "rockchip,rk3066-hdmi"; + reg = <0x10116000 0x2000>; + interrupts = ; + clocks = <&cru HCLK_HDMI>; + clock-names = "hclk"; + power-domains = <&power RK3066_PD_VIO>; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>; + status = "disabled"; + + hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + hdmi_in_vop0: endpoint@0 { + reg = <0>; + remote-endpoint = <&vop0_out_hdmi>; + }; + hdmi_in_vop1: endpoint@1 { + reg = <1>; + remote-endpoint = <&vop1_out_hdmi>; + }; + }; + }; + +&pinctrl { + hdmi { + hdmi_hpd: hdmi-hpd { + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_default>; + }; + hdmii2c_xfer: hdmii2c-xfer { + rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>, + <0 RK_PA2 1 &pcfg_pull_none>; + }; + }; +}; -- 2.11.0