From patchwork Sun Jun 27 16:32:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 467813 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3283009jao; Sun, 27 Jun 2021 09:30:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySFm1YYy9V9v9CN97DCK8k+zWXLaoMc80JFps+AHcyySL5d/4IY5CwYy2M8wzhdaAlw/wf X-Received: by 2002:aa7:d9d3:: with SMTP id v19mr28124011eds.145.1624811452399; Sun, 27 Jun 2021 09:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624811452; cv=none; d=google.com; s=arc-20160816; b=Das6pn93JCtM38PUyzafXsY+fXhQ3RVUludcqRxycSkV209Fxd1HvShOWZX1rJY3CG ZkW6mL2Rw0W3MZnC+x5EdNPtIz8qzVcYaR2ZUC+jcuK0y95EeRREpaf/NuVgUtSOSBwL UBLHd3rFRLGRacMCfCJZO/Pt3z4bf/ryRGtx+8pJK9TD9FbqiSiXrONtQLbVdP/HWThC uQJsGR/UKs7eVo6BCWOc4L7cnplTuBl0lNabZPedtJQRPSCJHlShns3XI4OU5I+DL1Kb 9rE+kRhdlDYWMUVxN/SN88mF/rDK61y4a/pXftkyPomFJxQDbdhV0CcvIFuNyXIJJH47 oA9A== 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=7cbYb2/chKf7Tj0T/Cf6tVE1KyraFeSU4lRT7OOHe1E=; b=qQoodC4A3ir2aZXNRfOomBTanu28z2FiBvaDEnS9tpT8guH7Hq2HvSHGb+PJWKJXK8 Qh07+4hFk/FI+rDqrupPAIkDBjanEH9LemOsxWIcCUhJ4MTfBJhdHRjtrfi23Ez+tD3o WH07sti2rlIMBJ12owyb/jIrsm5OoDVsd6PzFxLmq1MPtBI/GjcQ1MjyhSNS32sLhGQu qxJJQvrz9NhU8RCcfwaDHYNUL8xujoM987wW7z88xk1SskkAG66N0rjYTIeky3Mrk3F5 TNO/Hw+WqBmx/KddxM5qKBloVeyur4Lwn0GefZmOLHl2iG4LBLCdRNlxm2HqHNx/WCMg OVLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NPamKmaA; 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.30.52; Sun, 27 Jun 2021 09:30:52 -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=NPamKmaA; 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 S231262AbhF0QdP (ORCPT + 7 others); Sun, 27 Jun 2021 12:33:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:45290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbhF0QdP (ORCPT ); Sun, 27 Jun 2021 12:33:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 490F661A1D; Sun, 27 Jun 2021 16:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624811451; bh=HfMjNfSq0JGtXaPncbMa0LA4Gsa76nqTdhYAm6Yy0nM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NPamKmaAGR2E4MSEitB8Yk2nodEmnXBCxyfpEXLF5ESW8VPPj9LJju/92EorE5nns qRcpFztBPj0mFkECQGNBlyVVYJynf1co19LzXDEksEBqSzrqUhE9HSEz8xeo9344sE VQqTT7Fd6F0dVx8ba4iqvY3lAkgP3JgLkq+Hms1yuEKSyjyiTWstRxth1oX1UJalXE iuX3nmTT0qu87fE8xPxr/Qg1s43ysW3/J8zsXMk/inrMhJ+wKKHVgnCwPHUTbZJEcP FZpnu4hiBdhyvxLIGg4/hpp0x/JP4OdQhGbQ03SKeqFGTAGa9AnUEH/sUtXW3AVEsT xJ49mUdgHxwFA== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 07/15] dt-bindings: iio: dac: ad5504: Add missing binding document Date: Sun, 27 Jun 2021 17:32:36 +0100 Message-Id: <20210627163244.1090296-8-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 Binding for this high voltage DAC with temperature event signal. Signed-off-by: Jonathan Cameron --- .../bindings/iio/dac/adi,ad5504.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.32.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5504.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5504.yaml new file mode 100644 index 000000000000..9c2c038683b4 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5504.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5504.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5501 and AD5504 DACs + +maintainers: + - Lars-Peter Clausen + - Jonathan Cameron + +description: + High voltage (up to 60V) DACs with temperature sensor alarm function + +properties: + compatible: + enum: + - adi,ad5501 + - adi,ad5504 + + reg: + maxItems: 1 + + interrupts: + description: Used for temperature alarm. + maxItems: 1 + + vcc-supply: true + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + dac@0 { + reg = <0>; + compatible = "adi,ad5504"; + vcc-supply = <&dac_vcc>; + interrupts = <55 IRQ_TYPE_EDGE_FALLING>; + }; + }; +...