From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 909C436212E for ; Fri, 6 Mar 2026 10:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793402; cv=none; b=ZCQUnW+s3clwpUFRJBzhSI5tvrPeQV/yfMsj22l/vyV1zYEUww1BIeE/U2p4LMw50FbL1cc2htC/8tgvR3vqBB93R5lYMUevSsk263q8+1AlMKTyp1XNbtYGRkKfqNOyyNt+bong4bPGRef5C3dkf5omp/PBHCJxPYZXKYd/6I8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793402; c=relaxed/simple; bh=c1Hh73BPHsWJSHADjwZvKq8JW4wE9XT5FJSTKJdaAoE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ey1hRYfGCUjh6ysJM4ekbrOlX+zruHHdWzV5iVuxSkSt4EpnzmCowcdqw7NcQYgQ5QevNoNaDLjjT7eNH1QXlgkBSB55HLLjvocw6RQV/zrgAe1c9TuV5+pC/9nC3I3yH0G3XLC1f3PAlfuTvvQ4Dx5GyLpOCPmMl6Q0t6Egf8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WW4GTTTM; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WW4GTTTM" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-59e4a04f059so3350552e87.2 for ; Fri, 06 Mar 2026 02:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772793399; x=1773398199; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fxQnXMyWjzFyg3hYD+g55dQxulta7EkqgPunnsrPdZQ=; b=WW4GTTTM39qLwd70QTkIpsr1fFxZD8I97p3HBrurs6LJvC4pIpSRAdIql4xuqk4dZO gEay1RDps5IEbcqKD+irwzqsr4HcMOdxysLh4xVDsWBt4i3g3FuLp9LPpnW2mR/CDGbB wezT7qcfL1gQZv2V3J9t0C/AvHiCt/LS8bsJYVdr8KRX3CDL19+opBqYACCjGkMoSuPa Wy/v+FzKaZfO/Rv7iSiXYkMz6cFrt/PpFJpJV/8B2H/LMnv/wOk20k1EKj8U15pvwv5X 3SbgfWA6jt/Yo5jElkFRvFinQ2C6KrIi2/6qVJL4nDjhf5GCZMgh1AAaJZROYoV2i1rL Nq8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772793399; x=1773398199; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=fxQnXMyWjzFyg3hYD+g55dQxulta7EkqgPunnsrPdZQ=; b=QxGzezsPhygS5u2eeVYVArvTEUrTnBxJTeXUn/20RWka5rW7jtFxMAOe78soit/Jw0 ln2rxjGgisjtRKfi8jxKZGrWOEZVD/2bqh0HHPzOi1DrCNeF+pbIFnUYkb3RRk/Uk0rA RX+NJ2DGNa7q3POfWEDRnk0Xcs+fT2YWEqB1PEjSdcQOTZOF6Gqe6nySmTDb2IK/Kv7f BLiblJGYZm9QGXhN6vX11VCkXd0HaE9UeN8y4xeuRykHJbObrDG25dzYr3A+rVabit4i SYbTzcIxGOSfBiEuE9YIRFGEljSTmmKfcSR518EzlC2sXMlYkDDHEBjykJsrhv8FGnp3 WwsA== X-Forwarded-Encrypted: i=1; AJvYcCWuEjJwDXM9/BMenNaFI0g8rcKCRpxNV4YCUau3HvRLGWSIbBxkHzLm+khBCfeA6XeklOx3G8fB4rR8@vger.kernel.org X-Gm-Message-State: AOJu0YxI7Rx9mkpB7ryZDWA6QhxkESBfZBQvqnii0c+lgg+TiQY9UF1W sF7upkP4tNe9VMyjeWAQPIRNRZQBhMzqjqe4CDEOS8cOTr9UFLcveR+f X-Gm-Gg: ATEYQzzlfDGPnlQh7D8yCbjPnyBujF7In7ZHfMpRdMz+RrDQUKfGPvlynGPZ001Iv+6 F1/NnbkTeiJPx6F87bXcAZMcFMt8zFUY6mBFlmhrXSXvIwYlVy4H9Q1Da45IhwWzodbC3LQRPfV X5t/RFbIJ4aCJhbfkl9b41W6cl+pTYcAI+JMiv3NPi7Xc6ZzvEvePtFo0qyZ8x9lGHF/e+Yg401 uwzOj+vK44M5vBlOnohCmHFdqA4wxDbmFpMTvGmPFd0nQyFocAK+v9nX3/Qg858Bko8sX4+KjGX nd7GKouLv207jnhEBj48YAPvrMcC/x58s6fa95Ili8kpX5SGwVwGMvSMf8fZHO9chQnYIOsXZcA 5SX2n1losw+2Gz0zCo8tJMtnrWQ7ss5ca3J9lgbrIpF+U/v4QNRCyQAtq6DiTFwzCmAXW7Znwoc 9m9GmtactpLtAKmvY+NU5t5v3D8RFm0mXXfW1S1yU= X-Received: by 2002:a05:6512:3492:b0:5a1:2ea2:3683 with SMTP id 2adb3069b0e04-5a13cd1e305mr469865e87.44.1772793398345; Fri, 06 Mar 2026 02:36:38 -0800 (PST) Received: from gentoo.sknt.ru ([95.161.221.172]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a13d03da54sm258243e87.40.2026.03.06.02.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 02:36:37 -0800 (PST) From: Alexander Shiyan To: linux-media@vger.kernel.org Cc: Isaac Scott , Dave Stevenson , Dongcheng Yan , devicetree@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus , Hans Verkuil , Hans de Goede , Vladimir Zapolskiy , Mehdi Djait , Laurent Pinchart , Benjamin Mugnier , Bryan O'Donoghue , Jingjing Xiong , Svyatoslav Ryhel , Alexander Shiyan Subject: [RFC PATCH v3 1/2] dt-bindings: media: i2c: Add onsemi AR0234 image sensor binding Date: Fri, 6 Mar 2026 13:36:13 +0300 Message-ID: <20260306103614.3208182-2-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260306103614.3208182-1-eagle.alexander923@gmail.com> References: <20260306103614.3208182-1-eagle.alexander923@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add devicetree binding for the onsemi AR0234 CMOS image sensor. Signed-off-by: Alexander Shiyan --- .../bindings/media/i2c/onnn,ar0234.yaml | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/onnn,ar0234.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,ar0234.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,ar0234.yaml new file mode 100644 index 000000000000..d93fa99e6535 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/onnn,ar0234.yaml @@ -0,0 +1,109 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/onnn,ar0234.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ON Semiconductor AR0234 1/2.6-inch CMOS Digital Image Sensor + +description: + The AR0234 is a 1/2.6-inch CMOS digital image sensor with a pixel + array of 1940x1220 pixels, capable of 1920x1200 resolution at up + to 120 fps. It supports MIPI CSI-2 output with 1, 2, or 4 data lanes, + and raw Bayer (8/10-bit) or monochrome output. + +properties: + compatible: + const: onnn,ar0234cs + + reg: + description: I2C device address + maxItems: 1 + + clocks: + description: Reference clock (external clock) input + maxItems: 1 + + reset-gpios: + description: Reset pin, usually active low (if needed) + maxItems: 1 + + vaa-supply: + description: Analog (2.8V) supply regulator + + vdd-supply: + description: Digital Core (1.2V) supply regulator + + vddio-supply: + description: I/O (1.8V-2.8V) supply regulator + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + description: CSI-2 transmitter port + additionalProperties: false + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + properties: + data-lanes: + description: + Number of MIPI CSI-2 data lanes. Supported values: 2, 4. + minItems: 2 + maxItems: 4 + items: + enum: [1, 2, 3, 4] + + link-frequencies: + description: + Allowed MIPI link frequencies in Hz. The driver expects two + frequencies: one for 8-bit and one for 10-bit modes, + typically 360 MHz and 450 MHz, but any frequency supported + by the sensor may be used. + minItems: 2 + maxItems: 2 + items: + minimum: 360000000 + maximum: 450000000 + + required: + - data-lanes + - link-frequencies + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - port + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@10 { + compatible = "onnn,ar0234cs"; + reg = <0x10>; + clocks = <&clk_ext_camera>; + + vaa-supply = <®_cam_vaa>; + vdd-supply = <®_cam_vdd>; + vddio-supply = <®_cam_vddio>; + + reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>; + + port { + ar0234_ep: endpoint { + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <360000000 450000000>; + }; + }; + }; + }; +... -- 2.52.0