Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1886559rdh; Sat, 25 Nov 2023 06:19:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNtt5r+fsmRO7uCCltJBCL5oWQgc80yJ5e7kVEZP9ef4wFBKtVDjck8722ECORK8f0imR4 X-Received: by 2002:a17:903:4282:b0:1cc:6906:c016 with SMTP id ju2-20020a170903428200b001cc6906c016mr5404397plb.9.1700921967624; Sat, 25 Nov 2023 06:19:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700921967; cv=none; d=google.com; s=arc-20160816; b=xvcii8uNJurNRWY3P1OK5RBHQWfhD3t7h20uSGlaYCLTDY63IlG6DpHjd6CjKVr3e3 m4lovHp9WjlfXozsxtBk8HONUGw2k0BjKzLNg71e63nNkcCjebSg+NJ9KEuQ0OTvvCLc 61cfZzghvbY9cH8tY4egwugg88nwoWLdQvqUB4buurjJ+MOwGfsURP0B+fpaTMm9KLUd t1JEllMPvJ1w33fDZRmTjQzM4xwST5ccmtFsh3ahhawwv7wn3ZqPssnj9O/a8YENeZ4Y uelr830JGc8Ds7NbfCuYjIj0nMNCJsFZfwUYXcT7oMB4hkeHiYneZlLzafP2aZBOPIx7 bqeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=c6/lhVmHX/sXs0e46ClnnLz5Erfr7PRCNkXawgtymt8=; fh=f9IYJrZ2tIgkDFQWXFAbpprsZvBqnOiPvy7osrKa52E=; b=lbqiKjmC8q3pIJw3juFG0anAU1FejmhtvP5wFeBwJqPak+l9IJn+ZMsfRmnlwaItdy vQR5rRBRblsi5ftgxHooDgr1hwpJ3MEE1jiuf6CECHP39WZCt068Xf9I0z4LRUFUmxs4 KN4YvhkGpEuXAz6CMQZjy90sScM7ads8O7xcREUd2XKArsluVLv7BZvg1iWusSgUJsz5 D+CbGK2PIkn5IrIZP6Pll0tR9D1zWQMSQzHX45J6ctt/KjOVmjRxek13pfEtQ2kDyiNY ytGjEfhqyFjSDBBqt7PN0tBWRLroJVo21F3PhiUYyK8ptS8WL0ijLf8n2wj4s2dprNyv XHaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PBrOBc4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z5-20020a170903018500b001cc6afede42si6054730plg.354.2023.11.25.06.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:19:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PBrOBc4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0098080238A9; Sat, 25 Nov 2023 06:19:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232466AbjKYOSu (ORCPT + 99 others); Sat, 25 Nov 2023 09:18:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232327AbjKYOSY (ORCPT ); Sat, 25 Nov 2023 09:18:24 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DB951FDE for ; Sat, 25 Nov 2023 06:18:12 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50baa3e5c00so528965e87.1 for ; Sat, 25 Nov 2023 06:18:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700921890; x=1701526690; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=c6/lhVmHX/sXs0e46ClnnLz5Erfr7PRCNkXawgtymt8=; b=PBrOBc4VO4BhSYDzaYcIHM7vGczMfs3jQB4JXaEQykkzl+P6uVSyfksQ1fZ2UpKBb+ bHk2X7JyFu2pxqJ20O/VMWjJVde9cZYGAnBz/+Zhad7+kX9BVyeFeGLEc1tg5JMjxTb7 Vghv1nHsCTS7N6c16GZ0t1tKxMl33lZdJKgOlVsaw+zhXhkTVR5S5TRT7BC3RsRxCIUt HzSbpEbxXDx5utzutfs/B70hwWMfgJ7F8hmmRoLhlKmXJX4cg7qV+49wD+bwsHoVNXd/ WatfTGXFWVb4pihoKn6Z8tHBIeQSLx6g4RFkcBIczBsfDa+Xqa7RTAaJfxVhQHcBkyO0 2iBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700921890; x=1701526690; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c6/lhVmHX/sXs0e46ClnnLz5Erfr7PRCNkXawgtymt8=; b=U2M9kvFNc8vqyyg0glsNoxCJy3wvRCQmh7N6xsCyHDdBpbPMoPbB+OaJ/hzQ0o+cqV lU98dC0l5lRRz3ohD3ghWp75CdI9bssUk1tNt2goobcrRAmGKRCRIgaV96QUVfniU1gT SHBlS+FGBVKaT9+IvbfueC+otjPVhOEHMKDBgQFFH4kvfq1C23hAyFkAgYfYHr+dSTSI APbxHpKhmJG/J+y8W4ElBeLW8BKMkssEFSI4GMBLGrhpsh4eDkrGWBDYJ6mYh4vfUAuv JjRRfOA0wS5qe1d+R4tgkdIHqYWHZxnMLWSEsGQahM9S9Hxg9IyBsPTBRr6QAil0gPqi /qMg== X-Gm-Message-State: AOJu0YzWEySCACYhKFaUEOm6APtnxi5E/iabBVO5JRv6dtoaBXh3wXY3 /PzoVpvMAAEkFlYlr6bQK0KdPw== X-Received: by 2002:a05:6512:2809:b0:50a:6bbc:52e7 with SMTP id cf9-20020a056512280900b0050a6bbc52e7mr1475071lfb.2.1700921890503; Sat, 25 Nov 2023 06:18:10 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id 19-20020a170906319300b00992b8d56f3asm3500345ejy.105.2023.11.25.06.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:18:10 -0800 (PST) From: Konrad Dybcio Date: Sat, 25 Nov 2023 15:17:38 +0100 Subject: [PATCH 10/12] arm64: dts: qcom: qrb2210-rb1: Set up HDMI MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231125-topic-rb1_feat-v1-10-11d71b12b058@linaro.org> References: <20231125-topic-rb1_feat-v1-0-11d71b12b058@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v1-0-11d71b12b058@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700921858; l=2344; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=HG+qKKvGUGteXhS1Efd/CaFsVpJbWzVwdo27Zc2OxfM=; b=cgu/Ut7yxp3T/a5OVTyYp7MC9Q+0t412jE9OzRFi2ZwaFCoBnLSBn2ieUp1gG/Aiq6T8oDuP5 y+s5p0siYBhAps0OZzciqWKP9cotld3WnhaxXk7ub6dijzQ3T6jKxUX X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Sat, 25 Nov 2023 06:19:25 -0800 (PST) Add the required nodes to support display output via the HDMI port. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 86 ++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index 94885b9c21c8..ac6584164058 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -40,6 +40,17 @@ key-volume-up { }; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con: endpoint { + remote-endpoint = <<9611_out>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -158,6 +169,68 @@ vph_pwr: regulator-vph-pwr { }; }; +&gpi_dma0 { + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + status = "okay"; + + lt9611_codec: hdmi-bridge@2b { + compatible = "lontium,lt9611uxc"; + reg = <0x2b>; + interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; + + vdd-supply = <&vreg_hdmi_out_1p2>; + vcc-supply = <<9611_3v3>; + + pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; + pinctrl-names = "default"; + #sound-dai-cells = <1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lt9611_a: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + lt9611_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; + }; +}; + +&mdss { + status = "okay"; +}; + +&mdss_dsi0 { + vdda-supply = <&pm2250_l5>; + status = "okay"; +}; + +&mdss_dsi0_out { + remote-endpoint = <<9611_a>; + data-lanes = <0 1 2 3>; +}; + +&mdss_dsi0_phy { + status = "okay"; +}; + &pm2250_resin { linux,code = ; status = "okay"; @@ -377,6 +450,19 @@ &sdhc_2 { }; &tlmm { + lt9611_rst_pin: lt9611-rst-state { + pins = "gpio41"; + function = "gpio"; + input-disable; + output-high; + }; + + lt9611_irq_pin: lt9611-irq-state { + pins = "gpio46"; + function = "gpio"; + bias-disable; + }; + sd_det_in_on: sd-det-in-on-state { pins = "gpio88"; function = "gpio"; -- 2.43.0