Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp456324rdg; Thu, 12 Oct 2023 10:16:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnvQcZxA9wrijdCgytsE9MO92Wf/l/JXCNsIBPUtFQM50hvdAqaK7pBpdGGxZgim6MJQeM X-Received: by 2002:a05:6e02:1548:b0:345:787a:cb1c with SMTP id j8-20020a056e02154800b00345787acb1cmr31495751ilu.6.1697130983081; Thu, 12 Oct 2023 10:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697130983; cv=none; d=google.com; s=arc-20160816; b=i4Wl7uKuIhJiECevY0kAic8gkL72R5y6kA1dplJ4SPownHyz/qWN3v8SGh/Mp8TdY+ FR1qHewVyYo/9Ntx3sVZXR8wdxEYAhJFpdqatyfU9XOKv+MIfLU+MNSiYGaQBgNtRvFa PbLRiGI+ZBeCugIKluI4FhEy+WlE3LBA/5a7Tn4O9+V1yGB4IN+/5lc074ctsmHWEF3m qKwpfcINNX5fL+hZt6yVkwdOrgFJhVVGNdi771Oqq6eUF1xh7RKoLWsgHheUcvDiMc/u cqS4CrjWRYpqDWoUfvNdzbspUBTP9Oqw+LCvlX++CQSWjsKVCpgnCpyuQIQeKZafpnUI cpcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nLkeGz7Sa4dPeerFYvxzdzb7dDMr1ggMVDNkQkdObvw=; fh=FNSjbDzNWRxveqs8w0Ine60SYjEeUzmsy20T46WSGqc=; b=jUEdx4AmUHVpMQOzg71g51T5y7NknsoBD0/6aerFtTZdMLzikOEK4TTljpZdg0up5b 5hERteMeR64Qm7FW+bGYVPUwuL8VXKceMoY5hm7tJvM2MTc4JYUqH8C1/JFbQ3BqlRNP yTAQ+ZKp2p/fp2TEZ4aUogVfHY29R0IhgOuw4MJcBSiFfL/IbxA+wVxIDOpTE7Xj1Amd 94+Q13khRJB/xr5EB0DGK/jcOsSLLIX6PawR5dnKyioG5+r/cxstckNdkq8fCe3NIvHR h1to7Seun7n4mmu7qnUBA4R9JRf79n7pAofj5qYb5xHjJA+CHRAMPu7tDGp+HI/M3En9 Vubw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JNiv9Xw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m11-20020a63fd4b000000b00570505c5267si2546461pgj.262.2023.10.12.10.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 10:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JNiv9Xw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0421580FCE4D; Thu, 12 Oct 2023 10:16:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347339AbjJLRP4 (ORCPT + 99 others); Thu, 12 Oct 2023 13:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344113AbjJLRPz (ORCPT ); Thu, 12 Oct 2023 13:15:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7369B8; Thu, 12 Oct 2023 10:15:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4415EC433C7; Thu, 12 Oct 2023 17:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697130952; bh=8B3mEtytGQ+9P80dsC6mkeTmemAtP8wbmzaGzdq4EJw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JNiv9Xw1pfSgZ32ckrZdEsMpW/dLxy6OQ9kjwLXyXSCLCsKNI0dWOu7x58IXC7xvR KC4xYBnN1xD0HrRtJZh0n+I5MmmhAFlVijHTwGuGLcLvN2EY52xDrWjWa+XFQc3uSo SHnL7bKHIlI9ObROkvmIu3+n5ySSNG+G9T34lZs+f5vervcqw25HZA1j99ikHduqOP K0x1K3r7TO1G4dHZAEbDwKOKhRh1+YsVPgo8ATF+1RQd1LSLhx06QmtIdk47VNncLz s0RXoLtay9qIgBeI2g/XVoCvfDUdyxCKiBx+wPjvjiDeMjDRqO5KfDqRIiXchZb2Ui h2LMRvCgvFX7g== Date: Thu, 12 Oct 2023 18:15:47 +0100 From: Conor Dooley To: Alain Volmat Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Kieran Bingham , Rob Herring , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings Message-ID: <20231012-marrow-bladder-9efc4354e9bd@spud> References: <20231011175735.1824782-1-alain.volmat@foss.st.com> <20231011175735.1824782-3-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="noVBr97ToKNg5osG" Content-Disposition: inline In-Reply-To: <20231011175735.1824782-3-alain.volmat@foss.st.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 10:16:20 -0700 (PDT) --noVBr97ToKNg5osG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 11, 2023 at 07:57:29PM +0200, Alain Volmat wrote: > Introduction of the Galaxy Core GC2145 XVGA CMOS camera sensor. >=20 > Signed-off-by: Alain Volmat This seems okay to me. Reviewed-by: Conor Dooley Thanks, Conor. > --- > .../bindings/media/i2c/galaxycore,gc2145.yaml | 104 ++++++++++++++++++ > 1 file changed, 104 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycor= e,gc2145.yaml >=20 > diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc214= 5.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml > new file mode 100644 > index 000000000000..94d194cf5452 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml > @@ -0,0 +1,104 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/i2c/galaxycore,gc2145.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Galaxy Core 1/5'' UXGA CMOS Image Sensor > + > +maintainers: > + - Alain Volmat > + > +description: > + The Galaxy Core GC2145 is a high quality 2 Mega CMOS image sensor, for= mobile > + phone camera applications and digital camera products. GC2145 incorpor= ates a > + 1616V x 1232H active pixel array, on-chip 10-bit ADC, and image signal > + processor. It is programmable through an I2C interface. Image data is = sent > + either through a parallel interface or through MIPI CSI-2. > + > +allOf: > + - $ref: ../video-interface-devices.yaml# > + > +properties: > + compatible: > + const: galaxycore,gc2145 > + > + reg: > + const: 0x3c > + > + clocks: > + maxItems: 1 > + > + powerdown-gpios: > + maxItems: 1 > + > + reset-gpios: > + maxItems: 1 > + > + iovdd-supply: > + description: Power Supply for I/O circuits (1.7 - 3V). > + > + avdd-supply: > + description: Power for analog circuit/sensor array (2.7 - 3V). > + > + dvdd-supply: > + description: Power for digital core (1.7 - 1.9V). > + > + orientation: true > + > + rotation: true > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base > + > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# > + unevaluatedProperties: false > + > + required: > + - endpoint > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - clocks > + - powerdown-gpios > + - reset-gpios > + - iovdd-supply > + - avdd-supply > + - dvdd-supply > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + camera@3c { > + compatible =3D "galaxycore,gc2145"; > + reg =3D <0x3c>; > + clocks =3D <&clk_ext_camera>; > + iovdd-supply =3D <&scmi_v3v3_sw>; > + avdd-supply =3D <&scmi_v3v3_sw>; > + dvdd-supply =3D <&scmi_v3v3_sw>; > + powerdown-gpios =3D <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUS= H_PULL)>; > + reset-gpios =3D <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PU= LL)>; > + > + port { > + endpoint { > + remote-endpoint =3D <&mipid02_0>; > + data-lanes =3D <1 2>; > + }; > + }; > + }; > + }; > + > +... > --=20 > 2.25.1 >=20 --noVBr97ToKNg5osG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSgpwwAKCRB4tDGHoIJi 0lRiAQCnJJxKQjT/BHIQ2uhbewNOGqJKgULV2cuD6zhX9Qg8bgEAgENNN/SEhBsh lglB9jAXyAFQwNLjBTvEjI6s7S29rQQ= =N/2r -----END PGP SIGNATURE----- --noVBr97ToKNg5osG--