From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 7AC9E46EF7B for ; Fri, 7 Aug 2026 10:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786098555; cv=none; b=ViJ+G2Nve6BDqR6cUeVJxqrqfE/wriYm5nwUFCSt79KN6L7tASSB2PGpRAL2P1hwJCBkeXwZII9S4TGyyo5SgK0C/veagHK+1eotb708LgY2s927hHnmQc9eB6xx17m1vj1l0RqdXKy/7Q9qmglqUtX8pZ0kFk0RSkHKvvRjVKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786098555; c=relaxed/simple; bh=Pcly90Hr3S0tO+FdcmS9oaa/Iu1o6r06YG+f5mNv5xo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=K3c5fPh0dm5tOzMcwv9lmD9uPnYWuMVNjp8pU5KF9fqsvoUdkjDYZ84wYmqQc5/hrI68ll/k+IYuDO0qyDV8SQ0i+Zgw8wDij7QZGpxvpaPy3ffysXP28+c0dfByJrB8hdUuwbO8VDsYUImR9bHGNyqWPfrSCSejirCxG2oSHdk= 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=BvfI4o6L; arc=none smtp.client-ip=209.85.167.42 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="BvfI4o6L" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5b0115b9e17so3233424e87.0 for ; Fri, 07 Aug 2026 03:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786098551; x=1786703351; 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:content-type; bh=RJFmdsGJ2WppByZ2NPQSV9ghzwoP1HtmLTq1RZsqSjE=; b=BvfI4o6LZJ9YVxskuedGZ642ZZ5s6B6EVD3wQMQ1VxCmG/nu2ETkIxobU0Mu78Va3c 9XsTG7xJu7K1iQsQVMTOZhcZrghkQx4W77vym3huS8zanxCjW4lQAVlic+uj3ENk5PnR bZ/YOhM2HcW5a+rzV5jHmaieY2tQAC9Gn5m/MQjtG7HDJTGfA27ScIrSoSRiTtJbNG4r NMtd/CF2a2YJB1EugqvEFjI6bz3xeDc2dq3rf07iwOYDCTMI0w7Z5t+4yH/aixbZLbXw uIQ9mDANVvEzrECSDISF4nE7UH+QQZUQxJ2TcG/dVWOhUs54VMQr3EQOZT8MDjxn/J4T GEIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786098551; x=1786703351; 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:content-type; bh=RJFmdsGJ2WppByZ2NPQSV9ghzwoP1HtmLTq1RZsqSjE=; b=ZlDDoOHoRRf4dYXbZpAU1htMkcYwiYw2ONXBdL1TV4vHEhs2J2qZnKwxJKmwN/wLPk BbTq0U61DnvUm7cG5ooTtjNT+ZY0F/a3ijCqoddLhIbVD3BggpklnEklij51Quf/wAJ7 Ngs2/Hr9M1HJfjbcsNHz5o6hL9nTQ0P1H85C5VtpswTEj56UCESoEl8DyNUKD4wlPvbB YfJZBSr2HM0qz8v8+kqDI7jmSrfjEPnYH6UjOGWX47bIsF89D+IpRMt7QbVEIxa3qpoj frYSHgGotcbnnmojdCRC2kd/N01/meIBBz2X63EqLLFxHTgVwQCPgKQ/JcNcukmpWPgH YeaA== X-Gm-Message-State: AOJu0Yxa8vVjIL0ojiupfLXRYzFhKacHfFwkLuDdOP82jDXt5BDNbRAI yfYd1v6XA9V0rFQpT/f3UR0ST73+Awk8a198TO2X6xt697JNTFqDkQQC X-Gm-Gg: AR+sD13RorRtzfSk3T7XxW0iyIIkYuzeHXQeJ4NgtyfMHEbwZ8C1ziB36qZckIyMs6l tlI5hXeH+IB3lvaGgQr4cDypsE1B1X7xZ8o4AGeOtj8YenevvhAmDG/4kOkKRM8iMakdF4hsA2B 76KJ9DBYQmi168+js05ruBUh1DtFMaSTNFq7dZaYcOoRERImixM8PonsAlM5TWkGVOWj/g2r2Er c3y2cQI8O0dPghbGf9pBqHqjy2RP6y7OUA+3pMXvNcLgJWsqdvOYrx8Ac4kA2ZCXw72pDlXljsv Ec37rFgD7QWtXDScjFlgp8f+xOPuRncYXO56Zq5jVNsQb5UA5mb+nazzrU4PuRQN23QiRxldOMf 1zcaDyxnKbKbqGO99nUf2dRlFFhrNccvAx0M1LCvkSkXf40ljcC5AX+NwI69aQbS70NltD38cI/ RtggVJPqd2mFeQY2yehmmMrm3qK2JZIR8hqq0IXLhG9pRj79EGWRSL/N1mMxaGy5n6r15XugW1W 9o1 X-Received: by 2002:a05:6512:33d0:b0:5ae:ba8f:f9fa with SMTP id 2adb3069b0e04-5b303b4ce93mr1220484e87.18.1786098551350; Fri, 07 Aug 2026 03:29:11 -0700 (PDT) Received: from gentoo.sknt.ru ([95.161.221.172]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b304fd1d2bsm394811e87.6.2026.08.07.03.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2026 03:29:10 -0700 (PDT) From: Alexander Shiyan To: linux-media@vger.kernel.org Cc: devicetree@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Conor Dooley , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Dave Stevenson , Alexander Shiyan Subject: [PATCH v2 1/2] dt-bindings: media: i2c: Add onsemi AR0234 image sensor binding Date: Fri, 7 Aug 2026 13:28:46 +0300 Message-ID: <20260807102847.1813059-2-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260807102847.1813059-1-eagle.alexander923@gmail.com> References: <20260807102847.1813059-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 | 126 ++++++++++++++++++ 1 file changed, 126 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..d6db435be9e2 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/onnn,ar0234.yaml @@ -0,0 +1,126 @@ +# 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 + +maintainers: + - Alexander Shiyan + +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 2 or 4 data lanes, + color raw Bayer (8/10-bit) or monochrome output. + +properties: + compatible: + oneOf: + - const: onnn,ar0234cs + - items: + - enum: ["onnn,ar0234cssc", "onnn,ar0234cssm"] + - 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 + + orientation: true + rotation: true + + 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 + oneOf: + - items: + enum: [1, 2] + minItems: 2 + maxItems: 2 + - items: + enum: [1, 2, 3, 4] + minItems: 4 + maxItems: 4 + + link-frequencies: + description: + Allowed MIPI link frequencies in Hz. Two frequencies must + be provided, one for 8-bit mode and another for 10-bit mode. + Each frequency shall be within the sensor valid operating + range. + minItems: 2 + maxItems: 2 + items: + minimum: 360000000 + maximum: 450000000 + + required: + - data-lanes + - link-frequencies + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - port + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@18 { + compatible = "onnn,ar0234cssc", "onnn,ar0234cs"; + reg = <0x18>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cam>; + clocks = <&clk27m>; + vaa-supply = <®_cam_vaa>; + vdd-supply = <®_cam_vdd>; + vddio-supply = <®_cam_vddio>; + reset-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; + + port { + ar0234_out: endpoint { + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <360000000 450000000>; + remote-endpoint = <&ar0234_in>; + }; + }; + }; + }; +... -- 2.52.0