Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755588AbbHCU5M (ORCPT ); Mon, 3 Aug 2015 16:57:12 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:33917 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755525AbbHCU5H (ORCPT ); Mon, 3 Aug 2015 16:57:07 -0400 From: Matt Porter To: Linux IIO List , Devicetree List Cc: Jonathan Cameron , Rob Herring , Mark Rutland , Linux Kernel Mailing List Subject: [PATCH 1/3] iio: temperature: add max6675 dt binding Date: Mon, 3 Aug 2015 16:56:48 -0400 Message-Id: <1438635410-3757-2-git-send-email-mporter@konsulko.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438635410-3757-1-git-send-email-mporter@konsulko.com> References: <1438635410-3757-1-git-send-email-mporter@konsulko.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1356 Lines: 43 Add a DT binding for the MAX6675 SPI thermocouple converter. The datasheet for this device may be found at http://datasheets.maximintegrated.com/en/ds/MAX6675.pdf Signed-off-by: Matt Porter --- .../devicetree/bindings/iio/temperature/max6675.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/max6675.txt diff --git a/Documentation/devicetree/bindings/iio/temperature/max6675.txt b/Documentation/devicetree/bindings/iio/temperature/max6675.txt new file mode 100644 index 0000000..4e643e9 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/max6675.txt @@ -0,0 +1,19 @@ +Maxim MAX6675 thermocouple converter + +Required properties: + + - compatible: must be "maxim,max6675" + - reg: SPI chip select number for the device + - spi-max-frequency: must be 4300000 + - spi-cpha: SPI Mode 1. + + Refer to spi/spi-bus.txt for generic SPI slave bindings + +Example: + + max6675@0 { + compatible = "maxim,max6675"; + reg = <0>; + spi-max-frequency = <4300000>; + spi-cpha; + }; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/