Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5549616rdb; Wed, 13 Dec 2023 11:52:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzH1DeZyauHn6WBfeNU21x/KCxFH+JmTCFdB87KrqyIGBScBOQf8WGl9KnUDgIDtH++kcK X-Received: by 2002:a05:6a00:809:b0:6ce:6ac3:91e8 with SMTP id m9-20020a056a00080900b006ce6ac391e8mr12124723pfk.20.1702497139340; Wed, 13 Dec 2023 11:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702497139; cv=none; d=google.com; s=arc-20160816; b=k3C1LYEjdgQSmi0rSk5cFVRXHWHsfp3dkR3zp3yJn1liV88JykbEZRdDu+MX+Gmkqx 4egJioj8aO0XEnB+mjRlKnsWIZU0MZFTsP2BNGSwLcg8dgZfZU+170CoUJCCOHwGTgC3 Qr6yPDrntS3GEkT23WoaUaw2Vqx6HWsb/4qp1W/KLSI39uTF3oDV4HU9EVybc4I6vbVc 4OS6aaGI9lMHG41T6mqixH2qREeWOzjPDXSfuinHOsDs9AtZkur9DB1L3JUQMkHZ/4WY tuoSpStqe8egNlwktO/GCbJprCqyXX6skCKVVETQByW2rmtFBtrsnW+Tpp+t0oAgfQsu tBWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+bG6mHprJzSYZBwi1h+X+EBITVK9IcgyHPusQHlrEts=; fh=nzMX5Jolb3GculGR3f1Z1ReHOqdNjcdazDY5R3X+7M0=; b=Cjk7+27sA51I6LMmuPfD7s+ChOpVGZQXMYgH4WXYLJgJs4xByftPvv4BH9N/yBMaYG 9V/CPJnf23r9IE/yUg8AkDs0VdcEVBNwEBImggNS/0Nh2JoxaE1sgRQdd+rWayeY00nT EJ5FeH6TApycmhB0ANkdwah7HBCDeIgR1JfVIOZZ8VRX9Msxmb1njAhPO/1IBteudfSh zkF/Ytjyi2o1Mm+OwDi+scRoMAP1zdt+vm6MX5Hue0WeLxQA9RFU/7ehSXi3WDrh/0SZ RV3U2HQQGuu5SeQtmEkLqjXZ87KlReyeE65HlEu4GAda/CMzf3sAc2bzzod4Lzex0/Zb FV1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xny2VQsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id fh17-20020a056a00391100b006d0d865d05asi1023806pfb.295.2023.12.13.11.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:52:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xny2VQsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 648FE802C8D4; Wed, 13 Dec 2023 11:51:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378934AbjLMTvq (ORCPT + 99 others); Wed, 13 Dec 2023 14:51:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379053AbjLMTv3 (ORCPT ); Wed, 13 Dec 2023 14:51:29 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F839C; Wed, 13 Dec 2023 11:51:35 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c19f5f822so41626955e9.1; Wed, 13 Dec 2023 11:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702497093; x=1703101893; 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=+bG6mHprJzSYZBwi1h+X+EBITVK9IcgyHPusQHlrEts=; b=Xny2VQsd2zixTqJrmv+cDPD994iRyDXAVmDiba13+MHosa/IAUexKkxgYEFZYxGm7Q y3LseDTXVoPoQuKxqXo+PHAChAsQJqK7b6Jz2t9coW8IViO8/Fs+2f7kTi8IBA2u425u 92i2QmSNKxX+B8yTZR9trtJITVnyqoDUEE3r/cFBdoUbWx9sK25p1RB35dB8yqcZTY2n O8AzTh/HQidtq2DKoMq/CgfF3RSxsp0eax6couuMRJg5y4sTl9a5eByLxVyPv6XzujAF arKqxaZNKkzqE6LMlZQT3+PhRukYTivB7sPa9DJ6tX0Sem32IrpqvS8yigSr0NsE4j9Q Qf9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702497093; x=1703101893; 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=+bG6mHprJzSYZBwi1h+X+EBITVK9IcgyHPusQHlrEts=; b=fORy3yM+1Lnj5em/sw4p2yOmAVW9s5MeBQZ1qX5bRgrh1AYo+jdN2Rh94wnZRU4JOi rnuqu/7gsn+FdBUg8jTar4JlRfbLqG8x0/91hKqSrzZje8IvpMhf9C+gowQT0xrOJ94D LJFKNdREmX3oN91l5jJO0ffz3/AqFVp2JAHxb3lddBXWkdTv1LziCxWHQMwZ16MJMRPN 02I8hkOi8RzzIpwqS3+Hw7FSCdAwK53kenlcMNqex8/fO+fTyKCI+QxQCDDWpJSZMQxT 7o/CQ9Ceu1qP19e5z9noqx8oXrjNwYZ4uXa1mJy1cbOlqyh7FfuhoZNh4VjIFOoqU8KR DkuQ== X-Gm-Message-State: AOJu0YysnTNS2WD77BRTb8LK/6Tn3xN7g2XliEK4ss7ZoWtKtLbTFVwx OakYka2pd5quXEiKk+XtoQ== X-Received: by 2002:a05:600c:3381:b0:40b:5e4a:2360 with SMTP id o1-20020a05600c338100b0040b5e4a2360mr4804554wmp.98.1702497093548; Wed, 13 Dec 2023 11:51:33 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:92dc:8b1c:e01c:b93c]) by smtp.gmail.com with ESMTPSA id fm14-20020a05600c0c0e00b00407b93d8085sm24050698wmb.27.2023.12.13.11.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:51:33 -0800 (PST) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Daniel Vetter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 10/11] ARM: dts rockchip: Add HDMI node for RK3128 Date: Wed, 13 Dec 2023 20:51:24 +0100 Message-ID: <20231213195125.212923-11-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213195125.212923-1-knaerzche@gmail.com> References: <20231213195125.212923-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 11:51:59 -0800 (PST) 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 --- 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