Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp54856rdb; Tue, 19 Dec 2023 09:09:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWanung63EUFRiQ3PrdUbGYPrJcic430tmEsvaiTDBrXuAOMpAxoQ8qeuPmckhoXJKuTwH X-Received: by 2002:a05:6214:2522:b0:67f:33ce:fdbe with SMTP id gg2-20020a056214252200b0067f33cefdbemr8956882qvb.79.1703005774651; Tue, 19 Dec 2023 09:09:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703005774; cv=none; d=google.com; s=arc-20160816; b=NJnv1YEu8IQEycJLC1EbyQSZibm9OMXcNicSeLuqxTHiOrKwxF5c06c0GtSSrSipQz gHyGGFnHreEtBTB5z213KDykR2NTDn5YF5EXwPrAyPCDWDcNvwLqn0us2yWMBn/EruDb 3Y28TUGK6j4t9btYiliRo8hKsqZNjWgFNF5F1o3FR+P95NfUarGd190soQC1/8/7+cUR kcPucmLqFX7o5ql2d9emLSk598jXWIlyVcPY3hQWB01CsiO8l5qQwp2C4KumfQ9Ny1nR adKIxwRlo2tRnhG7m7SaXZBjECuU0N7MDpXkT9wOPYyfaPqjhRoRdnRxq5uLcLX/jKKs PxyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=824x2Bpa+BljPPIuTHpPefnYLDXHrvCUJjy6fbKwCl4=; fh=k7ZhfSDxugAUNAX9PFQjqQnTRGZ+rgCl5CN8/TdzbyU=; b=0388w6x+fTielO2JMq+LH4C4ISOq8Z8Umfk8o4DFWNp8xYrnVbx7V7HiR3lzOqxhXx wq+q/1RILIh102sWme/qVMQZ3EL6rG2gvbHJHz/uh5xtXEpUAB3lEIS7lW7bVg6zfgmB tyPrxYjSS1S1At/khOZCdMXG2T2rXCYpxEHa+gRhxbSf60aGfaUIMdGRZiiUBkJbUr1e jHSroYB1dJaYw4a2AhoESA1EGFxhiKbtIFU6J7lK1O6owuxuGbsCN4vt+srbm4J66Q34 mfNBh7h/EIJ5vP/0GTCZVYjY2nbE94B2saZ6LFyQDo6PvJ5lNEFM/mzhXIFka1KfWxBH ADYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NHKcMzD5; spf=pass (google.com: domain of linux-kernel+bounces-5647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s16-20020a0cb310000000b0067a8bf10affsi8899980qve.220.2023.12.19.09.09.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:09:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NHKcMzD5; spf=pass (google.com: domain of linux-kernel+bounces-5647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5A7CE1C24D64 for ; Tue, 19 Dec 2023 17:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C1A742066; Tue, 19 Dec 2023 17:01:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NHKcMzD5" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE9D241765; Tue, 19 Dec 2023 17:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40c48d7a7a7so45246655e9.3; Tue, 19 Dec 2023 09:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703005293; x=1703610093; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=824x2Bpa+BljPPIuTHpPefnYLDXHrvCUJjy6fbKwCl4=; b=NHKcMzD5kz4JJBN9t/AiBafNPcinA9wVedX1l7eCk+auyXL/DiXTmrrM+2xPJHkw+t U4i6fvrCUtxdsQhLISin4vKRe5B4DsQp2uYONVoJ4/HiPUPeB2gmQz/kP+AdDPNrgrX/ I52o995huN3kO9yPQMobuBWNzPpP5tuQxEISgGojiWsTQDHN67jY2EbRS2if7gIq0VKw htL7z3QJqXUfwbzzba5NcQ3mzVr1+X/bnFQkC3HZv9ZgIqurf3s2Tcp0XD8tUZsSHzeV HoqFW00YnsQhsVZW9iDo1KRHvERrq8FgB1enyJS2Q4O6hdZo2AsKToa07pQEsXl+ITAY GEog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703005293; x=1703610093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=824x2Bpa+BljPPIuTHpPefnYLDXHrvCUJjy6fbKwCl4=; b=XkujLbyTPpx+bZ9HhaDza6E9zChuMK1KDpZIB3makN3k4335HaDrh8Gfqa2K1LSW9d cwHYh1xY4S6syP875dc7DrOSUFdYgUmVTuRkomfUh67Xz5ES/wey77Jn5N9GczVh5s2Y MdPYxco7eEGgMFeYJWAYm+yUW6oASncKtcDGH086fC+mfcelgQLlyNeHMNKV4y4luomg JobP7GUXnGW6KdkDHli3ZI6yHp8cd/s5cN80tdivJLimCOMvFiGDy00BSdvFeEGl/BV2 tOLaL+qqxu7cGNmWlzSieOq7KhWTFxjfjeRRjFwqSW7WTTRJeRwtvksMgEJhdn5WmaLH MbEg== X-Gm-Message-State: AOJu0YxGydSoaKW7r7Y3uyqVS1PyvdLwJ+FiVp/qSG8vBI8bWbLza5FN bozSNdV2zPq2h34MmVcptg== X-Received: by 2002:a05:600c:4c8a:b0:40c:d3a:2447 with SMTP id g10-20020a05600c4c8a00b0040c0d3a2447mr11436802wmp.87.1703005293173; Tue, 19 Dec 2023 09:01:33 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:7ae5:3e:d1c6:a138]) by smtp.gmail.com with ESMTPSA id i7-20020a05600c354700b0040d2805d158sm3225878wmq.48.2023.12.19.09.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:01:32 -0800 (PST) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Airlie , Daniel Vetter , 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, Alex Bee Subject: [PATCH v3 28/29] ARM: dts: rockchip: Add HDMI node for RK3128 Date: Tue, 19 Dec 2023 18:00:58 +0100 Message-ID: <20231219170100.188800-29-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231219170100.188800-1-knaerzche@gmail.com> References: <20231219170100.188800-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit RK3128 has Innosilicon based HDMI TX controller similar to the one found in RK3036. Add it and the respective port nodes to the SoC device tree. Signed-off-by: Alex Bee --- changes in v2: - no changes changes in v3: - no changes arch/arm/boot/dts/rockchip/rk3128.dtsi | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 1a3bc8b2bc6e..fb98873fd94e 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -270,6 +270,11 @@ vop: vop@1010e000 { vop_out: port { #address-cells = <1>; #size-cells = <0>; + + vop_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vop>; + }; }; }; @@ -463,6 +468,34 @@ usb2phy_otg: otg-port { }; }; + hdmi: hdmi@20034000 { + compatible = "rockchip,rk3128-inno-hdmi"; + reg = <0x20034000 0x4000>; + interrupts = ; + clocks = <&cru PCLK_HDMI>, <&cru DCLK_VOP>; + clock-names = "pclk", "ref"; + pinctrl-names = "default"; + pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>; + power-domains = <&power RK3128_PD_VIO>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; + hdmi_in_vop: endpoint { + remote-endpoint = <&vop_out_hdmi>; + }; + }; + + hdmi_out: port@1 { + reg = <1>; + }; + }; + }; + timer0: timer@20044000 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044000 0x20>; -- 2.43.0