From mboxrd@z Thu Jan 1 00:00:00 1970 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 F4059442110 for ; Mon, 14 Sep 2026 11:10:55 +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=1789384259; cv=none; b=pa5qEIDrO0jl/Fgcnfn7aIEEIYDbcl6uThA9AcWGY8qwdHHjsbbZXzdr9ulQQhzHhlVqEodcjWcnkGCkl6F5oMB58dxwCc3NomuRFh2h1/AtHAfN1l6gZqNjdI3nNvebpqps5w5fmvXHN6HHCKaNZq9jofd15Du7RpJ928kOJP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789384259; c=relaxed/simple; bh=H4TP3EC6KBgdGJJJEm0KqwNmi5g+/3vPNAA1KyGchec=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tF+6+Bytd2E9a6fyTUa64SRlupp7HuJk1IfCelW0ZfZX9doXmAJMPkvkqXpqLL3+T26rvml6MGjS2FRTtKljrthHJTb6+UIXLxzmaWL3lsFrJtrVzDP4YqL8n8iYu+qacwsmZk2XYzDv83lNAB06Et4PXDR9jdjbUAFtkr9j37E= 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=aiX/cOj3; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GLD3dAJc; arc=none smtp.client-ip=205.220.180.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="aiX/cOj3"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GLD3dAJc" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68EAm0m9727550 for ; Mon, 14 Sep 2026 11:10:54 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= UoCtpVKH5cs3OFxWJtQCCwztxR5dzJkfZll38di1ep4=; b=aiX/cOj3HkaTkS2K SRSAZGqK1jNd/bpsq/B4VIpu5uMqgabnM9vG/Spd3QoaGpAsqkzLwh3RwWCr3c2y JnVisIPZixbkUr3LxHrhdZKGLlrW/u4qjNrkGg+NfFmRH65UexQFliHvcKvH9q9c j0s+LVvYKzWtbzPeXk31UI47C2T/N3+7xrTzUFG8kLsM9Psl00MRFub4Jng6BDSJ bGr73zMWEZL23nYCfWs8wVOqrQuzMJfsOKXhAVVT7tsG0F+f1HlPW0rXOdHeYRd/ q8ZGWpJ0dsgLBWeec/ag0K+1/Cvo4RjKMP/ALtQ3flCJQcQAC1WCDROSKn5r5z0+ DjFMeA== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gpdb5rm9y-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 14 Sep 2026 11:10:54 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-51c26012cd0so65685421cf.0 for ; Mon, 14 Sep 2026 04:10:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789384254; x=1789989054; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=UoCtpVKH5cs3OFxWJtQCCwztxR5dzJkfZll38di1ep4=; b=GLD3dAJc3t/myfrVIa1FZ19mrM0i6gVlZ9LVgL5Z2j/Pugjce5lJzq3OqjJP7peCOl 6KtnDFCEHH7U/i8ebM11YW9RX8NujQgaCtYsvFjcx92IDERcf2wUFYOJpHsnXJYw+fOP Jbh7GpmniT36rb802wJp96e2UVmHtTz2kwR8I69FdZtiK8g6CjuVx51QwRVJN+6KqS1b f/KHznzQiZe+vjgimzEyhVaS2EZ567SZYJthhmA0syQdgWmbjJ7HsoB3cW7+787VTkUZ gVSZMzyMNk65ruBHuF6XMIGtwSPU63CVauQwg1zP7L1IcPZHpKTWozMGCqKnIMT1C1e8 Sadg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789384254; x=1789989054; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=UoCtpVKH5cs3OFxWJtQCCwztxR5dzJkfZll38di1ep4=; b=EcdgibzBGcIgwkNe13129cTSY45rlJEEcX5afeOG6CIZ3xQA6dgIWH944CN7t/Wjil NSb2qMH0YdciXjYzhnsFvJ5opuuOP38K/WatoP9uqWbYk0U+VEAUu5df1aE4jwXp0jZz t6g5W9oXFL9lxw/MC9Z+57jQLO/Zp+6HUgMg1SXW/cXonHMz+Gu6xaYBZdQyN+PhNZDQ L64ReM4xWNS7LcXoghel+nrTlux/zOvtDaOXGTyq/CfTvhQG1ftDvWx9MMtsCf5BLo9B VjJW77PXlaTgOQXppiO/ygb8C73p344ep9i4UB41zdJiTujUwx1Cz5lnjViV6mawFvxb 1KoQ== X-Forwarded-Encrypted: i=1; AKwUvBwC3VUskhD/qtzO/kp4V+IsaMDsTEfyyQKNn7aaUpJCbaHmX/7GFkG56Qd6AA3R4lX8+tFyk9OBAw71@vger.kernel.org X-Gm-Message-State: AFuF++mQsWzvG9LRC3YjQdd3OANLx0okQW2Cx+LL2ijVPFxKuOpcr63B eNcVu17cImMRfIY8f7WDftFy5PMmW5SFMR/mr8vzhj8WPzV8IqqGMIxyxjZ6xfTHLqC3og/KSsW x9hUTANhBqFXb3YfIPhe8AxNHWuPjL0/hrwVHfJFP3MdjtW4P6Gcen7G1RGm6562t X-Gm-Gg: AYBFou1DlFjXU62DDxfJviuk+P343BhrVJzpxncAG+nZeNmHTxxB5dKMwUzrhWPoUJr TUkOnqsf4f/O3f21k1l4s1mpYreRqrbQVlytiVQU5AkOj/UORlDOF3qS1f712PKukSal0I2EDm+ gCktTfElP8+po1a/yAAew4Gr4GougHETBacAD5iylf4TwKJz7q72BWQ6KHc/Di5wYyamTLRBex+ wOrYl6c5JLe8yxclTOGf+42lnGyVOw7GouyVASAm8XF2sqcx96O938TnIS3id3I7/YVaPnBYaIq LD2Olcr604s0hfF+Wr6x1/l7y0ZLOaazZihVPtP/pPmqlbWhkhyBfC+EUSNiE/2jpc5v1ih2qLI Edwb6so1X6ho4fAXRqiV+OQ1emwoSbhKKY5TmSEy/EoGEtpSJSV3HA30rV1xGIIsGr0Ts X-Received: by 2002:ac8:5996:0:b0:530:5411:ef3 with SMTP id d75a77b69052e-5310d02cd99mr26527261cf.41.1789384253736; Mon, 14 Sep 2026 04:10:53 -0700 (PDT) X-Received: by 2002:ac8:5996:0:b0:530:5411:ef3 with SMTP id d75a77b69052e-5310d02cd99mr26521561cf.41.1789384248488; Mon, 14 Sep 2026 04:10:48 -0700 (PDT) Received: from WENMLIU-LAB01.ap.qualcomm.com (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-9120f4787eesm91720226d6.21.2026.09.14.04.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 04:10:48 -0700 (PDT) From: Wenmeng Liu Date: Mon, 14 Sep 2026 19:10:24 +0800 Subject: [PATCH v4 1/2] dt-bindings: media: i2c: Add Samsung S5KJN5 image sensor Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260914-sk5jn5-v4-1-386e84cfb2b3@oss.qualcomm.com> References: <20260914-sk5jn5-v4-0-386e84cfb2b3@oss.qualcomm.com> In-Reply-To: <20260914-sk5jn5-v4-0-386e84cfb2b3@oss.qualcomm.com> To: Wenmeng Liu , 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, vladimir.zapolskiy@linaro.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789384240; l=4575; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=H4TP3EC6KBgdGJJJEm0KqwNmi5g+/3vPNAA1KyGchec=; b=qBqRY+jVu+TwTcdKMPvrpZ1NsXhSNEbny57d9vDEMIjT/5VBb7MbzK8ZgZyb7/XSlHKSsV5bU dCFrTYR3bWYBbrNzqUObHwvv4cFuP3j8DOil775C5opT3NMvSFKMrZs X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE0MDE1OCBTYWx0ZWRfX0DQXY0NEqj+G xe86QJqy11akQhpS9OvpU50MNdWstPpEjd3eVczfzXgnZhKSIRYWxlnWHujyyB/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yg1GfFA3Gwx:22 a=DoBsnWhqfNmTxX1QClym:22 X-Proofpoint-ORIG-GUID: kwyqh6AtqtmtFC7CpAoh_Vszi0FHG3Jb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-14_03,2026-09-13_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609140158 Add device tree bindings for the Samsung S5KJN5, a 50 MP 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 | 117 +++++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 123 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..fedb274679cd125483961fee7ac922f2c5efa755 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml @@ -0,0 +1,117 @@ +# 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 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. + + vddm-supply: + description: MIPI 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>; + vddm-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>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 207a6e2db70c8e90a23f56e93af7b90459ba895c..12591e0f1ec2464a34cb6faa91b055f2a47c69d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24582,6 +24582,12 @@ T: git git://linuxtv.org/media_tree.git F: Documentation/devicetree/bindings/media/i2c/samsung,s5kjn1.yaml F: drivers/media/i2c/s5kjn1.c +SAMSUNG S5KJN5 CAMERA DRIVER +M: Wenmeng Liu +L: linux-media@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/media/i2c/samsung,s5kjn5.yaml + SAMSUNG S5P Security SubSystem (SSS) DRIVER M: Krzysztof Kozlowski M: Vladimir Zapolskiy -- 2.34.1