Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp109848lqh; Mon, 6 May 2024 12:55:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6tf+xY0L9m5abg0lIZcpQRyVB/jNhWl1BiSzcWgelUE1QAQG3EEIq86kAMzGMs4N7EP4LMClkvluF4dVnUDqj6KD4p/k4VxNUHvdbxw== X-Google-Smtp-Source: AGHT+IH6pBJt4p9GTtN+QELwVX9m0tFmp1CzWlHRz9UQgeb7v1x8NFUSyIYghY3Aa1Tw0SBCd25F X-Received: by 2002:a05:6a20:43ac:b0:1af:66aa:783f with SMTP id i44-20020a056a2043ac00b001af66aa783fmr14705944pzl.30.1715025300882; Mon, 06 May 2024 12:55:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715025300; cv=pass; d=google.com; s=arc-20160816; b=vzjCiMIdCFV9eES213cLlheI5iItqQx14f0vwAKcpBYsQHEJ2pyK683Q66Gg72/Lff DmEvsitWrztPa3w3muV/xfIt4zVb6alf6lrDGPcVeBY0X+4vUXo+LKr5EK6BN7UeEBRV Rb96nh1YCIMvZnA1MRz5O86phZKCPCWWmTDk++BcdkoXU99++0vtuEzl3u09u9lwQjpp xVUnj4HxBdH8lPDUjbKy/9Bxyu2hRiR60K//GaJd+k55saMivaNtgqTbkufzRwbDOccB Wz1QLjX0j7LQmcqwKCzcKAd1Em4wuWzh8xLumS8P1PNGci+/PHb70zyVaChUVkbSw2XF DIVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=sC84BFtLU9L/vFaY+S8V8yTDY2IAdPN3Z4iW1X9my/E=; fh=4BZzB9emu7LbMBuOrDR4f8yWg141gP3IgNazGeMr8KU=; b=i2M9AtWfIgygoNdHByhyIHwQ17koFRMoD+b3ODRVdjjdcbjN3UBaXaf3oQVSLU2q9/ VNzI2hi4ESeg1BFcUCWnqQryFSqYFGkQGapXRnX2sQiZLH4KYmOFLN+8H6KpsGz1+J9M CQEMrxacjU4eKKCqye3z60JLv9firUNxXaqRsuap0Bm10HdBhm5im/l/PWJjZLdRv3pF g1zRuP9X6nWzAaxZIPTKTvoFz293J3GpD0xflbHtUgDqNGHhVXVFzeDe+8wJamBgGoS5 4m+48vZDXXinzMpDJBzNefZn7RcboF8JjfGj0iIgANslqwlPW6vJ61d1H9R/V9d7IH1g l+iA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ejGK6bc7; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-170374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s8-20020a634508000000b005cdf8b03384si8940801pga.805.2024.05.06.12.55.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:55:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ejGK6bc7; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-170374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7DBB02826B5 for ; Mon, 6 May 2024 19:55:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E397A15B0EF; Mon, 6 May 2024 19:54:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ejGK6bc7" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A329DDC7; Mon, 6 May 2024 19:54:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715025291; cv=none; b=CiIIf3xd5chy+mrWZvIwMzRhkk1t76gckmejNq1xZ5zvOuhBRyJ+6+VNqayK7lkZ/6C8UVLaiVb7wPMVXuev3csmAcRJY21QO5AMN9pGTJibmqB1Z4ZZNpss3RdPKgh+r0Q80vPy/PRJUIqZq+hjfdVSypkTCyX3CK2TE0N8gXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715025291; c=relaxed/simple; bh=1SofMlPLugistZwY8l/SGHCqle5+F8AVcDMwZvAKD4A=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=aNEBZ4Hf2MARG2HoBA9GQgf8us7mWQgCfM10c8MomPa0KGoRG+mmVn1XWvugCW6sEsHlGbMHAeD1oq+7Bsq1WoAC0rqLf+cxFwGCZ4OUymO/6RspXe+SMjLBW+afeK9Q5SM4Cebqo9IeN3XT/u8Gy/EvJerOjZD+KnZVoNXLyIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ejGK6bc7; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 446Ifeve026215; Mon, 6 May 2024 19:54:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=sC84BFtLU9L/vFaY+S8V8yTDY2IAdPN3Z4iW1X9my/E=; b=ej GK6bc7/RcBZ0DT5py9PekjmzxTcWTfi9YXcc3dzQKYp50pSqk/5QPQGzOoW7ZQLL prR896+dUr+B+dtcfoJY9PYOlZDZPnhtCmJGMeZDXwQ/IBeUK2lS0E1vnnulRSZV 8uRF13MKe4GiNaHm8olecDqgskpHQfLTdJ9eGdKehzSn5MjHpuHiQNSoVns0XlwS Q9Sx0/8WfGB+5o66QbvtmJP8yHGszda0ePgH/khuQb/sxIHJJWbRQJf5dKeIKkCk diNJgSjLUm5ryn3T5ZIlO+DFDz9joE+cbnY0ToXGuZ6gsjYcnob4SYk6GVvYdHaJ jLrV8RngzlEsdPwNno2w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xxyc2rveu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 May 2024 19:54:32 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 446JsVao015583 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 May 2024 19:54:31 GMT Received: from [10.110.125.244] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 6 May 2024 12:54:30 -0700 Message-ID: <55ee8e86-e2eb-4c69-9692-df790454b8d6@quicinc.com> Date: Mon, 6 May 2024 12:54:29 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2] arm64: dts: qcom: qcs6490-rb3gen2: enable hdmi bridge Content-Language: en-US To: Prahlad Valluru , CC: , , , , , , , References: <171405653305.2527744.3813895380659072690.robh@kernel.org> <20240426142442.7769-1-quic_vvalluru@quicinc.com> From: Abhinav Kumar In-Reply-To: <20240426142442.7769-1-quic_vvalluru@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: RcetPsM2xG4SYpl9QMUckgmROlZI_par X-Proofpoint-ORIG-GUID: RcetPsM2xG4SYpl9QMUckgmROlZI_par X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-06_14,2024-05-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405060141 On 4/26/2024 7:24 AM, Prahlad Valluru wrote: > From: Venkata Prahlad Valluru > > Enable lt9611uxc bridge for qcs6490 rb3 gen2 platform. > > Signed-off-by: Prahlad Valluru > --- Why is there a mismatch between your author name and signed off name? > 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 | 86 ++++++++++++++++++++ > 1 file changed, 86 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index a085ff5b5fb2..c14d4a4bb3ce 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -51,6 +51,18 @@ > }; > }; > }; > + > + hdmi-connector { > + compatible = "hdmi-connector"; > + label = "HDMI"; Is label mandatory? Doesn't seem so? Rest LGTM. > + type = "a"; > + > + port { > + hdmi_con: endpoint { > + remote-endpoint = <<9611_out>; > + }; > + }; > + }; > > reserved-memory { > xbl_mem: xbl@80700000 { > @@ -530,6 +542,45 @@ > ; > }; > > +&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>; > + > + 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"; > > @@ -602,6 +653,21 @@ > status = "okay"; > }; > > +&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"; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > @@ -711,3 +777,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 = <8>; > + bias-disable; > + }; > +};