Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp89579lqb; Tue, 28 May 2024 09:33:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIeiU4pbcJCkW3HDBe+M/NUrea09w9QBoolszCvozcj5c2Nl7R2Xn6lqQmx2uNiV9gYYX0x0K9SRqyMseWQr6A1o+SHWQBxyVdptpDRw== X-Google-Smtp-Source: AGHT+IHbDpWGMtfEs1UuzJFD8t2fbMreev7RBBbCMHU9FDocUBpZf6vo1L/1a2SifM+7LipP8Uz2 X-Received: by 2002:a17:90a:d348:b0:2bd:b155:a7d8 with SMTP id 98e67ed59e1d1-2bf5e4718femr11669077a91.22.1716914030613; Tue, 28 May 2024 09:33:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716914030; cv=pass; d=google.com; s=arc-20160816; b=IMEbOcLeumCJH5V5MeTrjY5JEw1VMNvVsLk/PnMCS4Fqi9qHXzk5AwvRDcg4uZMGyu cBTHzPyxVs4tSsMqzZdtR4iGPrmHA0fVGVq2onp3Nmd/XRSL4iZVhJDBhFZVhyp5zSHQ V2gcDh2qr+Yaij1UCQ988HAeImrJsNnYcNqrZoPB2FUJYP9DIsmB++GgPuRmS1tWGO2g k2DDWEpjGSxonMeRuC1PVs79dWMEdyTTLEx0TVTjhItPLaNrbPx6UD4gajzQ5JgsO70L diN7gt+EIKffWtwVXyO0OENH6h8oyD5DOE8iU+O8kF1+ySiHM/7619f8X/3Ds04NWdoE zH3g== 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=Ie9rmuEePwENP8TVKYR43Z2dUmRCc5LEf6MyVwtx1xM=; fh=68g7KusYS6qoY27NfrJMGoFddd16cf8HPOS0WVQ3VCQ=; b=iCCJHq6K+STMf56esN1VH8+sKGwWybHlBL5I4DX/FZZ37nPK5wIWIHexCZ6v0Z6o6B hxixdtPjdERBJN8XoMsQs4i2wod6m67BNrmc4mr9P0DeQGVm9qaBrmDn/DF6VAXkVJhx VKHBjW2sxdg7Xo4S+EUDhN95iFdVdlpCJoTQnO77R7ncOClVpDlsc5BiSPTdXDpOqtGT 85IBjfUa1WEZ5wwq6OzWqzL6BUYAElWHGxuf2cKk4rPOR7KmPhn42zsqJnJRk137m+dq HqmkLFA/Y82hmEvAnK3TasAN0p+dljZ5wUvInpaQvyG6/GdVjPc1NIUhG6DBrNqNiB78 E7Jg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RYQ9aFg/"; 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-192758-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fe63d2esi8025395a91.152.2024.05.28.09.33.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 09:33:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192758-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=@linaro.org header.s=google header.b="RYQ9aFg/"; 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-192758-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192758-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F341B282C52 for ; Tue, 28 May 2024 16:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBDC5172BCE; Tue, 28 May 2024 16:33:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RYQ9aFg/" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 1708116F27C for ; Tue, 28 May 2024 16:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716914021; cv=none; b=CktlmG/xprBsu3UUsCTW6mm3GF8huCWIYuOYMdTUVaaqsw+EN20GevDnrVYwWhX19MPuswyZRtczdlB0RDiYc9DKITwrpImUNzxj/BNtPR9go3+2oRBl/Ob00AjyoGCBDRCN2IXzksNtrkZkrP+v26I0EV3m7J9YIatL8u1/AAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716914021; c=relaxed/simple; bh=Xf7BU101+vQcWaBkaOCw1QXITwXxOxJmGpIIXrMPebY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WfFJ893iwxODiedpkppUtXc/1714x6v9hnBG+yH7WJG6QIPXf07Gcr6r//Xxn5+iyurybfhuwi+AoPDtkCIUEaOZp6VWPoIRYn6bYfDN9L/QMx4RFA0vZS680ZmRoXyePqdEC6H/M15sewq4l1CONdFt3Ix2CAbSAX+Ju3hx3/A= 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=RYQ9aFg/; arc=none smtp.client-ip=209.85.208.177 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-lj1-f177.google.com with SMTP id 38308e7fff4ca-2e95a7622cfso11628591fa.2 for ; Tue, 28 May 2024 09:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716914017; x=1717518817; 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=Ie9rmuEePwENP8TVKYR43Z2dUmRCc5LEf6MyVwtx1xM=; b=RYQ9aFg/Y8djxrcDox0vLsAFpR0+CFR62wwpD86oKWaO9Hfv1BCnS9NsPxChHbKrBa Sj1Sj/AbY8A8wfjRmsybz0tZoa46V3vz3V2r5LV1JDe2iRG2M5cjt/cY2DKp4tOceShv oZ7/CYgSPNvB/HChtRhoiv7RT2B2OAujx+NUJ8V2SzppzlloVkXsvb+xlWu+hGe6Pn1R 9o5py4mxiUj3iz/Ty4e9z8BOtCMJqK47tgdXI2fWfwJFmAWbShFZaBlmp1UZTEwQSVO1 /tmIOa2qXV22txLVfyJi/q5zIkxQWiXvT1wkyRCcW5rUtjfQgE1k8bT4Ihqej4F9Xa3V 2W3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716914017; x=1717518817; 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=Ie9rmuEePwENP8TVKYR43Z2dUmRCc5LEf6MyVwtx1xM=; b=XyvFIG8zuSuLEqqe/b2U7NXFvpcDqsws87iIIwOkq5wt4wJZzy3zS8m2C+pm6XPtJh 8Cq75My/NGHf4dNDYHljVe5c1eIrWSnoFokA2+xpdRTVyHXTLg/dZbkoUnqlUd4q1r1G kIjOntfgo1Z+AdjpSL0dg+c3q0lIA9JDazhnf7Np+BO9dGJblEVU4Ba52uTGANUAyD0E nFvnQ9nwpRbK7HUwfzSHYeY8XmXRf6X8AHtyp3sgQTOUAbrkc25a88F0Dw18X87N4r84 gnx8oFfCFvYRG3X0SMSVBSl0qqb79xKafp/UIsgnvJOQfJeLOzGXDbETQPFRXbSt5vd3 AzbQ== X-Forwarded-Encrypted: i=1; AJvYcCVjr0dCnXHKYHE8qMtuuhoHw3VbfAcbM48csx+LHwb/Zbs0uSW/5kIwk2Wl7GRdagwJaBht01bvZvxsHzzz77TxxuIqJIkqhgfVM8Gb X-Gm-Message-State: AOJu0Yw19Rbtjz+Lc+VJ6qAEHd7KqCVIFA9IfN7NSzmakaQLTnGs0hs0 T+qfu1dmjmopA7yn9cJHz3Tx+fOGuUJATx7D65dNlcuOxiU2UbEjWIk4OPt564Xplim/loEzt16 3 X-Received: by 2002:a2e:99d4:0:b0:2d4:3d86:54e2 with SMTP id 38308e7fff4ca-2e95b0bd7dbmr66394971fa.27.1716914017119; Tue, 28 May 2024 09:33:37 -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 38308e7fff4ca-2e975432726sm12149811fa.118.2024.05.28.09.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 09:33:36 -0700 (PDT) Date: Tue, 28 May 2024 19:33:35 +0300 From: Dmitry Baryshkov To: 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> <20240528162434.GA4578@hu-vvalluru-hyd.qualcomm.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: <20240528162434.GA4578@hu-vvalluru-hyd.qualcomm.com> On Tue, May 28, 2024 at 09:54:34PM +0530, Prahlad Valluru wrote: > On Tue, May 28, 2024 at 06:00:26PM +0300, Dmitry Baryshkov wrote: > > 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. > Was trying to have the context of discussion captured. Will add links > to the patchsets in the history, going forward. I'd suggest using b4 tool, which handles such issues in an automated way. It adds links to previous iterations, changelog, etc. > > > > > > > > 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? > > > VREG_HDMI_OUT_1P2 is the naming in schematic, but i see this naming convention for rb5 based boards. > No other consumers for this. Reviewed-by: Dmitry Baryshkov > > > + > > > + 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 -- With best wishes Dmitry