Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3165849pxk; Tue, 15 Sep 2020 11:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcoXlvuB8+XELRvrgolhS95rC0HxdF47cCtzKATnMnlb0xk43XAIhf9QEEWCYJnVnWK/Ie X-Received: by 2002:aa7:c256:: with SMTP id y22mr23152129edo.16.1600195488738; Tue, 15 Sep 2020 11:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600195488; cv=none; d=google.com; s=arc-20160816; b=0jSVBZmJvHWABAl1tqaiuripYCRh9VCfz696SY+eCevXByDH/rYwMsCdi1XFAeKi2H ixKOkknAERijkRz4hbVBaP1dfyq5ugJ+aF73Yyo9ecC+PpTFKyLszabT6DDjmhT1FDoA agjArCL+y1e4qyuy5s34Ugy0V0unv3pBW8fGTISmnEK1VtYRB7er3+0ysOIhux6dFddt Yg3yIOQVGATJtcOwN1ggIMkhEkCm49EfmABkssHA5eVIHVUrkU1B7YFpMnPQegGpulOa FNApdB6s/h5ioFS9gDQFPs35CxvAngg+6iVIGFunfbzurJV5zjO7txlAuCMe85l8q/Jx NJVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9+aE1ELAzgYKqHHzeFiypxalT4hgfY/xIUQkiDN+va0=; b=yL9l/kgAUzh7rlvJPidrlk9loRBf4iBhE35vUfmqSg/8qeUoZ90INMoyo/+i+NFYc5 fICIJLdWr/5oUWzrqA77Hzn8YTXpGrvmlwEf/Cwl1dkwqAGl9LYa3SkUqk5qQekXwcaP BYsnhsKewnsnk3n3HuMcKlwJkqdO0Mn083pvsa11Xnget6xXoIFlStg/HACZRE6NIuOy sghFS24tHV4R1T1jjOa7SGTWWQUAom+B03xbnYnPG9nXMzNXf4mABINwxEHZMxEVEfCG 0PqgnJj7NntO/4i2F2EF7+ogbknuUE4FHAHC8CPbMgaE/5zqyS03OWGdpawAbNKzTQMs bEyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FaDdYcrR; 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 k14si10035675ejx.254.2020.09.15.11.44.26; Tue, 15 Sep 2020 11:44:48 -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=FaDdYcrR; 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 S1727877AbgIOSlf (ORCPT + 99 others); Tue, 15 Sep 2020 14:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727943AbgIORhm (ORCPT ); Tue, 15 Sep 2020 13:37:42 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E0B3C061352; Tue, 15 Sep 2020 10:36:19 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id f2so2371761pgd.3; Tue, 15 Sep 2020 10:36:19 -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=9+aE1ELAzgYKqHHzeFiypxalT4hgfY/xIUQkiDN+va0=; b=FaDdYcrR0aifpyTmq+TIfvqHdxcsTDpOBU2FMOsc7dG9l61ku8FivcMgAUhnQW2hA4 xmkubi7hfP5sUbH7Nu9St0cci4gzseHoNbijYT17Z4dr5E/6nQlUgouOFY4sx6RnvT7r yHJCm3Ktc9iGTRKcxGV58f5zFF5JbGBzRzlBJw6SwF7DoebbS+7uUVPhQQmDKGIdZErY +GflYC0nMP5p4Wvrp+n6kYVoFaBnA5ATDPSRKiuxHOm3eW4qWgbj/424Q8mab6T//7YD ccxT3VztIFFl9+e94on1Rd/zS9DMp8WJSbVUStASPhbKsQu7+GPdIMLnoWJYfPPSp2Tq QoKA== 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=9+aE1ELAzgYKqHHzeFiypxalT4hgfY/xIUQkiDN+va0=; b=jhYjv/UO06vchCwaoHLkW/OiKIY2b2EUnzo7DSk4QscqXg5LYTSGb5QAsiKyyG6fFK wkRji2kzifbZM2ap/QTmDtLcMsmCs2DHtnf5T69ZTcTLA0P7D3wfGhAFhbfcPsoT2PIo X5bO9Lh5CyHK/fRfXTVqdl2moUNyBs6CSl9RWpstM6Z+2NwHjLPCrDWsebPvujQ7QbRQ Ewb5Wg009V4QB0ylMSathcuC79G7BM29RBigf1dxz6lDrlAoA+rtsYXnKwtchpiNcnxn UtzqwkfpPVwXQEeQxjuSEIf+2xd7a0MOPg4Mna4YEnH6dMQgEAcmjaCaTYMfthdAWnNZ RoWA== X-Gm-Message-State: AOAM531mChVAq3GtYsM7VjQlUKKJPNHhs404y7/igtncRQga3wiHIeKV qMeQ1P08G+NbroAugI4pnVg= X-Received: by 2002:a63:4559:: with SMTP id u25mr15052932pgk.162.1600191378923; Tue, 15 Sep 2020 10:36:18 -0700 (PDT) Received: from localhost.localdomain ([123.110.251.138]) by smtp.gmail.com with ESMTPSA id x3sm14025926pfq.49.2020.09.15.10.36.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2020 10:36:18 -0700 (PDT) From: Gene Chen To: jic23@kernel.org, matthias.bgg@gmail.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, 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 v4 1/3] dt-bindings: iio: adc: add bindings doc for MT6360 ADC Date: Wed, 16 Sep 2020 01:36:07 +0800 Message-Id: <1600191369-28040-2-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600191369-28040-1-git-send-email-gene.chen.richtek@gmail.com> References: <1600191369-28040-1-git-send-email-gene.chen.richtek@gmail.com> Sender: linux-kernel-owner@vger.kernel.org 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.yaml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml new file mode 100644 index 0000000..2fa2fe7 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360.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" + +examples: + - | + adc { + compatible = "mediatek,mt6360-adc"; + #io-channel-cells = <1>; + }; +... -- 2.7.4