From patchwork Sat Oct 31 18:29:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320116 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2442401ilc; Sat, 31 Oct 2020 11:31:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFdJPxB+6i+nQc3dPXmhpUdj88j18dtlsXlJSKWQipfcowJ/EKKPJDSI8e+tVj7QeXhkmQ X-Received: by 2002:a17:906:4d4f:: with SMTP id b15mr8148443ejv.356.1604169097256; Sat, 31 Oct 2020 11:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604169097; cv=none; d=google.com; s=arc-20160816; b=z3/jB5HRm9WAF+z3eqUTeO0igVnaSTOozwO2vHLMp16Wq0nLZgmzMN0QGGPlW7r1Vg cKoPNUzbQ8wzkFOEOwToQO9oehU4+GYVm7plUxCe3DTe4HrK9pc9Gj4vWxyC7qVmcsqP yeT+jhKzKWdq9W8HABCqX1ybj2T8YoYHMyL5AkaLu6LyN1vF8wNOZQe02iiC7ovsC7cY 1AGR9LUIiBP8s/6u5e6c667rXWMIhXyPd5GYalLrBxU3CBB4ASeBzuGQz8h5Ewlmi45e HlMg8DySEO0xGiaKIuEb0qVa+CvdDWynAS/P0w9446rHpytnROFRAE6uWvukGYDIMBdl LmOg== 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=AL1VJIiDICiI1CxJ3HAc/AkYJS0nhSVSq4jSB03+IyY=; b=XEGZj4n9LP0rViJJG1/VtKGCnc29ohGIWP4KRWYMd8Hw3DLLK4KW/ItDcRiPtTAYRg Wjf3+lRn0xcl2gnW2JrTF2eZvhyS1ZtWyuklACqpJCTjxJBgvVuswp8LFs9xRAyAZRtX YnhqVVKHq7tZjFt0y+ExLSmcQdP93Itwnp+U2U74TAn5PflFB7yLIZJu2ld6bE7V39Qq kbI5E4lZ2tdwVfIpp7QuuXF435pzIqs2+mOhlPbfFEzjQaHUJ0IuCVmFafI0QeuVwiPD mtsoV7TDaWhueLwIK7bfDJMrhZDc3ea2a52tYiL7xtkY8ueDWXhNnrZVOv4aikITI0rm 9bRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kHCyIRIw; 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 b27si7186798ejd.487.2020.10.31.11.31.37; Sat, 31 Oct 2020 11:31:37 -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=default header.b=kHCyIRIw; 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 S1728366AbgJaSbg (ORCPT + 6 others); Sat, 31 Oct 2020 14:31:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaSbg (ORCPT ); Sat, 31 Oct 2020 14:31:36 -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 3219A20723; Sat, 31 Oct 2020 18:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604169095; bh=S+/kNmr/Ho0dwopTRNR3DWGY/LWhcjUUFL/C4x+AMPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kHCyIRIwcupQ2GXWe/xc+CIm+SQ6yHFnMR7D+VJUPiCbTEQJg/Ri+yUVXiZIi8Yo9 4U68zH4ZIo8N62g9j5xKusmJnct0sFGsk6D/Q83r24JmnBP54bUkJGLg+hTQPWlHc9 ZAQxOqOM+PBYXVVcI/oJvU/r9g7PEaJnAF2CeRJs= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Slawomir Stepien Subject: [PATCH 3/7] dt-bindings:iio:potentiometer:maxim, ds1803 move to trivial devices. Date: Sat, 31 Oct 2020 18:29:18 +0000 Message-Id: <20201031182922.743153-4-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201031182922.743153-1-jic23@kernel.org> References: <20201031182922.743153-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file. Signed-off-by: Jonathan Cameron Cc: Slawomir Stepien --- .../bindings/iio/potentiometer/ds1803.txt | 21 ------------------- .../devicetree/bindings/trivial-devices.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 21 deletions(-) -- 2.28.0 Reviewed-by: Slawomir Stepien diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt deleted file mode 100644 index df77bf552656..000000000000 --- a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt +++ /dev/null @@ -1,21 +0,0 @@ -* Maxim Integrated DS1803 digital potentiometer driver - -The node for this driver must be a child node of a I2C controller, hence -all mandatory properties for your controller must be specified. See directory: - - Documentation/devicetree/bindings/i2c - -for more details. - -Required properties: - - compatible: Must be one of the following, depending on the - model: - "maxim,ds1803-010", - "maxim,ds1803-050", - "maxim,ds1803-100" - -Example: -ds1803: ds1803@1 { - reg = <0x28>; - compatible = "maxim,ds1803-010"; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 10f0afd44684..695b1e379238 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -110,6 +110,12 @@ properties: - isil,isl68137 # 5 Bit Programmable, Pulse-Width Modulator - maxim,ds1050 + # 10 kOhm digital potentiometer with I2C interface + - maxim,ds1803-010 + # 50 kOhm digital potentiometer with I2C interface + - maxim,ds1803-050 + # 100 kOhm digital potentiometer with I2C interface + - maxim,ds1803-100 # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs - maxim,max1237 # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion