From patchwork Thu Apr 3 22:55:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 14037768 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 4D09D2E62A6 for ; Thu, 3 Apr 2025 22:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743720913; cv=none; b=YJSjLD0pZzBkg+utzcvTHrhfcT3E2CEVr89CRvqR2dvAk9WzZhnnSTXFOlhV9TyhtJkE0ns/Pjxyu9bpAFMQlyGBCE81xAoelMAJ9arVgEOzyIz9EahqKGJx7ry6EwdZBIabYlxBUdlumM5vC4jo0ZXOAFNKcTqT1j0xr3n4y3Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743720913; c=relaxed/simple; bh=ffRvJE/4BkyQpmYML9g9ITvn94Gn2ipUOTX9D0Ct3KU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sGWS5qHbXC8DLj9JdO9Il4keZFOXDKENmomUGWevz414MeRIXsadSfcqLdmsYBfYfCzBay8l9zp7ogW+9itrnenSmAw5xWOFy2JQswjO7JAD/suXU6X7Lmr/FmU3RsUVTmspZtFLt8S08gjYHhRa3FWUxS2/DMJPDKArhxvQsp8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kAxC7HtQ; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kAxC7HtQ" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-39c1efbefc6so924850f8f.1 for ; Thu, 03 Apr 2025 15:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743720908; x=1744325708; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DhCv4j7CCOy4gHHp9VAGi9s30D/BhAAdMeNmK1XUyNQ=; b=kAxC7HtQx8gAsQnM8FjgwxAg33iZlVtOf6fjk+21+0tKakKAk0zIc+nbdwkoQOJqWa YXM5p9Ap19+/AKq6kzv2nlMGy93kJUhu4Fl7Z0UzNGuMqyop5u+cRyGTScjW/LTNjLyP O2yYFGSFaXn/L9Jaq2bcfiIEbGplG1hRn8WeRepsq8jVRdbzgufAmTj11rc+gpKvHiKD o9ENQNvZSF4SVySOpbsYzhNXCpQgR5G4BMpsXVRtSotMchrTJe+jdf4Bfgd9gjuZeN4S s52GEY6rE87XNOVbyBJpomqVto/EjZSMFG5XA5Fsnrzbh1SOEBD/7aASoORzu2C7YfGt R0xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743720908; x=1744325708; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DhCv4j7CCOy4gHHp9VAGi9s30D/BhAAdMeNmK1XUyNQ=; b=InaXxIneB+YLUhaKTU9V152PSVXKovw4TeXE0U5dLnpyf3CT1K1D52V3IeyRH9xOxv Oay6bfe7AiRHUL3jJnc77s9Qx+4IsG9tPaylxb1I6/LjLX2mXz4iIhG8tGFTsiJr++Al F+I34RgdYaZHN9hqQxw0STm6JoiE/paNBXp5EeJzN/zKMIoj4r3U4QRxxYLQE3Ve2ytJ KLSDfSdBLjtzSOg07dnzLG/SmoyO/AEQT8fTOkIUYa4Yk8Yh6AjYDLUGcRmVp+34Uoco XNdgLE5Ar3iQwOBkbA4O05IwaNgTAneTVLBB7Otu4bpz8An2k/Do/LCjrwmAuRxM37QV qYMA== X-Forwarded-Encrypted: i=1; AJvYcCUqErDxBqsnwabKdoZbzjfLDkrXQUHvg2dxV93/CiNk5SWwisE4lJLWWXexWo7z4t7AQKFjJs2euUk+BQ==@vger.kernel.org X-Gm-Message-State: AOJu0YyX8I+fnZVSqCuHvUtuAcHxu0K1e95JHt4NTfhcDsAtjQxoMNpW 1jyNS/MpHso8ITR6bAxBlRIoXF6gQ2EG8B0i5cqIG91UDOQrqngg7C68+T38jdA= X-Gm-Gg: ASbGncvON5O2WkamflonypXfO+0YF21y6IlyL8VO9M9jOo3HajI83vojdxkTO6N+/ur 38+jYDTCsP5q5XYU+wm5KkKcemdj711QjQFE8vzXVFWoa1jRHae6+IiVJ4yyD+kVadYQ6oyHb40 T8tQsyVdVa+cUKWczGow4FdVMFTl7uqkPTjcD/VnDjVtlrOQVHXQtkuRuX3wH7eBsBNshdSw+U/ 1A4BLLtqn2CK+2K58j9Y1EB8c+SqXVD+5yc/Pm/Uvta+8NKKvWZ5za8SAaZXo72mkAnumn/TPNu TmRGjP/0502GCb8UTlMI3LrLLSoL3OpQ+0h4OY/TItpLbUlD5aH89TSb/ZTQj8qYMDlMsBiFTMU 1MeRZ0MIHlw== X-Google-Smtp-Source: AGHT+IF/tQuvPH6MHbSfEnJMZa9wiBR8v2f+K4Vpyqfm6aM31m7jVUX3Xbswaw0ht1di3fpRjRlfOg== X-Received: by 2002:a05:6000:40dd:b0:38d:d701:419c with SMTP id ffacd0b85a97d-39cba977784mr776597f8f.41.1743720908568; Thu, 03 Apr 2025 15:55:08 -0700 (PDT) Received: from [192.168.0.34] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c301b8ae1sm2936829f8f.51.2025.04.03.15.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 15:55:08 -0700 (PDT) From: Bryan O'Donoghue Date: Thu, 03 Apr 2025 23:55:05 +0100 Subject: [PATCH v3 1/2] media: dt-bindings: Add OmniVision OV02E10 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250403-b4-media-comitters-next-25-03-13-ov02e10-v3-1-b30d5693688c@linaro.org> References: <20250403-b4-media-comitters-next-25-03-13-ov02e10-v3-0-b30d5693688c@linaro.org> In-Reply-To: <20250403-b4-media-comitters-next-25-03-13-ov02e10-v3-0-b30d5693688c@linaro.org> To: Mauro Carvalho Chehab , Sakari Ailus , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue , Hans de Goede Cc: Jingjing Xiong , Hao Yao , Jim Lai , You-Sheng Yang , Alan Stern , Hans de Goede , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Bryan O'Donoghue , Krzysztof Kozlowski X-Mailer: b4 0.14.2 Add bindings for OVO2E10 a two lane MIPI CSI, two megapixel 1080p RGB sensor. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bryan O'Donoghue --- .../bindings/media/i2c/ovti,ov02e10.yaml | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4ac4e11a16c8bb7a53db0c44289b1004dbdc282a --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov02e10.yaml @@ -0,0 +1,113 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (c) 2025 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/ovti,ov02e10.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Omnivision OV02E10 CMOS Sensor + +maintainers: + - Bryan O'Donoghue + +description: | + The Omnivision OV02E10 is a 2 megapixel, CMOS image sensor which supports: + - Automatic black level calibration (ABLC) + - Programmable controls for frame rate, mirror and flip, binning, cropping + and windowing + - Output formats 10-bit 4C RGB RAW, 10-bit Bayer RAW + - 2-lane MIPI D-PHY TX @ 720 Mbps per lane + - Dynamic defect pixel cancellation + - Standard SCCB command interface + +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + +properties: + compatible: + const: ovti,ov02e10 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + avdd-supply: + description: Analogue circuit voltage supply. + + dovdd-supply: + description: I/O circuit voltage supply. + + dvdd-supply: + description: Digital circuit voltage supply. + + reset-gpios: + description: Active low GPIO connected to XSHUTDOWN pad of the sensor. + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + additionalProperties: false + + properties: + data-lanes: + items: + - const: 1 + - const: 2 + link-frequencies: true + remote-endpoint: true + + required: + - data-lanes + - link-frequencies + - remote-endpoint + +required: + - compatible + - reg + - clocks + - port + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ov02e10: camera@10 { + compatible = "ovti,ov02e10"; + reg = <0x10>; + + reset-gpios = <&tlmm 237 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&cam_rgb_defaultt>; + + clocks = <&ov02e10_clk>; + + assigned-clocks = <&ov02e10_clk>; + assigned-clock-parents = <&ov02e10_clk_parent>; + assigned-clock-rates = <19200000>; + + avdd-supply = <&vreg_l7b_2p8>; + dvdd-supply = <&vreg_l7b_1p8>; + dovdd-supply = <&vreg_l3m_1p8>; + + port { + ov02e10_ep: endpoint { + remote-endpoint = <&csiphy4_ep>; + data-lanes = <1 2>; + link-frequencies = /bits/ 64 <400000000>; + }; + }; + }; + }; +...