From patchwork Sun Nov 15 19:29:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11906747 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=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 B3D57C63697 for ; Sun, 15 Nov 2020 19:33:45 +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 6595022314 for ; Sun, 15 Nov 2020 19:33:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nz5uRZCD"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FjnY8I/c" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6595022314 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:References:In-Reply-To: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:List-Owner; bh=xxyw8nQEelZvuAm5IDm0QHy+LMfGwZJuSksnhvYERWI=; b=nz5uRZCDE6dYcTOW/NkPUj+mx 5WHqs+1YGVNm7Vt4b+0VNG5lJUPZaD2RbnDnPQO3ujJzoZRvmpwCcRe88R7gK+Qs0djY6Y8tdTsM6 /Mj0e0xKG3uOcWntT42sq/MGhds1kf9IpxrDz4hzwUhdRrpB3Pi4Tml8Rmed+WGIOwxILb75zIDjf bnN+x3OLzYzMuBpIKC2PFCws9Ng7Mpde5t932XIQ+FoKQCRWl3Wya3kDwbk+1UBMNC/hvh88vZGkn DbH/fE7NZpU6QIE1R1HczcfZeOJynGWPtxXsAyOFeTvXp9ZpfFGfbaHvFzuDI6wFvHaGYkZROjQAV ACydFcJQw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keNkv-0008FV-27; Sun, 15 Nov 2020 19:32:09 +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 1keNko-0008Dj-Sv for linux-arm-kernel@lists.infradead.org; Sun, 15 Nov 2020 19:32:03 +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 B0B7622450; Sun, 15 Nov 2020 19:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605468722; bh=Y9VRZv8QmXJaUps1gLHyOqX1ST1UIegXHzcwBj9wxfw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FjnY8I/cMkmpQkM0CTfJNB5SvFH4ttyt90efwXx/arz+J8Xe5MPpV8ltwClgU0kLI 462J/mBkiqm1hC3/vDoLsIXl/eO/PxO5uZPj0p8iVrEq0hLPn8xIWGkwo42UW+QN/h ZEo3Iv8HssGRu7trccEZUUxmolRMqU9oKBJ5cya8= From: Jonathan Cameron To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/9] dt-bindings:iio:qcom-spmi-vadc drop incorrect io-channel-ranges from example Date: Sun, 15 Nov 2020 19:29:43 +0000 Message-Id: <20201115192951.1073632-2-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201115192951.1073632-1-jic23@kernel.org> References: <20201115192951.1073632-1-jic23@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201115_143203_032579_AEAB07DA X-CRM114-Status: GOOD ( 12.56 ) 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: Rob Herring , Jishnu Prakash , Andy Gross , Bjorn Andersson , robh+dt@kernel.org, Jonathan Cameron Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jonathan Cameron io-channel-ranges is a property for io-channel consumers. Here it is in an example of a provider of channels so doesn't do anything useful. Recent additions to dt-schema check this property is only provided alongside io-channels which is not true here and hence an error is reported. Signed-off-by: Jonathan Cameron Reported-by: Rob Herring Cc: Andy Gross Cc: Bjorn Andersson Cc: Jishnu Prakash Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml index 7f4f827c57a7..95cc705b961b 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml @@ -48,8 +48,6 @@ properties: description: End of conversion interrupt. - io-channel-ranges: true - required: - compatible - reg @@ -249,7 +247,6 @@ examples: #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; - io-channel-ranges; /* Channel node */ adc-chan@39 {