From patchwork Sun Jun 27 16:32:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 467815 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3283068jao; Sun, 27 Jun 2021 09:30:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTdXp7nz2enBpfFAzPUj4ZS7FxROm//c+1fsXZQ+5MkC0w2X4rHawRI3Wws9cy1awsJHD5 X-Received: by 2002:a05:6402:10c3:: with SMTP id p3mr25062252edu.175.1624811457774; Sun, 27 Jun 2021 09:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624811457; cv=none; d=google.com; s=arc-20160816; b=03UgBVsWZ5Ys2V84uLZPBnyn6xXhkwdnte4EKUTvbOQWwaIx+lxbedlK/CecYkdcgD Pb1vKHrZFFJOcxtysOHaQLImq/UqQkNzWV/v1z+aW6bSsYVmqDn0Jnw9J9WxHprxePGN QBGiKx8ygvRd9wrIFeTPQGI4tGpEOW6ePoXYh6GDKO40ueHXhcnApqKU1bvHRQL6pJS8 J35x7hFId1VHV+T4rxPi0kB8dkF0+OBIw9rnoivIw3rv9SIas34zE9UbaG6hH60wcmGM r8eidmJzUfnhbecqfm/tVBKUayJpRmro0ZDWMfTjCbrqKwdwRz9gsBQSrvAay8TDO6k1 WLSw== 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=17vg8QSE7rshcjdCQt5YJ6inEMuLMIN2CrKb8UDPqnE=; b=QQvw9AoevLvKscogvN9KAwuxK5HoGrPKZzugtDrV2GMQ7SEn4voARXhctcUlDFxI8J 5VCnVi5gKesdtc/M/r1WrEDlfKNdanvS5WBtELGgRc2SzqwcSpzi/txd0k16b2SfY7cA 4pjHlVW/Bo2dGSiImuOvYTTCOeALEcyoDacwnS7v3iXlXlEvqhIJbIvyRThsh/WdFHtm FnItUyeRfmP4dv7Zj9NWhEIjOWgg1l5jSOFdipCEGEvAvdSlopDof7KWVpQqV4yiKvi6 Sc1otYi1hmBsCf5dHUVxafld7SvNBpiTNiDD9o3cqun2gkQmuITeCeiNWZI56tlIqlp0 Tj9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dVU8rfx8; 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.57; Sun, 27 Jun 2021 09:30:57 -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=dVU8rfx8; 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 S231298AbhF0QdU (ORCPT + 7 others); Sun, 27 Jun 2021 12:33:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:45386 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231288AbhF0QdU (ORCPT ); Sun, 27 Jun 2021 12:33:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68E3E619F1; Sun, 27 Jun 2021 16:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624811456; bh=b5DcIJGaJZtvQooeD30lASG5zHHRlCd4zNzKyFkCOvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dVU8rfx8Pg9990qLiCR9o0isxszadpOKPLrppjE+9Lr6fDL7SH2tLC+URNAytYxfN vDSOfGGb5Ygf+sRjO7EZ7QDrlhu5RQnE47HrHJifJElvaH/lrDdNWCcq4bdvOcH5iw RNTAii/rjBdBck/7drG7lNvznhEZtXI4IDkz3ODu0js+h7JEGGmKXT08DS4T07j/js 1EAjxZIcDcfPP++A9jOxIY5hxgN69OfNO698+5F4DRbMdkN+E3UU7DeiwiQt8rSSwN Ex9uLLGtdJcEVuS1YEj9WQ9ZHqLFvyolep46wXakrsjmLBZHJ+hUq1NnpVP+S6Y5QQ JXFx0taBRl/bQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 09/15] dt-bindings: iio: dac: ad5624r: Add missing binding document Date: Sun, 27 Jun 2021 17:32:38 +0100 Message-Id: <20210627163244.1090296-10-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, with optional vref. Note that the Linux driver does support vcc-supply for historical reasons, but lets not let that get into any bindings that are checked going forwards. Hence I have deliberately not documented it. Signed-off-by: Jonathan Cameron --- .../bindings/iio/dac/adi,ad5624r.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) -- 2.32.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml new file mode 100644 index 000000000000..330383b85eeb --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5624r.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5624r and similar DACs + +maintainers: + - Jonathan Cameron + +properties: + compatible: + enum: + - adi,ad5624r3 + - adi,ad5644r3 + - adi,ad5664r3 + - adi,ad5624r5 + - adi,ad5644r5 + - adi,ad5664r5 + + reg: + maxItems: 1 + + spi-max-frequency: true + + vref-supply: + description: If not present, internal reference will be used. + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + dac@0 { + reg = <0>; + compatible = "adi,ad5624r3"; + vref-supply = <&vref>; + }; + }; +...