Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp671851ybv; Thu, 13 Feb 2020 07:31:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzREryVyXmidOAEwDXdRm71Uzd8G7RmSkAKPyjmu3Py4mBaZOvfrgt0S8MEPAftwzFgsyjQ X-Received: by 2002:a9d:aea:: with SMTP id 97mr13607118otq.51.1581607904854; Thu, 13 Feb 2020 07:31:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581607904; cv=none; d=google.com; s=arc-20160816; b=r8ljrHdm1GJjUuyEaz31OWAN6gTF6B0pILE7olQHXqoi1y3nmwF7aDABO+KOWstKH4 A6KIejCB1q5GrnjMoy3xrXyS8ZCOncgYcy/gpwFdHUiVPiVnE/w2d7ec/wsjXISqG2SM pXFWaotWC7oE4yelh3hKnaBl9nf3JUEw52nd5VYRaZ2XSzCF62UQLdBGsUU+ownYayD8 8QWuRK3spfs2c4km2NlPoAIyW3Con4F2oRtbsH08/3auATdr24qFIcG8MYYb19zt1EHR ubytGsNfyLZ+bhA+uagA3yl1IvIU6kkIpMaU8nIAonoBxZnYWg4LzXrlzbJ5oFNndX53 RDRQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iZqK55L3VGtNWv7nzEADOwP+DCZ0L7XDACf4cqh8WbI=; b=YFZNkURi2Ym1szEjAB/FF5BlFILe5WmL31Hcl11UTRhyjbM/fkYvM9M/4lTaqtJ06n gOawVbzFO1OqHahlixExf7/g88c+v1uhJe/9rvGFVsCbV/5Q97kPnNPW/3Nq2Xk9TVcf ZwSG8yOt5roL0RIOqBqG9xI9xlzmdlY7fSREytEfUMPAaDFDJBEkXMmvSYlcwD8oNVVG yTWbkFL0HdRWsQjzv3Bjrkdk7WRCYdFL+M6eT40YvcZwivYK/FcXRfE9OqcjOvSk5cLW y7+ZawWL/xK1ZeLhL3KjlFyT4+dLh1NLRvcjz8ugVBHhFvWCHXmk3q8xOvAMwR1uDA53 g7DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sZYuofQb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q131si1284857oig.203.2020.02.13.07.31.32; Thu, 13 Feb 2020 07:31:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sZYuofQb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387837AbgBMPb3 (ORCPT + 99 others); Thu, 13 Feb 2020 10:31:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:53394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729508AbgBMP1z (ORCPT ); Thu, 13 Feb 2020 10:27:55 -0500 Received: from localhost (unknown [104.132.1.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 22D7320661; Thu, 13 Feb 2020 15:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581607675; bh=Vp1HU5MM0aP6YvXyu1D2mNusGmERSgN0wIc6HJRs83s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sZYuofQb0EsfuxdhfrWlEDACvSd4AIuaxGBFKL4bADvnZqKcsmkRp2PQjtv+76DGD xdPa7Br/gRR5VFZudWNL6Q2YQ/6RZqd681INKam/JgD/gvez9RjXaPlNRKaPwyqvs5 AR9HRJw4S6IjT9kas4Ygvy56UXPpwDbxjimTRjAE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Beniamin Bia , Rob Herring Subject: [PATCH 5.4 83/96] dt-bindings: iio: adc: ad7606: Fix wrong maxItems value Date: Thu, 13 Feb 2020 07:21:30 -0800 Message-Id: <20200213151910.299667068@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213151839.156309910@linuxfoundation.org> References: <20200213151839.156309910@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Beniamin Bia commit a6c4f77cb3b11f81077b53c4a38f21b92d41f21e upstream. This patch set the correct value for oversampling maxItems. In the original example, appears 3 items for oversampling while the maxItems is set to 1, this patch fixes those issues. Fixes: 416f882c3b40 ("dt-bindings: iio: adc: Migrate AD7606 documentation to yaml") Signed-off-by: Beniamin Bia Signed-off-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml @@ -85,7 +85,7 @@ properties: Must be the device tree identifier of the over-sampling mode pins. As the line is active high, it should be marked GPIO_ACTIVE_HIGH. - maxItems: 1 + maxItems: 3 adi,sw-mode: description: @@ -128,9 +128,9 @@ examples: adi,conversion-start-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio 27 GPIO_ACTIVE_HIGH>; adi,first-data-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; - adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH - &gpio 23 GPIO_ACTIVE_HIGH - &gpio 26 GPIO_ACTIVE_HIGH>; + adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>, + <&gpio 23 GPIO_ACTIVE_HIGH>, + <&gpio 26 GPIO_ACTIVE_HIGH>; standby-gpios = <&gpio 24 GPIO_ACTIVE_LOW>; adi,sw-mode; };