From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA8D1C43461 for ; Sat, 5 Sep 2020 17:49:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81792208C7 for ; Sat, 5 Sep 2020 17:49:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599328179; bh=bi5VoD2qDuHExwuDHiGTm/wiz6ixriE+AEBv8NHcS4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=BXMOcScI9rgaudNyoD2CWhk/W/qbH6h0E4DDUahYAsmiIwjt+OQefGDfpmR47rieS BfJQTyM1BouN0UR+MaGWBuJ38McxKSIXEjrikxa1ktx2VApmhQTcvlwbCuKIZHnj3B V/8hO1xL1RJNSdBVTi/jOled7trh04123HIPJiwo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbgIERti (ORCPT ); Sat, 5 Sep 2020 13:49:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:37590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728042AbgIERti (ORCPT ); Sat, 5 Sep 2020 13:49:38 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE2AE2078E; Sat, 5 Sep 2020 17:49:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599328177; bh=bi5VoD2qDuHExwuDHiGTm/wiz6ixriE+AEBv8NHcS4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dtD8yXUAvX230mDD1ZJOg9h4wsysTg+2YuSoAfMtQFEN6ndxYrTOtSB9hToV3o0FQ jcaxzhVaawzLnAXw9A2AcuTsHxCXjwdGVU3S5y7G3qMK/NWEBM7iR0hbrcQ30pF23Y uAjbhvCg20GEjqVPefzcV7dCoFN3ymVn1FSKJmgg= From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Roland Stigge Subject: [PATCH 1/4] staging:iio:dac:max517 remove documentation Date: Sat, 5 Sep 2020 18:47:18 +0100 Message-Id: <20200905174721.216452-2-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200905174721.216452-1-jic23@kernel.org> References: <20200905174721.216452-1-jic23@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Whilst there is some useful info in here, it can be easily obtained from datasheets. Some of the info should perhaps be incorporated into a device tree bindings doc. As this didn't move out of staging with the driver, I'm suggesting we just drop it. We don't generally carry per driver documentation with the exception of non standard ABI which is not the case here. Signed-off-by: Jonathan Cameron Cc: Roland Stigge --- drivers/staging/iio/Documentation/dac/max517 | 41 -------------------- 1 file changed, 41 deletions(-) diff --git a/drivers/staging/iio/Documentation/dac/max517 b/drivers/staging/iio/Documentation/dac/max517 deleted file mode 100644 index e60ec2f91a7a..000000000000 --- a/drivers/staging/iio/Documentation/dac/max517 +++ /dev/null @@ -1,41 +0,0 @@ -Kernel driver max517 -==================== - -Supported chips: - * Maxim MAX517, MAX518, MAX519 - Prefix: 'max517' - Datasheet: Publicly available at the Maxim website - http://www.maxim-ic.com/ - -Author: - Roland Stigge - -Description ------------ - -The Maxim MAX517/518/519 is an 8-bit DAC on the I2C bus. The following table -shows the different feature sets of the variants MAX517, MAX518 and MAX519: - -Feature MAX517 MAX518 MAX519 --------------------------------------------------------------------------- -One output channel X -Two output channels X X -Simultaneous output updates X X -Supply voltage as reference X -Separate reference input X -Reference input for each DAC X - -Via the iio sysfs interface, there are three attributes available: out1_raw, -out2_raw and out12_raw. With out1_raw and out2_raw, the current output values -(0..255) of the DACs can be written to the device. out12_raw can be used to set -both output channel values simultaneously. - -With MAX517, only out1_raw is available. - -Via out1_scale (and where appropriate, out2_scale), the current scaling factor -in mV can be read. - -When the operating system goes to a power down state, the Power Down function -of the chip is activated, reducing the supply current to 4uA. - -On power-up, the device is in 0V-output state. -- 2.28.0