Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3916206pxv; Mon, 26 Jul 2021 15:46:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQXPSdIPbUKTuLtEnygWgt8a8GszSP43fL5e/x5UzL78JsQW9Y8bXSoPVZ3SibHRP/0Yb7 X-Received: by 2002:a05:6e02:12e3:: with SMTP id l3mr10291738iln.6.1627339604746; Mon, 26 Jul 2021 15:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627339604; cv=none; d=google.com; s=arc-20160816; b=lehHtIerBqiRxznoIQS7knKea7RPZJIYZX5dXimZXdKbPP6FAdOvLS7vcOFvk/9JY4 vB11LsOMUO77Og8i5wIlLfAtNgmTTgJiWwb3/hNaWsByrgqayWQx3RQd1ba+UqHl6Bpa 75sxBKIttw6mzVzBfOFn7VD+PV5R128hZseOFYmlxFf50+dyEGrK0xnP7xeuwf6uV+a7 6p/2s5jjcwR/O89RvOV9bEHzWz1ZQI0Y+IwIqD27jr7FmMOVkb+6sapvOQ8jxlbA9SZc WDPWwC0dKSZEyB1uIB7seX1Ob4RaIECPTOt/uCt2BMWRVRt/pmVsMKHCl/69rQqlKTvk DRGg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JJi5/NipfYexXfhOBVu2EGHhfRXUbMtu0cckqDFhtN0=; b=XiQYoskWMyHREhMVwWXE7cUfxOSH6HPqT2BjYtLgclImjRq3hKuf/mb1fbLD6JT4Vg Ci9ZYP1rsWJ2ZZLQIDm4fEHxpzP3IXpG63fhpvakioPzZsnZey7i7aSGAwrG5/SmXqX/ 7FyQ9ecz0IoudtL243qRdVEmYwN6ueIAeejACSIaP3A1057nwECJ27OAJ38Kig+cGbaH FmGFfva8MqWVbEQkPUy9XtuXcg7bmF9Zrp8bj0wOG84E4+0RFko11OHpBX2O+kejkfC5 HFyfXRJDoG1h6Ij6I1yVS84yYhq6pqFH0oLOieTZT/O27sgvrrKz99JD4vI6CdPofLL3 N2iA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si1224685ilm.115.2021.07.26.15.46.32; Mon, 26 Jul 2021 15:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233607AbhGZWFK (ORCPT + 99 others); Mon, 26 Jul 2021 18:05:10 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:34412 "EHLO mail-io1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231502AbhGZWFK (ORCPT ); Mon, 26 Jul 2021 18:05:10 -0400 Received: by mail-io1-f54.google.com with SMTP id y200so13932506iof.1; Mon, 26 Jul 2021 15:45:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=JJi5/NipfYexXfhOBVu2EGHhfRXUbMtu0cckqDFhtN0=; b=G0OR7GZS1UP7KQl+h+kHf1CCu33AqXTr1mSAdrqACOzz8sC/WP0yFEC+VXB3FNNVD2 JKOASIhgjIsy6rd1fGTNYML97Y38IA7WUjD64w3vA5nuA7L6lYITB1GtSxN+WUNpXrsm NP+StMrxKSN72zCkOKSkyz3gPL60xUJg1RKG1xf/Pq5Oh44b5XKdMMiu8ksDjScBUxBA ab+VKNh4x83EK7921Nmgon69mFYnmzACSHE2aeaGzjpHcewc0WDUb/03fjrGXMUgJzDv gSonFBwMgjj55iG0gmtHBXizJJosPqze2x+TCRcCtkIUmxxTQar4DR5zC41zvWjt6y4j 8bBQ== X-Gm-Message-State: AOAM531Lrt+vn2VpqlDI03evSblmw/ypLPVGTlLV5g7mpf5NtBfGBf/5 hUWo8JJT1akDs28cJuI/Aw== X-Received: by 2002:a6b:3e8b:: with SMTP id l133mr16345712ioa.137.1627339537187; Mon, 26 Jul 2021 15:45:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id z13sm767248iop.18.2021.07.26.15.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 15:45:36 -0700 (PDT) Received: (nullmailer pid 1014418 invoked by uid 1000); Mon, 26 Jul 2021 22:45:34 -0000 Date: Mon, 26 Jul 2021 16:45:34 -0600 From: Rob Herring To: Krzysztof =?utf-8?Q?Ha=C5=82asa?= Cc: devicetree@vger.kernel.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart Subject: Re: [RFC v3] dt-binding: media: document ON Semi AR0521 sensor bindings Message-ID: <20210726224534.GB1009398@robh.at.kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 21, 2021 at 10:06:34AM +0200, Krzysztof Hałasa wrote: > This file documents DT bindings for the AR0521 camera sensor driver. > > Signed-off-by: Krzysztof Hałasa > --- > Changes from v2: > - changed "xclk" to "extclk" > - power regulator names etc. > - video output port properties > - cosmetics > - UTF-8 experiments :-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,ar0521.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,ar0521.yaml > new file mode 100644 > index 000000000000..785bae61bb5e > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/onnn,ar0521.yaml > @@ -0,0 +1,108 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/i2c/onnn,ar0521.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ON Semiconductor AR0521 MIPI CSI-2 sensor > + > +maintainers: > + - Krzysztof Hałasa > + > +description: |- > + The AR0521 is a raw CMOS image sensor with MIPI CSI-2 and > + I2C-compatible control interface. > + > +properties: > + compatible: > + const: onnn,ar0521 > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: extclk > + > + vaa-supply: > + description: > + Definition of the regulator used as analog (2.7 V) voltage supply. > + > + vdd-supply: > + description: > + Definition of the regulator used as digital core (1.2 V) voltage supply. > + > + vdd_io-supply: > + description: > + Definition of the regulator used as digital I/O (1.8 V) voltage supply. > + > + reset-gpios: > + description: reset GPIO, usually active low > + maxItems: 1 > + > + port: > + $ref: /schemas/graph.yaml#/properties/port $ref: /schemas/graph.yaml#/$defs/port-base unevaluatedProperties: false > + description: | > + Video output port. > + > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# unevaluatedProperties: false > + > + properties: > + data-lanes: > + anyOf: > + - items: > + - const: 1 > + - items: > + - const: 1 > + - const: 2 > + - items: > + - const: 1 > + - const: 2 > + - const: 3 > + - const: 4 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - vaa-supply > + - vdd-supply > + - vdd_io-supply > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ar0521: camera-sensor@36 { > + compatible = "onnn,ar0521"; > + reg = <0x36>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mipi_camera>; > + clocks = <&clks IMX6QDL_CLK_CKO>; > + clock-names = "extclk"; > + reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; > + vaa-supply = <®_2p7v>; > + vdd-supply = <®_1p2v>; > + vdd_io-supply = <®_1p8v>; > + > + port { > + mipi_camera_to_mipi_csi2: endpoint { > + remote-endpoint = <&mipi_csi2_in>; > + data-lanes = <1 2 3 4>; > + }; > + }; > + }; > + }; > > -- > Krzysztof "Chris" Hałasa > > Sieć Badawcza Łukasiewicz > Przemysłowy Instytut Automatyki i Pomiarów PIAP > Al. Jerozolimskie 202, 02-486 Warszawa >