From nobody Thu Oct 2 20:27:49 2025 Received: from lx20.hoststar.hosting (lx20.hoststar.hosting [168.119.41.54]) (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 3DFA12C0285; Fri, 12 Sep 2025 07:37:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.41.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757662652; cv=none; b=upDKgfsUBr/qz0/qq2mpxG3AvAqrLOZYQ3LbiqhkRvLwNBYENxD9bSMSn9qdBi4iS5eolVEds0Fdf2XXg6OVMfavASRksUxcgfrdw2LtCu0pylk0ugz7lhlgXS0nFJ2jCP/3/gJkIEx0m9CKYUES/g30bkdqKXAyVd61Uemiw0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757662652; c=relaxed/simple; bh=xSdN1ARq4VKZwcfswJMwbgRq/nok9008eg3FLiOezis=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I6e0lMfcMdyn/jl9i6QqcWOyDeryQ+5N7jWTNfRIff0Z4XrqaxSF0UhadVR4Yb5cIA5zyFf7PpypJJNulvveKGnTkjjvsvEQ91AMScqFNQBNR0ID+bfd6filtEljxKF+V8uBVad99lrPyxSaTDSPWm11uMg1EreGew1BI39tGbI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emfend.at; spf=pass smtp.mailfrom=emfend.at; dkim=pass (1024-bit key) header.d=emfend.at header.i=@emfend.at header.b=X3kZEPgO; arc=none smtp.client-ip=168.119.41.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emfend.at Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emfend.at Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=emfend.at header.i=@emfend.at header.b="X3kZEPgO" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=emfend.at; s=mail; h=Cc:To:In-Reply-To:References:Message-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=huxSRg+uOi7I52RRiZFldaJYfUnNshFIno9vEZ1PUTY=; b=X3kZEPgOcc2w7junMPuZhzFU+N id55IbUsx7041luVwgJVji1BYSmj52/ULOTPuUyejWh7HApoNc9ouWt/nY6eDA6m/nBvWEGXvBSmi MMvYdFwmdEEK5rMFtakskIY4os6lldUkCR9Q4galKDXAx2/+h3ghRe6o9YkcRHPp6c9Y=; Received: from 194-208-208-245.tele.net ([194.208.208.245]:49496 helo=[127.0.1.1]) by lx20.hoststar.hosting with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1uwyLH-008rCR-01; Fri, 12 Sep 2025 09:37:11 +0200 From: Matthias Fend Date: Fri, 12 Sep 2025 09:37:06 +0200 Subject: [PATCH v3 1/2] media: dt-bindings: i2c: add Himax HM1246 image sensor Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250912-hm1246-v3-1-3b89f47dfa43@emfend.at> References: <20250912-hm1246-v3-0-3b89f47dfa43@emfend.at> In-Reply-To: <20250912-hm1246-v3-0-3b89f47dfa43@emfend.at> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans Verkuil , Sakari Ailus , Hans de Goede , Ricardo Ribalda , =?utf-8?q?Andr=C3=A9_Apitzsch?= , Tarang Raval , Andy Shevchenko , Benjamin Mugnier , Sylvain Petinot , Dongcheng Yan , Bryan O'Donoghue , Alan Stern , Jingjing Xiong , Heimir Thor Sverrisson Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Hao Yao , Matthias Fend , bsp-development.geo@leica-geosystems.com X-Mailer: b4 0.14.2 X-Spam-Score: -1.0 X-Spam-Bar: - X-Spam-Report: Spam detection software, running on the system "lx20.hoststar.hosting", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, this series adds support for the Himax HM1246 image sensor. The Himax HM1246-AWD is a 1/3.7-Inch CMOS image sensor SoC with an active array size of 1296 x 976. Currently, only the native RAW mode is s [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 Local_hs1_NotHoststar Sender is not from hoststar.ch|de|com 0.0 TVD_RCVD_IP Message was received from an IP address 0.0 URIBL_DBL_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to dbl.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: himax.com.tw] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: himax.com.tw] 0.0 URIBL_ZEN_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: himax.com.tw] 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment Add YAML device tree binding for Himax HM1246 image sensor. Reviewed-by: Rob Herring (Arm) Signed-off-by: Matthias Fend --- .../bindings/media/i2c/himax,hm1246.yaml | 113 +++++++++++++++++= ++++ 1 file changed, 113 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml = b/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml new file mode 100644 index 0000000000000000000000000000000000000000..90c9839fdcfd81eb208bfe5716c= 957c315081067 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml @@ -0,0 +1,113 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2025 Matthias Fend +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/himax,hm1246.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HM1246-AWD 1/3.7-Inch megapixel SoC image sensor + +maintainers: + - Matthias Fend + +description: + The Himax HM1246-AWD is a 1/3.7-Inch CMOS image sensor SoC with an active + array size of 1296 x 976. It is programmable through an I2C interface and + connected via parallel bus. + +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + +properties: + compatible: + const: himax,hm1246 + + reg: + maxItems: 1 + + clocks: + description: Input reference clock (6 - 27 MHz) + maxItems: 1 + + reset-gpios: + description: Active low XSHUTDOWN pin + maxItems: 1 + + avdd-supply: + description: Power for analog circuit (3.0 - 3.6 V) + + iovdd-supply: + description: Power for I/O circuit (1.7 - 3.6 V) + + dvdd-supply: + description: Power for digital circuit (1.5 / 1.8 V) + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + description: Parallel video output port + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + hsync-active: + default: 1 + + vsync-active: + default: 1 + + pclk-sample: + default: 0 + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - avdd-supply + - iovdd-supply + - dvdd-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + sensor@24 { + compatible =3D "himax,hm1246"; + reg =3D <0x24>; + + clocks =3D <&hm1246_clk>; + + reset-gpios =3D <&gpio0 0 GPIO_ACTIVE_LOW>; + + avdd-supply =3D <&hm1246_avdd>; + iovdd-supply =3D <&hm1246_iovdd>; + dvdd-supply =3D <&hm1246_dvdd>; + + orientation =3D <2>; + rotation =3D <0>; + + port { + endpoint { + remote-endpoint =3D <&isp_par_in>; + bus-width =3D <10>; + hsync-active =3D <1>; /* active high */ + vsync-active =3D <1>; /* active high */ + pclk-sample =3D <1>; /* sample on rising edge */ + }; + }; + }; + }; --=20 2.34.1