Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1581699pxa; Thu, 6 Aug 2020 10:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDfuY6qvzfzAkEer1QpY5Lk1UmktETRX4EcWQu+xGIhNKhauogabk2/BpM17MM9FHOlM4S X-Received: by 2002:a17:906:2356:: with SMTP id m22mr5427805eja.124.1596736047462; Thu, 06 Aug 2020 10:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596736047; cv=none; d=google.com; s=arc-20160816; b=YkfjJiC68tvoGUV1MOm+tuv2cRiwuovcHyL1ZKyg+uRu8pUkWNSCkamwSDbM4RjPLs Cui2k9YCIrCu5KXMuLZxjAsZJHtCtkzgZZrlkJ1wnNhGI6fC+9H2gNCS0mf/rNiI3FQ7 5ZgfnBRFjTe/WdHqvXUdpc4Ha6sZvuvEs/LuQcu7GwgQwstxYglGifxnfU9DAozUmbW5 8TTwnZ5E4YOOs3S8nTw7UpNjrW6LASsR5X3FzMD1gQF/9/YvKMt310/W+f7L97Adz4Cu nAvsJPIAhxDGcWY4R8AOE9sz/wkgf6j+W5dTokgvrp4c3IXv3vC9Yo6YZhTrVgE7ah1B h3eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=P4Zn0qn3mdGIYvApacShijcI3pwfiibuf54qZrfFAN8=; b=ARLyKsYIwtXO6d3MQ8hhChgJiHrZaMWnfMfJb2rJT0fz5jdJ/dCmb2IYWibLEYvhsu iZ6rpcQI0Vks5k/rbnbWKxWrRlLAP5E/f9F4nAfZ3RFEjIQI5EyVfFgBgIcL1Bf32GQ4 7ZUb6g96NUYRbqaj/nGXjcuetsapzbfxClwoWtKNA1Lpfm0/FlGb4dK8vQTEm5+yHTpG sQj46uPvhYpH4tVU1BYTeYK/fo7N81YUKHse7M/efdvUhZZ20W75opc5cx3TOFLRX8I9 3C4PnshoeWUmSfnCglWDm6OYskgKjvGxoIGthHb+QRIWB8eI5UrDT9UD24pXb7RZdcsT a81g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KWXcQgGd; 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 c1si3661847ejm.280.2020.08.06.10.47.05; Thu, 06 Aug 2020 10:47:27 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KWXcQgGd; 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 S1729492AbgHFRoj (ORCPT + 99 others); Thu, 6 Aug 2020 13:44:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:33500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729956AbgHFRoY (ORCPT ); Thu, 6 Aug 2020 13:44:24 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 40AC2206C3; Thu, 6 Aug 2020 17:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596735864; bh=2i0YiYO+pFON8lfWkVE2W+QfvpxnObYdodz6Mu2z+ZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KWXcQgGdT2Xmvb8ofu4bOz03/VCV2QS+PW2MAo7cuyn+I2dOTYybXdPMv2KkS8ZYx sRHaoqCj13Ow7a3ZR/C0vptx91FG/jjUzI/Zdk1WLGMONN0XYujaRTnt+JXJll6lep 36yt0Lr1pxrsjcSVi2PJccqh7XN+117WVLo+hIv8= Date: Thu, 6 Aug 2020 18:44:18 +0100 From: Jonathan Cameron To: Christian Eggers Cc: Rob Herring , Andy Shevchenko , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , , , , Rob Herring Subject: Re: [PATCH v6 1/2] dt-bindings: iio: light: add AMS AS73211 support Message-ID: <20200806184418.4bcfc79c@archlinux> In-Reply-To: <20200805055744.31909-2-ceggers@arri.de> References: <20200805055744.31909-1-ceggers@arri.de> <20200805055744.31909-2-ceggers@arri.de> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Aug 2020 07:57:43 +0200 Christian Eggers wrote: > Add DT bindings for AMS AS73211 XYZ True Color Sensor. > > Signed-off-by: Christian Eggers > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to poke at it. Thanks, Jonathan > --- > .../bindings/iio/light/ams,as73211.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/ams,as73211.yaml > > diff --git a/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml b/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml > new file mode 100644 > index 000000000000..0e8cd02759b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/light/ams,as73211.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: AMS AS73211 JENCOLOR(R) Digital XYZ Sensor > + > +maintainers: > + - Christian Eggers > + > +description: | > + XYZ True Color Sensor with I2C Interface > + https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0-b302-c2fd-e30a-c98df87616df > + > +properties: > + compatible: > + enum: > + - ams,as73211 > + > + reg: > + description: > + I2C address of the device (0x74...0x77). > + maxItems: 1 > + > + interrupts: > + description: > + Interrupt specifier for the READY interrupt generated by the device. > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + as73211@74 { > + compatible = "ams,as73211"; > + reg = <0x74>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_color_sensor>; > + interrupt-parent = <&gpio2>; > + interrupts = <19 IRQ_TYPE_EDGE_RISING>; /* READY */ > + }; > + }; > +...