From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D4EB606A322 for ; Wed, 2 Dec 2026 10:57:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=h6pWydLR; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=oUNeWhC2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=EZLlIvM2evUSb8H+WGIJ3xbB1P4qqczysSVKQpXDphw=; b=h6pWydLRcg8c8Bx9nZVmhASOcC j0Z+BlWnAOejedIVnL1Uz/aOq1XKRgekuXBnhvnAHmeoBCb4thuKjQaSF+7Y5x0fEamMhxVn8ofwg j+Yom76gLQz63ttVTYPyvm1ork8cidYMRJQ9MsVJuRKVSNGGu7xJN3d4r03cgTqPuCgItDD6n8G5z 4vAJt8LIirfg267MwH/2ikx4phNFUzvQLfK/bFhf6K02vrFZrnMYWBp2/HNBydYWLAANbP6n8Y+ub 6I636p6EEb2kD49K090DO7U6w+ugwMlyKYw1NNG1lsET6DDdnuljOyXc93x3/Mix1Lcjfh+76hMVz n2HRlJQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYi1E-0000000BFHn-3P6C; Wed, 02 Dec 2026 10:57:00 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYi1C-0000000BFGq-0XfG for linux-phy@lists.infradead.org; Wed, 02 Dec 2026 10:56:59 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-3adf222704dso13562421fa.0 for ; Wed, 02 Dec 2026 02:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796209015; x=1796813815; darn=lists.infradead.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=3/ONLzxLqOA+G8XRo0ttoTODXFsuOM6iAdK3TAV6+4c=; b=oUNeWhC2ZRwomvMmMzOzQrRGywy8n0Ss1pEFnzTZKd8Xoq5iqHnAJSu2QLgdMzPVxJ yTx0wF/IDLRrA14EUgoFMiwt/cokpu31RPZqeNCDNjQ3BBNYxclR8hgjmBpywwdoXruM CwkBYcnoZbb/2lAbEBrsKm4kUrIk/PLQ1SUMEhO5vnUaB5ldPOXGXh9/MQsIR39zONQ/ N9zrAlNiP995LQ1+pH1JD5iXF4Ec4OZ04KWchD9DVoxnEEXsRy9dwF4nwPDm2h14IwIm M25LxAgVUlbeUcwA7nS008UicyXII49QOiiyaupFZI9yNKDJH3AzadYwmvk1ccIqEXEa M9fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796209015; x=1796813815; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=3/ONLzxLqOA+G8XRo0tt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/eCySuT6nwGx9uZJaptHUnEppqIECVlzt13dkBrwP8 xx/uncUh6fY7jlPGcGmv30q0EhLxdhP3/fN+7foeTl4F4Kb98y6bZMIUBpdjWvXq1+d8h7dkEp4 xQGU81qIjnYdgj6YbFpyO2I9+rIg= X-Received: by 2002:a05:6512:1318:b0:5c0:465:3fc6 with SMTP id 2adb3069b0e04-5c1bc8601a5mr14023727e87.4.1796209015137; Wed, 02 Dec 2026 02:56:55 -0800 (PST) Received: from [192.168.1.100] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3ae8056f133sm96221291fa.38.2026.12.02.02.56.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 02:56:54 -0800 (PST) Message-ID: Date: Wed, 2 Dec 2026 12:56:53 +0200 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 16/23] arm64: dts: qcom: sm8750-qrd: Enable S5KJN1 camera sensor To: Wenmeng Liu , Bryan O'Donoghue , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Zapolskiy , Loic Poulain , Mauro Carvalho Chehab , Hangxiang Ma , Bryan O'Donoghue , Robert Foss , Andi Shyti , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Frank Li Cc: linux-phy@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org References: <20261202-add-support-for-camss-on-sm8750-v8-0-a07210023c55@oss.qualcomm.com> <20261202-add-support-for-camss-on-sm8750-v8-16-a07210023c55@oss.qualcomm.com> From: Vladimir Zapolskiy In-Reply-To: <20261202-add-support-for-camss-on-sm8750-v8-16-a07210023c55@oss.qualcomm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_025658_224795_50519011 X-CRM114-Status: GOOD ( 15.10 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" X-Spam-Status: No, score=-15.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 12/2/26 11:59, Wenmeng Liu wrote: > Enable CAMSS, CCI1 and CSIPHY3 on the SM8750 QRD board. The S5KJN1 > camera sensor is connected to CCI1 I2C bus 0, uses MCLK3 at 24 MHz and > connects to CSIPHY3 over a 4-lane D-PHY link. > > Reviewed-by: Vladimir Zapolskiy > Reviewed-by: Bryan O'Donoghue > Signed-off-by: Wenmeng Liu > --- > arch/arm64/boot/dts/qcom/sm8750-qrd.dts | 71 +++++++++++++++++++++++++++++++++ > 1 file changed, 71 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts b/arch/arm64/boot/dts/qcom/sm8750-qrd.dts > index 75927e1f7b9ab0316781c64dbcc82d3394c414f6..020652e2b892e5dffaf79bffa139c1f997256f7d 100644 > --- a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8750-qrd.dts > @@ -7,6 +7,7 @@ > > #include > #include > +#include > #include > #include "sm8750.dtsi" > #include "pm8010.dtsi" > @@ -858,6 +859,69 @@ vreg_l7n_3p3: ldo7 { > }; > }; > > +&camss { > + status = "okay"; > +}; > + > +&camss_csiphy3_in_port { > + camss_csiphy3_in_ep: endpoint { > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&csiphy3_out_ep>; > + }; > +}; > + > +&cci1 { > + status = "okay"; > +}; > + > +&cci1_i2c0 { > + camera@56 { > + compatible = "samsung,s5kjn1"; > + reg = <0x56>; > + > + reset-gpios = <&tlmm 109 GPIO_ACTIVE_LOW>; > + pinctrl-0 = <&cam_mclk3_default &cam3_reset_default>; > + pinctrl-names = "default"; > + > + clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK3_CLK>; > + assigned-clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK3_CLK>; > + assigned-clock-rates = <24000000>; > + > + vdda-supply = <&vreg_l4m_2p8>; > + vddd-supply = <&vreg_l2m_1p056>; > + vddio-supply = <&vreg_l5m_1p8>; > + > + port { > + s5kjn1_out_ep: endpoint { > + data-lanes = <1 2 3 4>; Drop 'data-lanes' property, the sensor does not support any other configuration. > + link-frequencies = /bits/ 64 <700000000>; > + remote-endpoint = <&csiphy3_in_ep>; > + }; > + }; > + }; > +}; > + > +&csiphy3 { > + vdda-0p9-supply = <&vreg_l1f_0p88>; > + vdda-1p2-supply = <&vreg_l3g_1p2>; > + > + status = "okay"; > +}; > + > +&csiphy3_in_port { > + csiphy3_in_ep: endpoint { > + bus-type = ; > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&s5kjn1_out_ep>; > + }; > +}; > + > +&csiphy3_out_port { > + csiphy3_out_ep: endpoint { > + remote-endpoint = <&camss_csiphy3_in_ep>; > + }; > +}; > + > &gpu { > status = "okay"; > }; > @@ -1081,6 +1145,13 @@ &tlmm { > /* reserved for secure world */ > gpio-reserved-ranges = <36 4>, <74 1>; > > + cam3_reset_default: cam3-reset-default-state { > + pins = "gpio109"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + }; > + > sdc2_card_det_n: sd-card-det-n-state { > pins = "gpio55"; > function = "gpio"; > -- Best wishes, Vladimir -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy