Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp26132lqb; Tue, 28 May 2024 08:00:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6RGOtL3TPguL1WxoRv9U8pjzRpYbZooDUqmPU6e9aWrOQ03Poa3QS5upQ8wgSdFItkS9cqAtBj0TWcoFYJWJEsF7iLNdtMn46MmdmdQ== X-Google-Smtp-Source: AGHT+IEUB+4FYCtFixzT9c2T2RI9hX5nQO5so/KdJbK8Uu4X60Hy77B+HbaYClVGSzy54IIbWtd+ X-Received: by 2002:a50:8e5a:0:b0:579:a157:81c6 with SMTP id 4fb4d7f45d1cf-579a1578959mr7449289a12.8.1716908457315; Tue, 28 May 2024 08:00:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716908457; cv=pass; d=google.com; s=arc-20160816; b=e3nL5iPwraTmrTzEvDOAgpAkJlBbw1L47Tn9TLSQCHlTdVZCDHqby8vLJjtqGLWUt3 44hZlhw+u02zddYwSC2XzppkVhQKWotpvk0jINj8N+Rvf2SBFONkdKp8L4gbMWbbyJoa GQ64MrFa1U9DN3AyCh+za+n/+qYzll14rbhj8RdATE2l6EJ4iJQHYZqPJtKGDeHNQTdq dueXdLCMnqhaT7zTlL1XecuWIp6FZDcakT15ns461d1x/ufrsJuNVzfIQuDKFk/KNyM2 lVcVJspVnpeIqVKj7Zzr3J4S90NAI33vka/32J1VAWdZJH2NHDtlpKqeb/hg1nfXRMaE qYXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QQLDNg8O6+hQgxFwT/fnrp+FvryuIO9RpOZ2Sw+T6pE=; fh=wgY1+Lizoy3uQm5v1uizBwN0B0TreV4KB5cIIu80Xcs=; b=CPSN56sF1SKv2xy1qFniTokRUftYv82AuQ6ccBYQ6jNTfRZwVFL5wLl/1OKSs4axH3 JAij30591mmf9/NIMY+7P/cHfM3HE/v3Lfc//TmWGjQKqrOmOZFLy8OGzVn/OCwbuYX3 7CL8x0GqHueA4vHRAmNvfkqCW0IRifJBVdiD4yidJ0YaGDzdcWeWhK6HujWdUheqHaCd DCdk9Nf6FreLa+oo7gKm+HLBSw5j20QdeUbOshW+gBfj+pDtBd7USKdXhcqXcbuuBqOT EKNilucmMOJVEXjhKqWA3XHgv/N7MQrGip6MnMY0lWAFiTWgoLPajEXTe5S7ek7m/qKK w1Fw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yswwuHIz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-192585-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579c67a9179si3321466a12.433.2024.05.28.08.00.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 08:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192585-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yswwuHIz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-192585-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D38CB1F235AC for ; Tue, 28 May 2024 15:00:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EF6716FF4B; Tue, 28 May 2024 15:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yswwuHIz" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 69C341E507 for ; Tue, 28 May 2024 15:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716908432; cv=none; b=ono2o+V2uM2bw8Lp4+5tcOp5dTEO87TTVZPbsvUyXgbp3Z4H6dT/yGyRVl9DKD9GpOeERIfS07BTfWr4XmN10X7yMe0tgi0jLlb+shAfeMRVkdTllcCzHM2O/bo72Oh7kjGp4ZBITSNfJ/z8YUMYGCcbLCDJ5c5wCry9v6kFZAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716908432; c=relaxed/simple; bh=sFflAMdjoQiTbx603wKm7ggKrOJxx87UdHmFwYGLBA8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iD6VCClssslxsQxyKuN1m+2+L1cRvSCD+vHhTnR14o7yIWyKo+ZutaXkZ1FRoP+OM4/VzO5S5zeF1qS4Jsu7pcL+4eKRmzRdF/THgVHkxHb4HmYhaERxjUtvThBo2GhALvPFl/DKJv3I+YSaKQp6ohDfSDRRYiMUBLrIZtY+SAU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yswwuHIz; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5295c65d3fdso3980204e87.0 for ; Tue, 28 May 2024 08:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716908429; x=1717513229; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QQLDNg8O6+hQgxFwT/fnrp+FvryuIO9RpOZ2Sw+T6pE=; b=yswwuHIzaE0IFWlD7DPy1QCalRyKXFAfZIuea937DT26ssIgQrPzkw1+IhPY0ct5fc tGTIN5mgT3kudWhjvSTKtf6awJSiTtvS+1vL5N/UpAiCQcTKNrsjirKbTiNEkAobyqhL ioi0IIODAk7f9hAPFP2cfKmjUbp/UbaEGJPO+NnevrAb1aIN239w9L86w6fg94l12vSV BOYMjugu0hmkfTi728UvsNFXzO73RsGcoWDFhAKRSZKiWqItFXFA4M9Fd0DRbkJ1ChLl +WuunQ9GcXMHh2tB08x8OZaoscBB2ExeIola9jjf9tjB4SuN0b8OtVmrib2HVqfSokkz fRTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716908429; x=1717513229; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QQLDNg8O6+hQgxFwT/fnrp+FvryuIO9RpOZ2Sw+T6pE=; b=OQIL1iQCET2wVI99Sx5jqSsEaW101Qtc0PcN1LB+bEfn8Mw879xTyqBqu9l8DIdL1S RaV27e1KFFqCuM5Zv1HlOIGcOaHOV5eR2YSQyi0pXiN1D68T23NPySYLV43+C8786Hzg VXOL15uSoSTs+3f432LYr5cjqC1EbHw2i/iO18jAwq3fZCWbGGLu2EprKbd8USX58RmZ t2m5FBDoTQBYPjCCmqYiDJl3dmNVAetEG42C36PmbzRA5SnKi4Kjn0jZPi1Bh4uYq5L3 CAz0k5ltV/3hSKgztvng+DRb3UVa++BOm0NTNgkgpXqM5lHwnhIC5ceoJDh2eJsL9dy8 khjg== X-Forwarded-Encrypted: i=1; AJvYcCXwldfbMQsRqx/Hum8NK92z/ivucK9Iyg1ZOmewYgXjC0EjFb+nQT+M7+wpDR/1SE5mP+2EMSwkOG2wLHw2JONrNLTENpAE1kNN973i X-Gm-Message-State: AOJu0YxFkcEQi42TJgvzP5ZDKfl4+9EtUqRJO3mirypjmgpEprn7quhF 2kC9ILZfLmhFxC/0fVt7qJ9oI9uVMBuUDa75+qk36jJX/twDqZ0t4pm1Nq1Ui38= X-Received: by 2002:a05:6512:3486:b0:51e:e5cf:9940 with SMTP id 2adb3069b0e04-529448abd40mr3832836e87.4.1716908428598; Tue, 28 May 2024 08:00:28 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-529716ddfb9sm970448e87.306.2024.05.28.08.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 08:00:28 -0700 (PDT) Date: Tue, 28 May 2024 18:00:26 +0300 From: Dmitry Baryshkov To: Venkata Prahlad Valluru Cc: andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, konrad.dybcio@linaro.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_abhinavk@quicinc.com, quic_nankam@quicinc.com, robh@kernel.org Subject: Re: [PATCH v4] arm64: dts: qcom: qcs6490-rb3gen2: enable hdmi bridge Message-ID: References: <20240528141954.7567-1-quic_vvalluru@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240528141954.7567-1-quic_vvalluru@quicinc.com> On Tue, May 28, 2024 at 07:49:54PM +0530, Venkata Prahlad Valluru wrote: > Rb3Gen2 has a lt9611uxc DSI-to-HDMI bridge on i2c0, with > reset gpio from pm7250b gpio2 and irq gpio from tlmm gpio24. > Bridge supplies are Vdd connected to input supply directly > and vcc to L11c. Enable HDMI output, bridge and corresponding > DSI output. > > Signed-off-by: Venkata Prahlad Valluru > --- > v4: added fixed regulator for vdd Please don't send new iterations as replies to the previous iteration. It might be ignored or mishandled by the tools. > > v3: - Updated commit text > - Arranged nodes in alphabetical order > - Fixed signoff > - Fixed drive strength for lt9611_irq_pin > - Removed 'label' from hdmi-connector, which is optional > > v2: Addressed dtschema errors > - Fixed lt9611-irq > - vdd-supply error to be ignored, as it is connected to > input supply directly, on rb3gen2 > --- > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 94 ++++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index a085ff5b5fb2..7f00fca131a2 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -52,6 +52,25 @@ > }; > }; > > + hdmi-connector { > + 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"; Is it the regulator / net name in schematics? Or is it also used by any other consumers? > + > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > + }; > + > reserved-memory { > xbl_mem: xbl@80700000 { > reg = <0x0 0x80700000 0x0 0x100000>; > @@ -530,6 +549,46 @@ > ; > }; > > +&i2c0 { > + clock-frequency = <400000>; > + status = "okay"; > + > + lt9611_codec: hdmi-bridge@2b { > + compatible = "lontium,lt9611uxc"; > + reg = <0x2b>; > + > + interrupts-extended = <&tlmm 24 IRQ_TYPE_EDGE_FALLING>; > + reset-gpios = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; > + > + vdd-supply = <<9611_1v2>; > + vcc-supply = <&vreg_l11c_2p8>; > + > + 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 = <&mdss_dsi0_out>; > + }; > + }; > + > + port@2 { > + reg = <2>; > + > + lt9611_out: endpoint { > + remote-endpoint = <&hdmi_con>; > + }; > + }; > + }; > + }; > +}; > + > &i2c1 { > status = "okay"; > > @@ -587,6 +646,21 @@ > remote-endpoint = <&usb_dp_qmpphy_dp_in>; > }; > > +&mdss_dsi { > + vdda-supply = <&vreg_l6b_1p2>; > + status = "okay"; > +}; > + > +&mdss_dsi0_out { > + remote-endpoint = <<9611_a>; > + data-lanes = <0 1 2 3>; > +}; > + > +&mdss_dsi_phy { > + vdds-supply = <&vreg_l10c_0p88>; > + status = "okay"; > +}; > + > &mdss_edp { > status = "okay"; > }; > @@ -711,3 +785,23 @@ > function = "gpio"; > bias-disable; > }; > + > +&pm7250b_gpios { > + lt9611_rst_pin: lt9611-rst-state { > + pins = "gpio2"; > + function = "normal"; > + > + output-high; > + input-disable; > + power-source = <0>; > + }; > +}; > + > +&tlmm { > + lt9611_irq_pin: lt9611-irq-state { > + pins = "gpio24"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + }; > +}; > -- > 2.17.1 > -- With best wishes Dmitry