From patchwork Sun Aug 9 11:17:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 247562 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp3995520ilo; Sun, 9 Aug 2020 04:20:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza0YS7fMUgwfgJffQOo0RlfZc6WT3ZscjoZimwCmZ9yzNNFCny+tG/JM2B7v8Z45FTS/ly X-Received: by 2002:a17:906:f912:: with SMTP id lc18mr1438568ejb.226.1596972002409; Sun, 09 Aug 2020 04:20:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596972002; cv=none; d=google.com; s=arc-20160816; b=p5Kf/V+KFMqL+GbLVT9KfWQRDSKw01Xg/YVU3U6O9eSX0GBrMEjDHHZ1UsPYgSk2mH VO4eWCVabZEgilUFrfROb+vOCxuXB8E82JU/01Y8PK2GwjFly1yQtRlQKEfUNC4TQ+Cg NU6ly+X8ox7nJihOXeueA1O0mUviwz7Mo7BCEfsfR77wpCQA2XNgpRgrpSIVLUPb/TgC V9u937TTm5IejPI201tiPCyDZGyBClm9f5FSTFbsTF+M1vq/I5LAKYorMIos4RaogUd6 +JXrnAi7j3NyndfoFxLAOy66BKLxqWrkX1r+yKLdF2V4XGjjt/0GjVOaTjU24lcVVyXS 2Uuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sR8tomOBoHrlrd6BJFUdotYKFJ2opMC5zDg4i5XCZTM=; b=kVzXACE2h149ZmoipjJ3YOb9qPu4D8pW1DSfzYnraGQqZg3WJnp9pJwNqOXepjg3Wg 0y+CnfvZLVKV+Ljs4SAc5eqlREvHVsFLhUjEYMpV6OVEfgBEl0JfT3jeIhgUuW8sxuvr u3BNPB8bYoVt9SnDOIdCEIp521jwRJRLrIuj8i2xJYN+wErllxyjkL+Ui0HBIlpWVRAK Rr45wT0PvYzCxzqnZSgulMIXjfenfyeTt3HMpUVnDch7J1EiG6QUYlredPOlv42+4/c8 wSb5U1Rs3UZgtgXPpX/ehj9JaVOxZD1voVcY3I6k06Nf9rIaqQPCf+EiEqgf8CSK7ZAn 4N8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ARlSaoqx; 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 x18si8375699eds.427.2020.08.09.04.20.01; Sun, 09 Aug 2020 04:20:02 -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=ARlSaoqx; 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 S1726307AbgHILUA (ORCPT + 6 others); Sun, 9 Aug 2020 07:20:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:53912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbgHILT7 (ORCPT ); Sun, 9 Aug 2020 07:19:59 -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 17EA02065D; Sun, 9 Aug 2020 11:19:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596971999; bh=qezfHXu7d4uZ1zFJ3qL4F+s7KmzK69YZvv4gZhRXFH0=; h=From:To:Cc:Subject:Date:From; b=ARlSaoqxJWSu33zkHWOJAXZUqdlH0M/qik7tElZnbNt00JH8aQwz9DABJP8hHeh8N uMOM+rio/zAcH6O7JCzjBNqPpJ6hKGGghJFIFC2CovPciPqK3JTRf4MGKzLXlvKTtr obC6mY90o5b+fOirkw72xrXsWlz05sL47gZCRzDE= From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, Jonathan Cameron Subject: [PATCH 00/13] dt-bindings: yaml conversions of some simple ADC bindings. Date: Sun, 9 Aug 2020 12:17:40 +0100 Message-Id: <20200809111753.156236-1-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron This set coverts over some of the low hanging fruit from amongst the IIO ADC bindings. Mostly they are very straight forward bindings. One quirk is that I found I had one old binding doc in my local checked out copy that never made it into mainline. I've created a special patch for that so we don't lose the history. It reflects the tags from the original patch that I seem to have messed up applying. I've added the #io-channel-cells property to most of them, so that additionalProperties: false works if they are used as providers of channels to consumers. For ADCs it is fairly likely they will be providing measurement services to another device in DT. I have put the Maintainer as the original author of the old bindings / driver. Hopefully everyone is fine with that. If not, let me know and I'll put my own details in there as I'll end up reviewing pretty much anything that touches these anyway. All comments welcome. Jonathan Cameron (12): dt-bindings: iio: adc: microchip,mcp3201 yaml conversion. dt-bindings: trivial-devices: Add mcp342x ADCs and drop separate binding doc. dt-bindings: iio: adc: ti,adc108s102 yaml conversion dt-bindings: iio: adc: lltc,ltc2497 yaml conversion. dt-bindings: iio: adc: ti,adc161s626 yaml conversion. dt-bindings: iio: adc: ti,adc0832 yaml conversion. dt-bindings: iio: adc: ti,adc084s021 yaml conversion dt-bindings: iio: adc: ti,adc12138 yaml conversion. dt-bindings: iio: adc: ti,adc128s052 yaml conversion. dt-bindings: iio: adc: ti,ads7950 binding conversion dt-bindings: iio: adc: ti,ads8344 yaml conversion dt-bindings: iio: adc: ti,tlc4541 binding conversion Phil Reid (1): dt-bindings: iio: adc: tlc4541 - recover accidentally dropped binding doc .../bindings/iio/adc/lltc,ltc2497.yaml | 44 +++++++++ .../devicetree/bindings/iio/adc/ltc2497.txt | 13 --- .../devicetree/bindings/iio/adc/mcp320x.txt | 57 ------------ .../devicetree/bindings/iio/adc/mcp3422.txt | 19 ---- .../bindings/iio/adc/microchip,mcp3201.yaml | 93 +++++++++++++++++++ .../bindings/iio/adc/ti,adc0832.yaml | 56 +++++++++++ .../bindings/iio/adc/ti,adc084s021.yaml | 58 ++++++++++++ .../bindings/iio/adc/ti,adc108s102.yaml | 47 ++++++++++ .../bindings/iio/adc/ti,adc12138.yaml | 85 +++++++++++++++++ .../bindings/iio/adc/ti,adc128s052.yaml | 59 ++++++++++++ .../bindings/iio/adc/ti,adc161s626.yaml | 51 ++++++++++ .../bindings/iio/adc/ti,ads7950.yaml | 64 +++++++++++++ .../bindings/iio/adc/ti,ads8344.yaml | 51 ++++++++++ .../bindings/iio/adc/ti,tlc4541.yaml | 52 +++++++++++ .../bindings/iio/adc/ti-adc0832.txt | 19 ---- .../bindings/iio/adc/ti-adc084s021.txt | 19 ---- .../bindings/iio/adc/ti-adc108s102.txt | 18 ---- .../bindings/iio/adc/ti-adc12138.txt | 37 -------- .../bindings/iio/adc/ti-adc128s052.txt | 25 ----- .../bindings/iio/adc/ti-adc161s626.txt | 18 ---- .../bindings/iio/adc/ti-ads7950.txt | 23 ----- .../bindings/iio/adc/ti-ads8344.txt | 19 ---- .../devicetree/bindings/trivial-devices.yaml | 16 ++++ 23 files changed, 676 insertions(+), 267 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml delete mode 100644 Documentation/devicetree/bindings/iio/adc/ltc2497.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/mcp320x.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txt create mode 100644 Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc0832.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc084s021.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc12138.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc128s052.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc161s626.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads7950.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads8344.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc0832.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc108s102.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc12138.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads7950.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads8344.txt -- 2.28.0