From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 D4E6D3C1974 for ; Fri, 31 Jul 2026 08:15:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785485738; cv=none; b=a7n1/2/+BxGfuq4IN489BPMFjFB+xYXsjhELOVm0ustIwOcm6F82jKYucXGYrMFgV1/o1vOLzz8QbXVyPi+y9z8/ouyFsV0Ikx+UUPtw7/wMyxn5h4RqRCwgfbhFKceLPafI9cCt7iTP9pn3s8RXvn19o+aayCa2KrMAMEL+aEI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785485738; c=relaxed/simple; bh=nBusK1UQgx2TmKkyBKREuUZTJ7HBNEwsnmUsSi15ul4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K9ZO7JyXgSnrgYiio2Tv2KkhSns7hrFplWe56YMXWbuBG0Gqle+o2fj8caWenSFAsAFLBoGbNXA7FGKX5set6rujz/s/uq9jd392lnnrKctAeGGZXjlvjCcZ2z/1eVJP0l6uhGrkgoC357OtaRVnExuCl+O4o9PtgkAgZF1CnEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=J1zZ+BBQ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Xf9xZ7e5; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="J1zZ+BBQ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Xf9xZ7e5" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66V8C57F3337048 for ; Fri, 31 Jul 2026 08:15:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5z8UmhS3RRs/4TQcJ6cyd27C0la1BIG6/MU62B8nfq0=; b=J1zZ+BBQhft0aBr2 BAzshYiOuB5VvS6QR72CHXnDz8pQUJ3R5k+tbBgwdVbNW5iGwfc58hFFWDtnch2/ 6dMM78CT8oVJQno5q7vODjTrjK/c/XU8gVOIEp/2VJWCQrSrvlTx0J/bkZPPlKOx WQ5ausSl/O5M4/+mTd4RHA5/28LSYiCvq/8O+MBxSzL87hyDgV1o/dLtDa0meV3C /nDJyvIcA7u2UYu0sZ87dz4de2+pWfB/9rZe6x/28K0sziRPDD7bX7YpDAxCfE6x PxBMm5Lbt3W1IJYlhF6HFKpErP1E6edewVHxMi7PTtel1eyoLEh3Urvs3huQad+Z SfXkVw== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4frr0180db-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 31 Jul 2026 08:15:29 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-90284139cceso13724516d6.0 for ; Fri, 31 Jul 2026 01:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785485729; x=1786090529; darn=vger.kernel.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=5z8UmhS3RRs/4TQcJ6cyd27C0la1BIG6/MU62B8nfq0=; b=Xf9xZ7e5Tm71cfB9Vsnuw2V/gJBigyBTz7jj9xniDRic159ZRi6VKv2eQ4hgegGA6O gcrpls5kDwSrEodUGIgljXuLoNA7nhqAvoCBQNMdHZhdvdE5GVV+KwFhBUMg7pEIgMU+ sBrSnHSeG6n2jivN4YalLbn8ymsBy2HTOX0VN/j637hfnAINR/2erzIwNopB+JL+wik/ nvjdqi5Jv3aki1HTYvWPRBV1tkAUCel6Ik8v1/mtxyiHRCRLQpHBQminysgRVACbLvyh dRxI9T7VtTL2jB6xo7qBQGjsHl6jgTByYhFLX72o7Y/mGaT8ukARlCRLIqoyzrRu0pJ4 8nIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785485729; x=1786090529; 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=5z8UmhS3RRs/4TQcJ6cyd27C0la1BIG6/MU62B8nfq0=; b=XjGqqg/OXcfskGcB9sB/EeoYfPKW34VkOCWLRniscWSnvyrFxLpq/AWYEVS9b7StXn Rnrxi4f5Y7dUj2U0tZEsGGgG0/3NzkAvLfJ0a5CGQK+HRCmDbAf0P+eQjEYqkg9stLfO sU771KQIDleKsMFgGjZPFg7QDAF5g3R/btm/a1LYJb8AqCQqo7gmcy4UNJY7XSgU9M8R C/kqw+ap1RIDNGn+SKcEL2zYjjBKxiH3tAh3B6zcZdCMQCscMAFEA6q+dosJHWiNo2ic v+YW+cE2ZIn+w5dYuY450cF5777ReMQQQER+PV4ws+ok1IpZeCRDNr/rrVQQeCJOqyvO 6bgA== X-Forwarded-Encrypted: i=1; AHgh+RoPoZuSazLtht4N3fcElNdktID2jYnUleWahKD5GrdhMqQNDMTZv2o8orm8BfrtnxQWlArLb3xroyuVFCU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz33q5luVetgtmJJ6UTQvmBRinaywSEPYjiiQMjRJT8N6KX50RM u3ouFwNQNTBfQ49d647SWHvzMIIhix0JFrYlynQk6kSr1i+7J5ewQPjRG4HJ1/Lr8qmscr6vcV8 ET6QkgoHFhxum854DpmICatF4p7cbsdJEb/w+DzYpG6Ze9TgB6t97BfO7PCUEYT3XJ1s= X-Gm-Gg: AR+sD10EaJhKSmEB+vOhlfGPjqGDQQHsaPP4NRsBvKaACy34ITOhFzehLSp4KF7nIgy 5TBWaT80raygfZ0vxESDmuglp7Hf93lXKhkpwEeYYc8+d5fCnPNRd3tLUwQIx7a6lTVVRvHMzww Ot7pOlIbVt0vJRjrUCXjoWoeie9BTf3BzKeOqrcJHXffN9WOZpbWZHUSNH5NVn7Xu9+8QANii0/ CtUMGjzHjXwIwSr/zIddygpVPaxbamvUGG3BrebmMFOxzmduZplMcBvYGmXKoFGsEU4pmAUSCJN eiGGsV014zbnNmznnNtqtHx3Eu0iKEALsM9iOJdku8twPwzNHrkGNXMXpPbzY6RB+gDDveGUNIF woPtuwOnJByRBzKey25c2v0MxPuA/SwIsjI1rbgH+LZjM/pP+wRs7fwMgUnhN2IdD X-Received: by 2002:a05:6214:2021:b0:8e7:eca9:de1e with SMTP id 6a1803df08f44-9084355bf0cmr10263866d6.3.1785485728672; Fri, 31 Jul 2026 01:15:28 -0700 (PDT) X-Received: by 2002:a05:6214:2021:b0:8e7:eca9:de1e with SMTP id 6a1803df08f44-9084355bf0cmr10263456d6.3.1785485728025; Fri, 31 Jul 2026 01:15:28 -0700 (PDT) Received: from [10.111.175.212] (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-908436071b7sm5237616d6.48.2026.07.31.01.15.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Jul 2026 01:15:27 -0700 (PDT) Message-ID: <1b2952dd-e5ec-4530-a521-126e5d38385b@oss.qualcomm.com> Date: Fri, 31 Jul 2026 16:15:22 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] dt-bindings: media: i2c: Add Samsung S5KJN5 image sensor To: Vladimir Zapolskiy , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski References: <20260724-sk5jn5-v2-0-871d3b9a2e47@oss.qualcomm.com> <20260724-sk5jn5-v2-1-871d3b9a2e47@oss.qualcomm.com> <442145bb-9487-41be-8a9d-af5553e6fe8b@linaro.org> From: Wenmeng Liu In-Reply-To: <442145bb-9487-41be-8a9d-af5553e6fe8b@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: ry4uuxiRmJG4wckJGlNYs18XTnTuLwv- X-Authority-Analysis: v=2.4 cv=BZboFLt2 c=1 sm=1 tr=0 ts=6a6c59a2 cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=WTNl9S_qHYIi_GRffOAA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iYH6xdkBrDN1Jqds4HTS:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzMxMDA1OCBTYWx0ZWRfX6tLciGFjPf6Z ZK7acH1AEUI3QMVoS7qPZZOlMrfOLKhCcBh9EYQOf1q6kReJEIrH4gMaT0z2CMvqAtomtsfv5zK ZA1+rj8fsOHV9rsg5yM4erAeRjMfIR/l4DZfqqxfGYrsxeTuR6d2SVXozxVqCNjwPX6y1jhB854 +vRMzzJ5BcitidtIsLztExGB6DBxGFSbPbgwfGDy4xtEkEO0nhUBSjbNdO19kxTfHnpJKJRnNgX /i6t+dxXCikcw9rnxEEg+UnedzvAvzA/gon1XrdLoiFlsmmcXv7FH2UQiR+c2j/ZO1LUzxkdB2u WFIQYQWbMxSQEtnc07eBHLpcxc2XZvRN4g8rnu4ZeuYXDATZ5t841TextIM1ZiORTDdgyylymPi VxWVxTgr5I5Jx97DwkpH/ZJm4/SxRYZxgjo+CZZu9k6ytsT+im7EYHujMSFY2XTQaBSD9fC+Ucj sNbDzi96a3rfbli8HxQ== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzMxMDA1OCBTYWx0ZWRfX4fbOqrdPb28t eVdEX8rjBAjw8ccWGkPhyKTjPx+1TNLNw81FeD75R1lrI+TBK++6vlh6QTXNn1t3GhMFl2DYx3/ kHviO4UGVCXEhH0b3ms5ZroNAWFm5gg= X-Proofpoint-GUID: ry4uuxiRmJG4wckJGlNYs18XTnTuLwv- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-31_03,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 phishscore=0 impostorscore=0 bulkscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607310058 Hi Vladimir, On 7/24/2026 10:12 PM, Vladimir Zapolskiy wrote: > On 7/24/26 12:50, Wenmeng Liu wrote: >> Add device tree bindings for the Samsung S5KJN5, a 50 MP GBRG 10-bit RAW >> MIPI CSI-2 image sensor controlled over CCI. >> >> Reviewed-by: Krzysztof Kozlowski >> Signed-off-by: Wenmeng Liu >> --- >>   .../bindings/media/i2c/samsung,s5kjn5.yaml         | 113 +++++++++++ >> ++++++++++ >>   MAINTAINERS                                        |   6 ++ >>   2 files changed, 119 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/media/i2c/ >> samsung,s5kjn5.yaml b/Documentation/devicetree/bindings/media/i2c/ >> samsung,s5kjn5.yaml >> new file mode 100644 >> index >> 0000000000000000000000000000000000000000..9526d2bc5f5be236d7e3d0f1409df2ef991dd0e7 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml >> @@ -0,0 +1,113 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/media/i2c/samsung,s5kjn5.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Samsung S5KJN5 Image Sensor >> + >> +description: >> +  Samsung S5KJN5 is a 50MP GBRG 10-bit RAW MIPI CSI-2 image sensor. >> +  The sensor is controlled over I2C. The full resolution pixel array is >> +  8192x6144, data output format is RAW10 transferred over 4-lane MIPI >> +  D-PHY interface. >> + >> +maintainers: >> +  - Wenmeng Liu >> + >> +allOf: >> +  - $ref: /schemas/media/video-interface-devices.yaml# >> + >> +properties: >> +  compatible: >> +    const: samsung,s5kjn5 >> + >> +  reg: >> +    maxItems: 1 >> + >> +  clocks: >> +    description: MCLK/XVCLK input clock. >> +    maxItems: 1 >> + >> +  reset-gpios: >> +    description: Active low GPIO connected to RESET pad of the sensor. >> +    maxItems: 1 >> + >> +  vddio-supply: >> +    description: >> +      1.8 volt I/O voltage supply (VDD18). Required for both 1.8 and >> 1.2 volt >> +      I/O operation. >> + >> +  vddd-supply: >> +    description: Digital core voltage supply, 1.0 volts. >> + >> +  vdda-supply: >> +    description: Analogue voltage supply, 2.2 volts. >> + >> +  vddio1p2-supply: >> +    description: >> +      1.2 volt I/O voltage supply (VDDIO12). Required only for 1.2 >> volt I/O >> +      operation. >> + >> +  afvdd-supply: >> +    description: Autofocus actuator voltage supply, 2.8-3.0 volts. >> + >> +  port: >> +    $ref: /schemas/graph.yaml#/$defs/port-base >> +    additionalProperties: false >> + >> +    properties: >> +      endpoint: >> +        $ref: /schemas/media/video-interfaces.yaml# >> +        unevaluatedProperties: false >> + >> +        properties: >> +          data-lanes: >> +            items: >> +              - const: 1 >> +              - const: 2 >> +              - const: 3 >> +              - const: 4 >> + >> +        required: >> +          - link-frequencies >> + >> +required: >> +  - compatible >> +  - reg >> +  - clocks >> +  - port >> + >> +unevaluatedProperties: false >> + >> +examples: >> +  - | >> +      #include >> + >> +      i2c { >> +          #address-cells = <1>; >> +          #size-cells = <0>; >> + >> +          camera@10 { >> +              compatible = "samsung,s5kjn5"; >> +              reg = <0x10>; >> +              clocks = <&camera_mclk 0>; >> +              assigned-clocks = <&camera_mclk 0>; >> +              assigned-clock-rates = <19200000>; >> +              reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; >> +              vddio-supply = <&vreg_1p8>; >> +              vddd-supply = <&vreg_1p0>; >> +              vdda-supply = <&vreg_2p2>; >> +              vddio1p2-supply = <&vreg_1p2>; >> +              afvdd-supply = <&vreg_2p8>; >> + >> +              port { >> +                  endpoint { >> +                      link-frequencies = /bits/ 64 <1248000000>; >> +                      data-lanes = <1 2 3 4>; >> +                      remote-endpoint = <&mipi_csi2_ep>; >> +                  }; >> +              }; >> +          }; >> +      }; > > It looks almost identical to samsung,s5kjn1.yaml, this sensor has > an additional vddio1p2-supply though. > Apologies for the incomplete power description. My previous definition was based solely on the module implementation. The correct differences are as follows: JN5: VDDD -- 1V VDDA -- 2.2 V (different) VDDIO -- 1.8V VDDIO1p2 -- 1.2V (Add) VDDM -- 1V (Add) JN1: VDDD -- 1V VDDA -- 2.8V VDDIO -- 1.8V Would a separate binding be more appropriate for this case? I’d appreciate your thoughts on this. Thanks, Wenmeng