Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4405156pxk; Wed, 30 Sep 2020 01:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBbc5VCUWJr/gxytURhWkkiXVbtDO8/h7S1gLOMTc+AXpxYkES4VNxifDsWzRKSQsb7D/y X-Received: by 2002:aa7:d843:: with SMTP id f3mr1522099eds.115.1601456162414; Wed, 30 Sep 2020 01:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601456162; cv=none; d=google.com; s=arc-20160816; b=l1hP8nDLSIYs04zHvP4OjHAgzs2bwE0cjZDEHRBRzPKFa8ha6NrlMIu8j1S+WoGLAh sn2fOslTQVMm45X8BTjRZK8h1UPI8/4t+kv7Jx6z5jHxacdK9Gej9S7c95WJo5Hcp7Wd yICh9PLA/3UIicDSam0/hSkewB27JA3Olm07KMB5e0rqVPMlzEwFYDc7oCBf91FF67HG SRux5uS1ny2zbRyAla6+t+nWIcumPvaTMtZDju/gYiCwg0KJ9Cz5wavvFNeIbxEst5ub q6vkxSgC6gmJHOM8JPx2CfA+BJAkBOTVpG626J/aUH6TjxmCMpXDwGorRKi64HOqNEMB B2BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=R47c8IJlDfJaqH2Rm6EUjlvpHInRK3+ab54pNsvjd9M=; b=eXESZk3KAXZWoN+9XNK2ty7wcDN1fk47hJekVFq7Yj2Ivmuw/rtD8tQmEYYbhAvreH xZjagZFAG7d7HQdTlhKN6ihp8UTnKtk4bC+rRgDQmyl/FVPqCPacJbzt6p75M+PbU5Ks vqD6yAG4vpqnRQVWESl3jAoxcmlNaT/dRGV/rEe4ZgC4XQlYEk5MVAPXxrX3udZAlldh We9rxjPzPXFHzSCb/gdUAuw3cZHvpP4fHuF9UQYU0DQMmwHxp1OGdzDmsHKL6XCMxSRz CCG0+sJMTkzvJeTDkNqydl8CIvo3YWvRqB3YjZplCEsFBIiWodk6Ob9raUIxMys+c1qh Hqvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JvzERQVQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r29si634955edx.569.2020.09.30.01.55.39; Wed, 30 Sep 2020 01:56:02 -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=@gmail.com header.s=20161025 header.b=JvzERQVQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728771AbgI3Iy3 (ORCPT + 99 others); Wed, 30 Sep 2020 04:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgI3Iy2 (ORCPT ); Wed, 30 Sep 2020 04:54:28 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F70C061755; Wed, 30 Sep 2020 01:54:28 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id o25so722989pgm.0; Wed, 30 Sep 2020 01:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=R47c8IJlDfJaqH2Rm6EUjlvpHInRK3+ab54pNsvjd9M=; b=JvzERQVQPGqQCN8X2IH9mVeQmtRCPSP5Xf2uIxgztZo79fyP0v4tUCcWoJqUzAFipA Tt0hYEKiz4cTZHu80aD0k94E3JcSmJpomI7tYqIkNnHsnsHbdSn+845KQkKcCobvSB75 clkt/YUSBCAEMRXJRc2LamkHdF/vq7fjRLvlBqmBEO8YC5NdbU4DFglPcSZM9lEpnNX0 +pl6xLTLY1CR7G8a6Y0JAVXzCBWlupctkvdhmMukszP3K7IcmQTBK7OMkMUUXh3VrJPp URB3Gys5hUKcMr4Fu9bSfwCSxNVhnGuRrtlEY1LbpWD/sZqTUqm1RZZAx8HZJ7XdDsKZ SqIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R47c8IJlDfJaqH2Rm6EUjlvpHInRK3+ab54pNsvjd9M=; b=aT6FoTUGSYTbPIcQkGttPTomnSO2yULLwBeFgRf17Q2nOSrP6NeFzCP6rJ3QV9wx95 RNeTV2Tb7qZiYKq9IWS/9HMqgNR/stx5euw+bLOfHyr67foyyLy68ol1dBByBlYTB4za 0ebwr94A5ubKF9eWmYgYGRAgP0cP008KmDsjYAJ1mvNvlr+K/MzjXOdu69A0ChJpGqnZ 0CJbp+/naW5jVgHH5kNniJ7sxz0DnkF9wW08hwYsgJ0DquCLwWgKjpo1SwS6LEsjmjDq jSUto5YLe1LTdX1xY0MSei4sntp+wvVSSRbo6bF9efvIDSUf7eNTwGCMcpZVrUHvqB+0 4apQ== X-Gm-Message-State: AOAM531pF0wgA1GM56NOlXkUA5Ri5Uoz+xJlXDqL+4snycQEUOQFFoKh u2ivH9yH5OX6Y+qoBgG8/Xw= X-Received: by 2002:a63:e94a:: with SMTP id q10mr1353780pgj.189.1601456068133; Wed, 30 Sep 2020 01:54:28 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:56b:d17:8c76:3dc4:5429:d7e4]) by smtp.gmail.com with ESMTPSA id x13sm1513938pff.152.2020.09.30.01.54.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2020 01:54:27 -0700 (PDT) From: Gene Chen To: jic23@kernel.org, robh+dt@kernel.org, matthias.bgg@gmail.com Cc: 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: [PATCH v6 1/3] dt-bindings: iio: adc: add bindings doc for MT6360 ADC Date: Thu, 1 Oct 2020 16:54:06 +0800 Message-Id: <1601542448-7433-2-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601542448-7433-1-git-send-email-gene.chen.richtek@gmail.com> References: <1601542448-7433-1-git-send-email-gene.chen.richtek@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gene Chen This change adds the binding doc for the MT6360 ADC. 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. + +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>; + }; +... -- 2.7.4