From patchwork Sun Jun 27 16:32:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 467816 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3283140jao; Sun, 27 Jun 2021 09:31:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQgTYabXJvzyhJZDgcCt+Yp7DqJseTG2VO/mYyWla7sTEE4B//b2o5L757n+s6b/X5my9p X-Received: by 2002:a17:906:1796:: with SMTP id t22mr20057326eje.304.1624811464085; Sun, 27 Jun 2021 09:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624811464; cv=none; d=google.com; s=arc-20160816; b=QPAPpb9inRExMpVe9dxyOZ9JKaeBB23sU3uv9jDAkRHHhs2i1UjAuCcy5PhWkCogGB pUD+cEWfVrq8CpYZS9fNNLzoXqN85DtO6ulC1/Ch5djSdso+TfnMRbv7aBOk6FVZn/N+ joBANOhxN5ol7cIriHJGWX4DiVQjwT5roYd0gPTvR5CI3hsm7GzltuvWsHMYu5AsLj76 PQYrIqntEWZrj7d03HH8vt974ZGergHgxk8dih0XPUXS9E9MsvhGzRyliG8VQBE+yGcO MAAUIJ0MM6woY9wUWfa+TgzfnyYdccNV02wz2sM7lt81Br6yYBoUDU2PEdiraZQM1wYk bjUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YVR2RLWA5AbifgVbY1w2piOeZIPtbWdDAvJNqHp0cMw=; b=MCk6y4DaVfJXjMOA9wHfqYflvdgnWNEaJ68uDriYo8xb/Az2q11eqV7lyjj685ooJQ VJofVk2fGCkjAR6gcnnMtJ+Yc1BbQADko0spLtu0Rf/S+2F1eGJr/EQMutlQ68tkcvXc e8FpPw9PzF2u2qKTBPJdJ0W47Wa1J3pE0aFCx92BIS+WPdd8wuicoubf2XR+lFmasSH+ I4oJ7c2QNJtqBZwPLW5mjCbBmICve7u1vcE+Nlpie7wXnBxbf/CYoMlQnvBJksQQZYK5 6OVrBvBGekVmzW3kOCmxFEcfh+Ev7gasJQooF3I2qosqgqwJ+rggr00iP+bmoL7/8QNf avZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gt31NFzk; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s27si11202998edy.94.2021.06.27.09.31.03; Sun, 27 Jun 2021 09:31:04 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@kernel.org header.s=k20201202 header.b=gt31NFzk; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231341AbhF0QdZ (ORCPT + 7 others); Sun, 27 Jun 2021 12:33:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:45432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231335AbhF0QdW (ORCPT ); Sun, 27 Jun 2021 12:33:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C48A4619AD; Sun, 27 Jun 2021 16:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624811458; bh=UEasIvT43WJvGGnmc3s7yO7hCaHy5uC+Ko8xz+oHGhU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gt31NFzkm9LTrcXXfac8+XxgNka8wTHLLaS0iVi4Jqcse1OBcWzhPCbkwTqRc4Xeq JSqT008KDG9MBrnYVHAflsCl1es11KLbZzQ5Ku3FyeAx6ENzqzAZT+bWvl2hbh4zEC w+GwPxa45z48ucIq+ItLNG/YXT4VLUZrFtMrk3o2anwaM9NvHJblGXZI/MUJCEp/5i W5XZR/cIRBYpuvKKZBAgczcxWjTI+R/vVh0PSiFXot2nQY7OEmYaoBwIKZplwXxpzn n0O5gS+3ZRXKHmwerbQrasqtNmLHb1c7KrKOHdsl6Ulj0wKUqEk6IQT7fkOsBV0nfu c1mF4GJSGVeZw== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 10/15] dt-bindings: iio: dac: ad5686 and ad5696: Add missing binding document. Date: Sun, 27 Jun 2021 17:32:39 +0100 Message-Id: <20210627163244.1090296-11-jic23@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210627163244.1090296-1-jic23@kernel.org> References: <20210627163244.1090296-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron The use of vcc-supply for the reference voltage is unsual and should probably be deprecated as there is an explicit VREF pin on at least some of these parts. Signed-off-by: Jonathan Cameron --- .../bindings/iio/dac/adi,ad5686.yaml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) -- 2.32.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml new file mode 100644 index 000000000000..5c26441eae9f --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5360 and similar DACs + +maintainers: + - Michael Hennerich + - Jonathan Cameron + +properties: + compatible: + oneOf: + - description: SPI devices + enum: + - adi,ad5310r + - adi,ad5672r + - adi,ad5674r + - adi,ad5676 + - adi,ad5676r + - adi,ad5679r + - adi,ad5681r + - adi,ad5682r + - adi,ad5683 + - adi,ad5683r + - adi,ad5684 + - adi,ad5684r + - adi,ad5685r + - adi,ad5686 + - adi,ad5686r + - description: I2C devices + enum: + - adi,ad5311r + - adi,ad5338r + - adi,ad5671r + - adi,ad5675r + - adi,ad5691r + - adi,ad5692r + - adi,ad5693 + - adi,ad5693r + - adi,ad5694 + - adi,ad5694r + - adi,ad5695r + - adi,ad5696 + - adi,ad5696r + + + reg: + maxItems: 1 + + vcc-supply: + description: If not supplied the internal reference is used. + + spi-max-frequency: true + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + dac@0 { + reg = <0>; + compatible = "adi,ad5310r"; + vcc-supply = <&dac_vref0>; + }; + }; +...