From patchwork Tue Nov 22 23:36:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 627567 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 552F0C433FE for ; Tue, 22 Nov 2022 23:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234126AbiKVXhO (ORCPT ); Tue, 22 Nov 2022 18:37:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235204AbiKVXhH (ORCPT ); Tue, 22 Nov 2022 18:37:07 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E50587A6B for ; Tue, 22 Nov 2022 15:37:06 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id h12so19618901ljg.9 for ; Tue, 22 Nov 2022 15:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=sPVJTDjd2xUbT1EVwZ8K5CXf0vs2sTPC7eU4qBWDs5U=; b=fPpiLqPI806jm8YPMkw1hWfsfu7fkbK/dGLtFK0YimCA9reWwAmU5dmkW5N/Y8Puvz HW7clDd3O/0vNf9wWehUp4xiJwkOm6hwaxuuiVEMjE48kRB0ipYaT5n1FtPEu+Vsx5su G6Z2V6NEZYLvm5fBmdvuoEficjMDlD6RABF7HwUfwXCt9A9bppvZrGdrfQ2SIA97djWN LCP9U5UJ/zzqpSpICwbFNne+69OkhAS3SQyyseeVLX0hwqb/qTu88q9o3KmHYro25skI Hz5JD5nDEo9tMLIVPp3MBShR5gy4wrjRPXpYqD9VFXjrU5vY/MKaYz8NQeVewFLky03T G2uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=sPVJTDjd2xUbT1EVwZ8K5CXf0vs2sTPC7eU4qBWDs5U=; b=tYUvbJDnadg2ye2HjPI7EpAwI7pmGDof22DwHBX8wQt2Z1mjNlNW+cE8x/+CvhKf35 pmQYuHyCvz8MObSxYn5ikWvEi7gBeMNpmxLc1IIVeKLLMfKO4pT4Vrk2wywVjcI2yCjE u8YEg+04mhodpOZo7Xy9IXxX6lUcWJD9tM8ky3v9/dUYYZjXpMthoeUathbDEPDSpfG7 AN/AaYx2FCEwnz2jGUpIzUkditC6z27Qr+4g6ryyxiSOq+El0P+sEDRmSBK5RQf9vyj8 /IM2+Pln27weNzsXL3qidSm9CgdjWEBHm8q5HiBMtakYx3/HQEUhVDhYxbd3bpN/L0E6 fP+w== X-Gm-Message-State: ANoB5pkt3VVryzqX+rc1vOLtrw36SA4wiEpOeSYwQYnCen7ErZ2OuG78 qcp3U8gvNVFbQXewyME8GqgfYA== X-Google-Smtp-Source: AA0mqf55ZYf37eIMcQj+RS7jDuAKKcv1Lzm98k2aIlZO+llxYLLijwT6AOAf6KcsrXk/Yx5Z9F4rbA== X-Received: by 2002:a05:651c:220a:b0:277:2428:3682 with SMTP id y10-20020a05651c220a00b0027724283682mr8835362ljq.291.1669160224548; Tue, 22 Nov 2022 15:37:04 -0800 (PST) Received: from eriador.lumag.spb.ru (dzpbkzhtyyyyyyyyyyyyt-3.rev.dnainternet.fi. [2001:14ba:a302:8a1a::1]) by smtp.gmail.com with ESMTPSA id h3-20020ac250c3000000b00492c463526dsm2666454lfm.186.2022.11.22.15.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 15:37:04 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Vinod Koul , Krzysztof Kozlowski Subject: [PATCH v2 5/5] arm64: dts: qcom: sm8450-hdk: Enable HDMI Display Date: Wed, 23 Nov 2022 01:36:59 +0200 Message-Id: <20221122233659.3308175-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221122233659.3308175-1-dmitry.baryshkov@linaro.org> References: <20221122233659.3308175-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul Add the HDMI display nodes and link it to DSI. Signed-off-by: Vinod Koul Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 6b6dcd0e0052..709cddaac781 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -20,6 +20,17 @@ chosen { stdout-path = "serial0:115200n8"; }; + hdmi-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con: endpoint { + remote-endpoint = <<9611_out>; + }; + }; + }; + lt9611_1v2: lt9611-vdd12-regulator { compatible = "regulator-fixed"; regulator-name = "LT9611_1V2"; @@ -393,6 +404,26 @@ lt9611_codec: hdmi-bridge@2b { pinctrl-names = "default"; pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lt9611_a: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + lt9611_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; }; }; @@ -405,6 +436,11 @@ &mdss_dsi0 { status = "okay"; }; +&mdss_dsi0_out { + remote-endpoint = <<9611_a>; + data-lanes = <0 1 2 3>; +}; + &mdss_dsi0_phy { vdds-supply = <&vreg_l5b_0p88>; status = "okay";