From patchwork Fri Jan 11 19:57:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 155360 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp960871jaa; Fri, 11 Jan 2019 11:57:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6hLJ+Sd04KPIEAgcZqk4AMydghp0Q68maktKpNtck1fqDgDZ65nls3dTE3gSG3w76NyzKi X-Received: by 2002:a17:902:8306:: with SMTP id bd6mr16057013plb.217.1547236644098; Fri, 11 Jan 2019 11:57:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547236644; cv=none; d=google.com; s=arc-20160816; b=0j83dEWbKzha4Nmuamjaa496n5JB7QGt1AqzJNcGnTkYDx8G0SNPrv+APDqmhjQvF4 uMz4I0iRK6LnG1AqACvW5aYBt3G4RSeUcIA0pVrEnR1s71xRY9bWy+89LNodje9YtGTN nyWF0GcBj8w1uikMtGg+u64/l40PgHKo13pRNffFFPKzvuSirTsUcGxGKFBCnkru4PzA WdqO9pC8enQJm4x4OvcyuWcfChGW9LuFj99cS77zQuB5Sc03dvlsxkjhTcCe2R46UIN8 oVA8lV+38y1aUrJzogsll5IgPqK20aapiQmWjQOkGgovFSTwMqbtX0ct1GaqC/uRqJAd Bklw== 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=XC/TOnaoY1Kxf8eT4PNhV6VhfPKTETz4rPDtGj0hPlQ=; b=onhXw8fByybatZiugahdv9n5ppu4HNJiXTukG99CFr6NXrdduLICNO8rOvh8a2Lbks ibf1uAYj1EsVKPK/UaWlowHpQCf4VkbOwq04OBBshMIRzhvvDcwI8y5FsAMUbRwEQjUC 0NV+W5g5y9tXgxUeVI15kcxtaCYpncnfNoxeC+/cJiwOznwOln2vMqsDtzkrHor74sTc 9a7QXRCtoV1db+cGQY5K1t7Qu41CHaXcNRrSev0fFHjvSP/YnhOQJ4XTxAAZWm35DcnS OsVpunzjfBj9a9D2NwWCvyk+lkiPw+mp/plXxxfzeh8gaRe0o0Q/ZF/m6LoHuCFb6GaQ cJiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jK8F+2Uq; 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 d39si34059868pla.278.2019.01.11.11.57.23; Fri, 11 Jan 2019 11:57:24 -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=jK8F+2Uq; 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 S2389202AbfAKT5W (ORCPT + 31 others); Fri, 11 Jan 2019 14:57:22 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33746 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729825AbfAKT5W (ORCPT ); Fri, 11 Jan 2019 14:57:22 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0BJvKGD098702; Fri, 11 Jan 2019 13:57:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547236640; bh=XC/TOnaoY1Kxf8eT4PNhV6VhfPKTETz4rPDtGj0hPlQ=; h=From:To:CC:Subject:Date; b=jK8F+2Uq3hADZRHaVjSZowT4UInpIIXdp/qIjxcM4X49moS4K3u3tpFjvCCYHp6mn WLPIcQ+HkQJ3kwKv6gsdDv0en57hCXQutDJLVtgX/mnvi5RRDJfk7ADOWBrfE9xKNA gC1n2QNscuo3f4yDXfFdRV4D7yO9wqpZqg4dVfwE= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0BJvKgc001113 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 13:57:20 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 13:57:20 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 13:57:20 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0BJvK3F031019; Fri, 11 Jan 2019 13:57:20 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.73.213]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x0BJvJU18761; Fri, 11 Jan 2019 13:57:19 -0600 (CST) From: Dan Murphy To: CC: , , , Dan Murphy Subject: [PATCH v3 1/3] iio: ti-ads124s08: Add DT binding documentation Date: Fri, 11 Jan 2019 13:57:05 -0600 Message-ID: <20190111195707.2086-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 --- v3 - Fixed the compatible made the colon spacing consistent - https://lore.kernel.org/patchwork/patch/1023969/ v2 - Fixed incorrect compatible example and removed vref-supply - https://lore.kernel.org/patchwork/patch/1021047/ .../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.1.98.gecbdaf0899 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..ecf807bb32f7 --- /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 : + "ti,ads124s08" + "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: + - reset-gpios : GPIO pin used to reset the device. + +Example: +adc@0 { + compatible = "ti,ads124s08"; + reg = <0>; + spi-max-frequency = <1000000>; + spi-cpha; + reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; +};