Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2719201pxx; Sun, 1 Nov 2020 07:36:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAXoZvGzG04CZDcf0UOnvZja+AKjpJAJsZzRPVN+xwsIYcLs4Pu1IKrcLfQL8Vh1n1zA4W X-Received: by 2002:a17:906:cd0f:: with SMTP id oz15mr11547916ejb.200.1604244993689; Sun, 01 Nov 2020 07:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604244993; cv=none; d=google.com; s=arc-20160816; b=Pthnu807XW6gt0v+m1VoVsLIhbsxlGZuzuewT3UNi/mDKUl+8jIe4fOVJUUSh44irh DxWV8B2M+MI/eN3a1eQaC7Lki5il9n8/GAFvIb4GDpJyCMuHjC+AOr5qHK0evn+aSfRk uLMhH/85HzHwXWmzAW6sH8bvntNVG2pWHj+1PrHJqEEFg02hMOSle+l5KEylmpYHSJfv HYxK3Jv6m94B7+MrwsRAm1TvOI08T/s0ap62rYAiJ5fC8wrSmrPD2MarAZnk/Lm+WuWN iBqnE53+eT19CiwZDf4RkjATq+Z9OhHnO2V3beDn00E2o/2Vc/UHzl2kp/GG0BgWkBip RNOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5qdcLiNKCTFczPIPoTfYLv71DlnLgu98rVK9oc//i4A=; b=GUksULYyO4nGhriSIIrcdAKj5iWkNSe0nsXEiNy3JzDM7PyB26YjQUhmyq647lkTfS TPEquJA0IQ2utu0NvPCUGBcv1kxvjHJBkM4w0PfumGINfb+X1C7yozg5WD1/BahR2WK6 7RnMdlVFBmaNVQ2eRElqGIJR4qdAIBCOt8rdOOYqQKOUEkN9og3Z3oilMe0W0HUXGDm+ syNuPJgIAW98so1HpvXIM+r9PMoHiZiywWJzaQ/4RJ8BOckNVAMJdsguwKPsajtIVWhc YlrDdNU0YfaiXAN1QH90K39fTu18txQhFuspgAZzVcPhaGYKg/7/U2HzkYeWP4YL5/G0 chDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zMRKSbKU; 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 v9si7821162ede.143.2020.11.01.07.36.11; Sun, 01 Nov 2020 07:36:33 -0800 (PST) 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=zMRKSbKU; 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 S1726893AbgKAPeu (ORCPT + 99 others); Sun, 1 Nov 2020 10:34:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:51806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbgKAPet (ORCPT ); Sun, 1 Nov 2020 10:34:49 -0500 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 9C12E206D8; Sun, 1 Nov 2020 15:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604244889; bh=UQsIf8GFwl4kaVslPomFKf2DtFdFx3IH16pt4zhUhac=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=zMRKSbKUpkqBBgZVawdbTDRoeSpvmRXcBEj6F3vpER+NV2SIFjdhmcrm7tFjW54SJ hiX6v0zQ7UFfkN4ScSsfHz2h+ExlqB3F5QRAtqFBIIeObISAhiG4X4eoiUV//svDqn TM3blzDTiU1QFr1mq/oJp1U+LVvNpiRuE+hno1Oc= Date: Sun, 1 Nov 2020 15:34:43 +0000 From: Jonathan Cameron To: Gene Chen Cc: robh+dt@kernel.org, matthias.bgg@gmail.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: Re: [PATCH v7 1/3] dt-bindings: iio: adc: add bindings doc for MT6360 ADC Message-ID: <20201101153443.3826103e@archlinux> In-Reply-To: <1603181267-15610-2-git-send-email-gene.chen.richtek@gmail.com> References: <1603181267-15610-1-git-send-email-gene.chen.richtek@gmail.com> <1603181267-15610-2-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Oct 2020 16:07:45 +0800 Gene Chen wrote: > From: Gene Chen > > This change adds the binding doc for the MT6360 ADC. One thing I'd previously missed below. Jonathan > > Signed-off-by: Gene Chen > --- > .../bindings/iio/adc/mediatek,mt6360-adc.yaml | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml > new file mode 100644 > index 0000000..a7350ec > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek MT6360 and similar ADCs > + > +maintainers: > + - Gene Chen > + > +description: | > + Family of simple ADCs with i2c interface and internal references. That seems unlikely... > + > +properties: > + compatible: > + const: mediatek,mt6360-adc > + > + "#io-channel-cells": > + const: 1 > + > +required: > + - compatible > + - "#io-channel-cells" > + > +additionalProperties: false > + > +examples: > + - | > + adc { > + compatible = "mediatek,mt6360-adc"; > + #io-channel-cells = <1>; > + }; > +...