From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 373AEC32793 for ; Wed, 18 Jan 2023 15:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ujUG8PM1s83jswc0TBWOK8GFp/MwrFPmRMtMnjAl+Dw=; b=vgOxQ/OYLq88wS viGJEJ+VpYZkTcIF9rXu3AXUzZcQfHka5NPuf1NYWbLxB7aZKo5KpCKEZaIE5o5md6yPV1PvVyL5J Xb+L6V+fIav8BgrOiRp+i/bo8JQx2q6z+NvRwV/R14w2B8xGO76i7647Zq4YrOpG9dWfbN0eVrruL MPBEOQg/Ua/EqwIx8JxeUcU0BVW0Edw4vz/PqYhRMM1XnEFkcqcFX0Y1FscdWjM07hNivODdV8h9/ 3qgREIEVl8CB3PXHkdLbLlIEjtzZdgF0aicjSysBtQG9bmd2W7itxR+7vtME386G8NegxPjEZ5gDq VuRqn06UoBJCxDjbZyQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIAiB-001gTk-2z; Wed, 18 Jan 2023 15:50:52 +0000 Received: from mail-oo1-f48.google.com ([209.85.161.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIAgL-001fTZ-3Q for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 15:48:58 +0000 Received: by mail-oo1-f48.google.com with SMTP id t14-20020a4ad0ae000000b004f51f61de9fso2029760oor.13 for ; Wed, 18 Jan 2023 07:48:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AYovn9TNMLK9yH9oQn2nAGpxM1OD6nBpNMaOlnS+2Vc=; b=8Ag0yoyDEaa2153u1MNJupV6emr5XqJ2tNRkf+BHWd3wmpqSRpZM1ljjBi2h+sCgHp W5ZEVC110I8pR4P7CDZ/4qO5Q/qNIYpdDvk/qK5wi3smHqH8dENGIlFuD25OOgHaQoM4 AfTJMBRbx5Vn0gzp81Xl/xkUcjmUElg4B2OazlNtiGZHdlqwhuoXmwBKs0EQOyNKmfiY jvd4xmxN89ETRsB76Y+nH0YBGJcKRJFySRbHt/uyykfOhV3kQKyVM1Ewli8RFwRvoZW0 ilJ8++D4oydfI5xSfUm+mJuAP937YaO7KzsO04xCfQLF4EsqKcxMVcsJ5NNpXWtzBCYl eNuw== X-Gm-Message-State: AFqh2kqqyFIrMCLS/JzMzJAvmefCVW1x5vZyLKnEEZOmr0JURKd1HlcW DYUW2DUeYrDbecBeMEhsiIaZOXKtfQ== X-Google-Smtp-Source: AMrXdXuLEpOJ51vJCCLbJC9ZuJIJ0cX1UL1IoGNleq9XsYXwsk7bGdCGUfxvOJc8VObdNlRB69erXw== X-Received: by 2002:a4a:944a:0:b0:4e7:128c:f195 with SMTP id j10-20020a4a944a000000b004e7128cf195mr3326321ooi.8.1674056933271; Wed, 18 Jan 2023 07:48:53 -0800 (PST) Received: from robh_at_kernel.org ([4.31.143.193]) by smtp.gmail.com with ESMTPSA id g6-20020a4aa706000000b004f9cd1e42d3sm2264840oom.26.2023.01.18.07.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 07:48:52 -0800 (PST) Received: (nullmailer pid 61513 invoked by uid 1000); Wed, 18 Jan 2023 15:48:52 -0000 Date: Wed, 18 Jan 2023 09:48:52 -0600 From: Rob Herring To: Michael Riesch Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Gerald Loacker , Mauro Carvalho Chehab , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus , Shawn Tu , Laurent Pinchart , Hans Verkuil , Marco Felsch , Mikhail Rudenko , Krzysztof =?utf-8?Q?Ha=C5=82asa?= , Marek Vasut Subject: Re: [PATCH 1/2] dt-bindings: media: i2c: add imx415 cmos image sensor Message-ID: <20230118154852.GA55989-robh@kernel.org> References: <20230118103239.3409674-1-michael.riesch@wolfvision.net> <20230118103239.3409674-2-michael.riesch@wolfvision.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230118103239.3409674-2-michael.riesch@wolfvision.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230118_074857_174199_9E264D61 X-CRM114-Status: GOOD ( 22.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 18, 2023 at 11:32:38AM +0100, Michael Riesch wrote: > Add devicetree binding for the Sony IMX415 CMOS image sensor. > > Signed-off-by: Michael Riesch > --- > .../bindings/media/i2c/sony,imx415.yaml | 120 ++++++++++++++++++ > MAINTAINERS | 7 + > 2 files changed, 127 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > new file mode 100644 > index 000000000000..ae54834a2341 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > @@ -0,0 +1,120 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/i2c/sony,imx415.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sony IMX415 CMOS Image Sensor > + > +maintainers: > + - Michael Riesch > + > +description: |- > + The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type > + solid-state image sensor with a square pixel array and 8.46 M effective > + pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface > + 1.8 V triple power supply, and has low power consumption. > + The IMX415 is programmable through I2C interface. The sensor output is > + available via CSI-2 serial data output (two or four lanes). > + > +allOf: > + - $ref: ../video-interface-devices.yaml# > + > +properties: > + compatible: > + const: sony,imx415 > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + description: Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz) > + items: > + - const: inck > + > + avdd-supply: > + description: Analog power supply (2.9 V) > + > + dvdd-supply: > + description: Digital power supply (1.1 V) > + > + ovdd-supply: > + description: Interface power supply (1.8 V) > + > + reset-gpios: > + description: Sensor reset (XCLR) GPIO > + maxItems: 1 > + > + flash-leds: true > + > + lens-focus: true > + > + orientation: true > + > + rotation: true > + > + port: > + $ref: /schemas/graph.yaml#/properties/port /properties/port is for when there are no extra properties. You need /$defs/port-base here since there are extra properties in the endpoint node. > + > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# > + unevaluatedProperties: false > + > + properties: > + data-lanes: true > + link-frequencies: true > + > + required: > + - data-lanes > + - link-frequencies > + > + required: > + - endpoint > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - avdd-supply > + - dvdd-supply > + - ovdd-supply > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + imx415: camera-sensor@1a { > + compatible = "sony,imx415"; > + reg = <0x1a>; > + avdd-supply = <&vcc2v9_cam>; > + clocks = <&clock_cam>; > + clock-names = "inck"; > + dvdd-supply = <&vcc1v1_cam>; > + ovdd-supply = <&vcc1v8_cam>; > + lens-focus = <&vcm>; > + rotation = <180>; > + orientation = <2>; > + reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>; > + > + port { > + imx415_ep: endpoint { > + remote-endpoint = <&mipi_in>; > + clock-lanes = <0>; > + data-lanes = <1 2>; > + }; > + }; > + }; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index f61eb221415b..c9fa893bf649 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -19493,6 +19493,13 @@ T: git git://linuxtv.org/media_tree.git > F: Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml > F: drivers/media/i2c/imx412.c > > +SONY IMX415 SENSOR DRIVER > +M: Michael Riesch > +L: linux-media@vger.kernel.org > +S: Maintained > +T: git git://linuxtv.org/media_tree.git > +F: Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > + > SONY MEMORYSTICK SUBSYSTEM > M: Maxim Levitsky > M: Alex Dubov > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel