From patchwork Sun Jun 27 16:32:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 467821 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3283235jao; Sun, 27 Jun 2021 09:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyasSAiTi2E528Az935p6uBXuHJhjKjTZ9JZkQ0RtBUy4w1dwchkYtiwgpqq80Jm++wSlIZ X-Received: by 2002:a17:906:1318:: with SMTP id w24mr20250704ejb.222.1624811472951; Sun, 27 Jun 2021 09:31:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624811472; cv=none; d=google.com; s=arc-20160816; b=mPVkC+3fduziuukrxsBGmvdp+wJcryLk2SkYA28dIf8uGexU2Ma9S0LbjLFWrpU9ss Y2/LEzhDQGf6+umiWjaRN/la+o0IRD4Uyi6QfPkqZTU+d4tU2bPuCYUBwvodKqSJiL+l NOq1ojEZdQx5gKXRGJotQ1ozAWraMmVjufiE8MC8YgXfJ8L1jr+r1JAAbExcnK+TvcAK UHUvkdUEoMl3AqWP5UcbAoZcgEEhiXfyWEhn7VD+G+B2qDpto/4eDwdBgNTCdeP2dWLx Uf4+uIoP2LZI3qj7JYxgZZ8Gf5f26VRdMrFckmJ8YjdDyl0Q8dN9bVEiDdePHqJEf+JT Xk0A== 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=+diOx/3fXd0q4BJ/Ql4cvO9Qmc3WsrTYlmbjKlGSJ1c=; b=pz8J83uhhBMJ4a6PepeBw7WVd3ThyDptxlbq54X3jbA7pA+8VttaXK8iayltX8R7Le EUEliZYjyIRhtD+gF0vQPTvarNwPUqEX+L9xbU2K/Xmp5YUmJJKjKZssEu7vUnL1T8N4 0ZFqTlNmmOZ4Loa99ClPw5izEYcrgU83sxQyPHPXjI5W6tqAcdVNATD9iDLAL+IJ6i9z x9WBl9xIXgmBQoSJax25oa8/P0OiD4gYfF2Ej3cWLp8qi5yjO7Pt9XxUgwGxDBz8Sq6i ulQczJTgJT3CHLcYnt+6scLitZbpxPO8b4ehApZdhJO7iY4ZaO2zqTLTaUHgGZKpB2E8 eU6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtFTTEW5; 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 i7si7394646edc.0.2021.06.27.09.31.12; Sun, 27 Jun 2021 09:31:12 -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=BtFTTEW5; 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 S231339AbhF0Qdf (ORCPT + 7 others); Sun, 27 Jun 2021 12:33:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:45700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbhF0Qde (ORCPT ); Sun, 27 Jun 2021 12:33:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8921F619AD; Sun, 27 Jun 2021 16:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624811469; bh=58MyanpF+CguHFikUqTuPVvkHhFLPL6cRoRjkZwfOd4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BtFTTEW5llOifaWFZNm4NgmVEXqpcXf2lfSNKsqdKhAxdZCdLXqO7vvawkGRUREiM QMJvnI+/PsYBuMa/bCpA+rZmFTIsTvU8tphI/sPGrTlP1IYXvRFUynsig09JBTSky3 A1kGkjquMWKptFvN+CrPcFgzroZ6NDXuxA/kY8+d2gKJuMZi94njRKnHYzkV6owvyA 3tc8bM35cPviBMuEAXtPn1MsgIS7ZbxwW9LLxkIQSh3baDQrl6MgKjFgWX7bIlzZIh FB03htJ4/vtmZd9K7jCh7Gcbr+XZD3SaaO6M3T/m+wQdWc92Cqftzvj61L7VFO/cBe Qiq7G4PXRjcRg== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Michael Welling Subject: [PATCH 15/15] dt-bindings: iio: dac: microchip, mcp4922: Add missing binding document Date: Sun, 27 Jun 2021 17:32:44 +0100 Message-Id: <20210627163244.1090296-16-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 Simple binding for this family of microchip DACs. Signed-off-by: Jonathan Cameron Cc: Michael Welling --- .../bindings/iio/dac/microchip,mcp4922.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.32.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml b/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml new file mode 100644 index 000000000000..12a14b3f36cb --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs + +maintainers: + - Jonathan Cameron + - Michael Welling + +properties: + compatible: + enum: + - microchip,mcp4902 + - microchip,mcp4912 + - microchip,mcp4922 + + reg: + maxItems: 1 + + spi-max-frequency: true + + vref-supply: true + +additionalProperties: false + +required: + - compatible + - reg + - vref-supply + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + dac@0 { + compatible = "microchip,mcp4912"; + reg = <0>; + vref-supply = <&dac_vref>; + }; + }; +...