From patchwork Tue Dec 4 17:59:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 152834 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp8357418ljp; Tue, 4 Dec 2018 10:00:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wyl7glH7jxFidpwr9ZQ2xYJJJqCsJhYg3o6CmLFCPH78lNMchVwVZt7Y+jlVej1VNglMWC X-Received: by 2002:a63:495b:: with SMTP id y27mr17527910pgk.32.1543946409973; Tue, 04 Dec 2018 10:00:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543946409; cv=none; d=google.com; s=arc-20160816; b=r5Z4l/JWAY9XtNvnItkFMvErdAxUmTENCe8IB4966stURF5QUdZXbHfueXfQoGH+dm dmJkMljGsCtJDcUnbN2ztXxoH61c7WCXq3JVAjQQmfTAF5MaxqxTsCJhsIFGKdeiFv9U 9W7prIGVDMirD2gojaB528QICPSrWanSckOQZWfx4mvJHfcVqjmcDzae8Ws9wn9Rt1Fk QUEBj9JbmmEEXwhoIYnxPHJDy5Om6bwUNaNwR8FS+MkTj2CCIujEX37DhMOK3/SMXDFh riYHN5+KRWEh2gnTeCCvOzWkTDtArZYhVq4ysPg9nmqsFO1RUksurXgsCJBa27OPNf2A 69bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=9V25X/s/7z9j5DxzpgBZfsq8q4Yjw8TDD4F1Bwxzkow=; b=es0gvlXCJQY0foCkyTSuM6gLvBN2ertkuSJGLukeAeFrkBlCZ3rNtqCekQHiKiaflU 0Px4J/xrnXWFefmwCP/UzAjNr6xxRe0mV35/V+stAyqfnyAqJ84waw4EHcHBYsh0GUm8 fVwCkvJvmF3Rlue9Mwpt6thbe2nXW6ub8qR3pcAXrlX57zljDf3dNMH3TL3M0V6P380E Uos5iDy5X2qT4bsPtcoIUi21untNQi4WDVrSsV3vT0gYwlZW8lD9ACTInR0oEQdu3PNO X6pGxBHFVfEVjT1QyysoxMoaNE69RBgo0y72P86w/OI2fQrnYuuHsLTuz2MPcQlSesNa /stg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="qm6WNx/H"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m64si18807019pfb.224.2018.12.04.10.00.09; Tue, 04 Dec 2018 10:00:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="qm6WNx/H"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727385AbeLDSAI (ORCPT + 31 others); Tue, 4 Dec 2018 13:00:08 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:37680 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeLDSAH (ORCPT ); Tue, 4 Dec 2018 13:00:07 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wB4I05lc024478; Tue, 4 Dec 2018 12:00:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1543946406; bh=9V25X/s/7z9j5DxzpgBZfsq8q4Yjw8TDD4F1Bwxzkow=; h=From:To:CC:Subject:Date; b=qm6WNx/Hi45VCm6mbRcSSpYIPbLvIwdfcsnjcZtUpSLNKKtKz0ZQz3M/tiU0EFgY/ p66s+axNM+2ihN8zCI9CAReYQuWw+MuboqFUaJ4wKsW+GbxXB0lv2E4+YIjEXr0Nb0 Q5jEV7Z52PTFQPeTSi32yqp/sVA0jkM+4oBfX9Ow= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wB4I05Ec008996 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Dec 2018 12:00:05 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 4 Dec 2018 12:00:05 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 4 Dec 2018 12:00:05 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wB4I05ZZ017924; Tue, 4 Dec 2018 12:00:05 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.101.186]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id wB4I04U27060; Tue, 4 Dec 2018 12:00:04 -0600 (CST) From: Dan Murphy To: CC: , , , Dan Murphy Subject: [PATCH 1/2] iio: ti-ads124s08: Add DT binding documentation Date: Tue, 4 Dec 2018 11:59:54 -0600 Message-ID: <20181204175955.8259-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding binding documentation for Texas Instruments ADS124S08 and ADS124S06 ADC. S08 is a 12 channel ADC S06 is a 6 channel ADC Datesheet can be found here: http://www.ti.com/lit/gpn/ads124s08 Signed-off-by: Dan Murphy --- .../bindings/iio/adc/ti-ads124s08.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads124s08.txt -- 2.20.0.rc1.10.g7068cbc4ab diff --git a/Documentation/devicetree/bindings/iio/adc/ti-ads124s08.txt b/Documentation/devicetree/bindings/iio/adc/ti-ads124s08.txt new file mode 100644 index 000000000000..41ab67379ee1 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti-ads124s08.txt @@ -0,0 +1,25 @@ +* Texas Instruments' ads124s08 and ads124s06 ADC chip + +Required properties: + - compatible: Should be "ti,ads124s08" or "ti,ads124s06" + - reg: spi chip select number for the device + +Recommended properties: + - spi-max-frequency: Definition as per + Documentation/devicetree/bindings/spi/spi-bus.txt + - spi-cpha: Definition as per + Documentation/devicetree/bindings/spi/spi-bus.txt + +Optional properties: + - vref-supply: The regulator supply for ADC reference voltage + - reset-gpios: GPIO pin used to reset the device. + +Example: +adc@0 { + compatible = "ti,ads8688"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <1000000>; + spi-cpha; + reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; +};