Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4482385imb; Wed, 6 Mar 2019 14:42:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzEB4UkpEPwWt4XrFbKIrnK84xgcZtQuvz3MQAR9TAfZCv7zZkGJmk+h05DMuevVy6pcD3m X-Received: by 2002:a17:902:2a6b:: with SMTP id i98mr9442089plb.153.1551912138704; Wed, 06 Mar 2019 14:42:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551912138; cv=none; d=google.com; s=arc-20160816; b=01zBxQ+gnkvQto+um8Vch4Y7Y++g5qWBUbYka+nHk//KBgNTjSLILgwZ3VfFlb5mKY C18Gtce/pjLLzWqszhBUVdhT+XIYBGrUFjOTBZzGV87yL1Qku4MGepMdKlQdZR4h+WN6 W1qaYbAdHVEcPKSmINRiFsuGr8N8J/3uPO6aNHC+CzRzw/rjP9aryoCB6ESDzSsF2x0v 7AMZgzeaWj/4wSoErdGLs9gxcLMxc12WvsHLmu0wA4pzmEALUxtBJlU/Uxsi/LULslft sJ9yoezjMnZYEHjiaeJae+la6REpqk/pDKpfEplc+mgfkr/15YcTQ29mLxiwoQOYC3Uq eGgQ== 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=WgnfejoohWcdh8LAG9lSSLEUXDC2hzIwdSjwLa5g5iI=; b=NwvzdQREYBGtmhJ6CWXDZ1DrkoylqHSSb+v1gXZJNuoo2vFB6g+OjKXRpr2N87h5Rr 6zbv0BYW9iVxQMA6F1fKrYO/mA7JW7HDtV581cO4eyAQgKM5/PTxCgSJT8+iUspX+KNn TywdzCr9hkGcJYT1r6aPZs9Elm+/BRp5zv5ufrv1p7bIepAwSVlUbuYaaXQoXO1x0VY/ Niu/Sc4bohbn5lvP3TT1d6bz+C7hk2zfdpfozznQLzNMYbXJMbj7SoRTXGbbJjrOEAe0 ezDYMS/e2ym56myiepdl2A0mwIebix3DeGrQa88q9R47saZo6+yPDv7f64VcO0pfY3fG LeLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Am6u+R1M; 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 q20si2500703pls.263.2019.03.06.14.42.03; Wed, 06 Mar 2019 14:42:18 -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=Am6u+R1M; 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 S1726182AbfCFWlb (ORCPT + 99 others); Wed, 6 Mar 2019 17:41:31 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39243 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbfCFWl3 (ORCPT ); Wed, 6 Mar 2019 17:41:29 -0500 Received: by mail-ed1-f67.google.com with SMTP id p27so11802318edc.6; Wed, 06 Mar 2019 14:41:27 -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=WgnfejoohWcdh8LAG9lSSLEUXDC2hzIwdSjwLa5g5iI=; b=Am6u+R1M57Q77JRUcnj6M+Mc/Ryk4ODwE1rBV2WoxlGBGSI1gv6riDoxOS2W9uBYMb ZHKwVlkm6mKPq3v9ksR2z6ITHXXGL1eYQ44eFhmbJJ9oWrLH+HtDev79xDBdhT4D0iUQ QuQNyvPX039BWl3lVct9QcJpHLZMfXkJ9hNojAlXyADMAtXoIiIABsYgq6mBRzHfS/r5 mtYO2c49zhMbBVrmLz0FrC0EHdFnEPH8Qt6OHH+U8BeCnIAPT9DlXQKINUieLXltrH4t TQc2KruI3s2MVI35dYjqqjr595TO5NVsTU2vV8o6B8DbdPdI8GIJ6moIj0HzPPl0KUKB hrHA== 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=WgnfejoohWcdh8LAG9lSSLEUXDC2hzIwdSjwLa5g5iI=; b=Z7KM7SCP5UhXn4UhD606bP5DCOInJh/IUpeIq+UYdy+9yKnNJC1NwJctv1jjJxoDyg Nsun4x9SX5yaQAtSdS/OO3n4sbKRtK5aIq51nKyL9TrS03wx5Jm50gUCyZgsf9h+CPaa CmWnC2K3AF4H/LR5IJWVP4xiicdPIc9qMkdSETFd3h/hNw0ZnSLPa31YtwomSEFjo5he ry8hOgOPgnlhTPolYgNzRmuEUOcqO3xnR9KyH6J5UFld9eA8Bvh1ONxqmOHBDBBTWUpp 87zuWvVhW3e5tumEjj1BcKFNvg8bLFXZK79XtKaS6JeGnHhS9YqDKt3B8xj5AA8TK4IT E2mQ== X-Gm-Message-State: APjAAAXyWCqVDJbzg0mh/hzLYvcBxUvIiUifmNywdzaA6uz4FUwbR6ld N5G50OsXUeKYa3Iwqp1HB/A= X-Received: by 2002:a50:b786:: with SMTP id h6mr25369459ede.85.1551912086698; Wed, 06 Mar 2019 14:41:26 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 36sm801356edz.58.2019.03.06.14.41.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 14:41:26 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: hjc@rock-chips.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, 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 Subject: [PATCH v4 2/4] ARM: dts: rockchip: add rk3066 hdmi nodes Date: Wed, 6 Mar 2019 23:41:11 +0100 Message-Id: <20190306224113.24853-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190306224113.24853-1-jbx6244@gmail.com> References: <20190306224113.24853-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zheng Yang This patch adds the hdmi nodes to rk3066. Signed-off-by: Zheng Yang Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 653127a37..9c43b985a 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -80,6 +80,10 @@ vop0_out: port { #address-cells = <1>; #size-cells = <0>; + vop0_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vop0>; + }; }; }; @@ -101,6 +105,44 @@ vop1_out: port { #address-cells = <1>; #size-cells = <0>; + vop1_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vop1>; + }; + }; + }; + + 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"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + hdmi_in: port@0 { + reg = <0>; + #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>; + }; + }; + hdmi_out: port@1 { + reg = <1>; + }; }; }; @@ -415,6 +457,16 @@ }; }; + 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>; + }; + }; + pwm0 { pwm0_out: pwm0-out { rockchip,pins = ; -- 2.11.0