From patchwork Sun Nov 15 19:29:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 324358 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp2809675ils; Sun, 15 Nov 2020 11:33:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJznRUPkwufuMXULDqelIgTvzR7taMW166dA9YG4cZu/L+1TIfSB2SVg5taTZdHIWl3UCt0y X-Received: by 2002:aa7:d717:: with SMTP id t23mr12399758edq.286.1605468814754; Sun, 15 Nov 2020 11:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605468814; cv=none; d=google.com; s=arc-20160816; b=u+cwtiGNb3Ph3izv/4+fs/NNAMFE7qY54eWQMxrch3Iza2vxxSbcOillojZqqNiPKs dr+2EasssLGvE7731ELYkau9aKBYkOX7Qjv9mN31Y/5QJ3L+yfWtc+docfus3bDqIaCh +dlw6fkRrdvyjWpoYz8e+OLFHiBkI5IIMps8ip0ZGZPABbtTCEM6J61E0FljT7m43hS9 PGpzbD7i/gzL02UO835Ss/i7pFCojBUBCqJZET2WtwXWwepRT58PLk0hg/dKvxRV6x8k y6egn43nqZAYMI0cPwBPONT+OB9rF3DtlcmdNIwd1/dpL7wXy4BfclIC4e99NOa60sWm A0pA== 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=rGysGIkYWiadWsydSOcci0SXZRASjejyRfig9uCLtuI=; b=DMmTuQLPgrTYORtrVZ4RhENbbMGdPm1iREt3XrqP1deijWgpnSH/VKSoYDzWfiI3W/ cGCpEt9cVGLv9B6O+eNw962rSmnSTIK3PI2EGL+Mgq5p+8K5sZFES4dUa1EXBH2Qvvzj GOt4iXcTADln4++2qUWmjZ2YKOHALDXwGHtyAfTBIfM9Od3HLRJRBq29ddqbwbCP9jrl VfSbvXcdqMNLPzbLq0t/AAzYqpm6CvbCYf7a3QebYbKmmOHnCYu/Xx82DKsbuYJE9OqF O84VYMw56jdxZO+sjt4Vt9xRpUnEE7QIO5rLE60b47Lh7FqMu74gjtlC55fEXBKfxsrm aM7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YLV37UwB; 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 bu4si1137887ejb.195.2020.11.15.11.33.34; Sun, 15 Nov 2020 11:33:34 -0800 (PST) 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=YLV37UwB; 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 S1727799AbgKOTcC (ORCPT + 6 others); Sun, 15 Nov 2020 14:32:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:33912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbgKOTcB (ORCPT ); Sun, 15 Nov 2020 14:32:01 -0500 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 471A122314; Sun, 15 Nov 2020 19:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605468720; bh=yvl2FChY/nKwVcFuQidhF3bYrP5jyxXEU9FBzixiq5g=; h=From:To:Cc:Subject:Date:From; b=YLV37UwBsgG4JqTGnh/7lqaVb2EdSj/fCr/p8y+wCSP0evjrcUqX2k3eCcrs7EfD+ YupEKDsFAd5RLw2TicUmV59NPkw50e/9zSZ9/P7Zeu0Sqf3+jnpHTzw5DxSv1/ZAP/ L3uu/lB1sWW0jOKCfUamX9SfYh2bjeVInvSmpyXs= From: Jonathan Cameron To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, Jonathan Cameron Subject: [PATCH 0/9] dt-bindings: IIO: Drop wrong use of io-channel-ranges then drop it as well. Date: Sun, 15 Nov 2020 19:29:42 +0000 Message-Id: <20201115192951.1073632-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 Rob Herring pointed out that the recent addition of io-channel provider consumer interfaces to the dt_schema repo [1] has highlighted some misuse of this property. It is also clear that we don't have any places where it is actually needed. There is at least 1 remaining instance of this in a txt file but that gets cleaned up in patches already under review to convert that binding to yaml. 1-2 fix up examples in dts schema where this is missued. 3-6,8 fix up places where the property was given for providers of io-channels rather than consumers. 7 drops a consumer case where it doesn't seem to be needed 9 is an RFC to drop the support entirely if we don't have any known correct users of this property outside mainline. I'm willing to leave the code in place is we can identify it being used, but still wish to deprecate it and remote the property from examples and dt_schema. All of these can go through relevant trees as there should be no cross dependencies. [1] https://github.com/devicetree-org/dt-schema/commit/170a908a2204838652407662d326f30cbeb87142 Jonathan Cameron (9): dt-bindings:iio:qcom-spmi-vadc drop incorrect io-channel-ranges from example dt-bindings:iio:samsung,exynos-adc: drop missuse of io-channel-ranges ARM: dts: Cygnus: Drop incorrect io-channel-ranges property. ARM: dts: exynos: Drop incorrect use of io-channel-ranges ARM: dts: s5pv210: Drop incorrect use of io-channel-ranges property. ARM: dts: qcom-pma8084: Drop incorrect use of io-channel-ranges ARM: dts: s5pv210-aries: Drop unneeded io-channel-ranges property. arm64: dts: exynos: Drop incorrect use of io-channel-ranges property. iio: inkern: Drop io-channel-ranges dt property support .../bindings/iio/adc/qcom,spmi-vadc.yaml | 3 -- .../bindings/iio/adc/samsung,exynos-adc.yaml | 4 -- arch/arm/boot/dts/bcm-cygnus.dtsi | 1 - arch/arm/boot/dts/exynos3250.dtsi | 1 - arch/arm/boot/dts/exynos4412.dtsi | 1 - arch/arm/boot/dts/exynos5250.dtsi | 1 - arch/arm/boot/dts/exynos54xx.dtsi | 1 - arch/arm/boot/dts/qcom-pma8084.dtsi | 1 - arch/arm/boot/dts/s5pv210-aries.dtsi | 1 - arch/arm/boot/dts/s5pv210.dtsi | 1 - arch/arm64/boot/dts/exynos/exynos5433.dtsi | 1 - arch/arm64/boot/dts/exynos/exynos7.dtsi | 1 - drivers/iio/inkern.c | 49 +++++++------------ 13 files changed, 17 insertions(+), 49 deletions(-) -- 2.28.0