From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D74FC63777 for ; Sun, 15 Nov 2020 19:32:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E12E72419A for ; Sun, 15 Nov 2020 19:32:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="YLV37UwB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727799AbgKOTcC (ORCPT ); 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 Content-Transfer-Encoding: 8bit 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34EB0C2D0E4 for ; Sun, 15 Nov 2020 19:33:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB00122450 for ; Sun, 15 Nov 2020 19:33:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uT9EKfch"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="YLV37UwB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB00122450 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Ent4w7sDbQ7cHKSQGAiMzgnPrTXQf4Re+iq3ZCI0j7k=; b=uT9EKfchZAEqthmDrRJaRm1T3m fUryQ2onYNZdJVVRNkO/JBJW7Tg6PTNqnFT1HESUAGKqIvMNKsG6XjkglTiymVmVQr2b10eUoR9gD aDOCxmUSbERi/37ardp0lhvJ6RO0bVfl0YtqnKCHKLenBK+1zEfebQoM99lLc4aVnVlwQPlIupXzq 9daMdL33d5be9v2r00GMliE4CWmrbOWWonlms4coIzQIXqsaYTfAM3ID/eaMZ6/uCfZ/fj1R1rhCQ MNuTrTlWUyzYrX+AptZg0sqd25nqdK+EOLuHLuL3UDhrWJmcDn69Dy4LuysCKUdTTqPrMkK7tGx/B hfvTV+IA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keNkq-0008EL-8i; Sun, 15 Nov 2020 19:32:05 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keNkn-0008DU-VG for linux-arm-kernel@lists.infradead.org; Sun, 15 Nov 2020 19:32:02 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201115_143202_088955_20ED1517 X-CRM114-Status: GOOD ( 14.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh+dt@kernel.org, Jonathan Cameron Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel