From patchwork Sat Oct 31 18:24:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 320109 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp2440046ilc; Sat, 31 Oct 2020 11:26:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd/cRDcVVyU43uzygvCiW5I8OXoms2sO72PejdTFgjnRik2vUyUgdeem8ZU6gR0BzDtV4b X-Received: by 2002:a17:907:204c:: with SMTP id pg12mr7801398ejb.464.1604168795946; Sat, 31 Oct 2020 11:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604168795; cv=none; d=google.com; s=arc-20160816; b=KEyjraK3jzSA2AZByceokjc+J8OpAFrD/ILo8NJwJGaDsjZfYkvvEEQusdSW+4Oe9F Xb7aRcKsH/FyLa+6lNWc5xfw7VNHCOEtPiSlIA3F3IOCfbE8VhI/Rfvq98kfhs0C/2eW w1ggslDkReKOvrZ4B9+mqMmWTfuVU3q8jen9+NcYYSmFW4WsCSX9WqwHyztPErPnQtV9 21kQULZRCm734Rv0BcbERWEWCkR8e4UyzLYJUlxw8VoKn86YSwG/nEz0Q5ONUnVl7IAq TvPRVEK49bJi8Vt0IxlHzCbD6hXHMjw5TedOjywjw5awHM1EXoa3w9Q0HqaMDYoDp0OL +vZg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=krxDWGcZcPIebx2A8aTR/Ok9aEvJApnQvsSUZHTHSkw=; b=nYBSRaEhhK6N6svo+BX7Pq9aXDarXi4l7hK5G0+Y9lwedIWl/YEn6OVgAr96/iHSBh /fuXySpmWrGu2lWJztbK0Mi6YZpH7OgB9jAL8UYu/Ud0hpUSYB/HSx27bR66Ulkud7r+ w++nmARveDBpypeVBUD3rww9fevhO7BCszIVS0uMRupDsRHLN6zgQFReRuSOdhbzjLuD TgoRAfHsVx0fVQ4Uy60OL4BysHqWcBKqzdh/P3qaXoQcYjGCEi8pDiGQzMRPGMeILAhc foa7YkBhPsZFh7BDzhofAgPKhNBZAADTrlsCXRkd3lbCQNlyUhy60aHBnpTwmIotZoq5 QrNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ro3aCHZd; 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 cc20si7216082edb.341.2020.10.31.11.26.35; Sat, 31 Oct 2020 11:26:35 -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=Ro3aCHZd; 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 S1728213AbgJaS0f (ORCPT + 6 others); Sat, 31 Oct 2020 14:26:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:51432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgJaS0e (ORCPT ); Sat, 31 Oct 2020 14:26:34 -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 74D35206DB; Sat, 31 Oct 2020 18:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604168794; bh=Q5P2VcDHe3OO53nD177T/297ZRpgdUbX5JupIBlS2Cc=; h=From:To:Cc:Subject:Date:From; b=Ro3aCHZdbmx6YPm/kyxr/V4fXIDrOaa8k8A0+vOFljqWED54GfcUyXaSZ5ng4HyfV zjlqTUWeaHXtDpogjpQNIImh4FdN1i5E/b80826V3l0WaMfCQNJRakUhtVP5Ur44sP xJNwJ09Z606+U1DMWMc22j2JzMP2aN4l8HqK16+k= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 0/3] dt-bindings:iio:adc: Convert generic ADC channel binding to yaml Date: Sat, 31 Oct 2020 18:24:20 +0000 Message-Id: <20201031182423.742798-1-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron This channel binding is not yet that heavily used, though that will slowly change now we have a standard binding. There are more properties coming for this binding in the near future. This series converts the channel binding itself then leverages it to reduce repitition and improve consistency in a couple of drivers. One thing to note is that we have similar defintion for DACs but so far there are no generic properties. Jonathan Cameron (3): dt-bindings:iio:adc: convert adc.txt to yaml dt-bindings:iio:adc:adi,ad7124: Use the new adc.yaml channel binding dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels. .../devicetree/bindings/iio/adc/adc.txt | 23 ----------- .../devicetree/bindings/iio/adc/adc.yaml | 38 +++++++++++++++++++ .../bindings/iio/adc/adi,ad7124.yaml | 14 +++---- .../bindings/iio/adc/adi,ad7292.yaml | 8 ++-- 4 files changed, 47 insertions(+), 36 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/adc/adc.txt create mode 100644 Documentation/devicetree/bindings/iio/adc/adc.yaml -- 2.28.0 Reviewed-by: Rob Herring