From patchwork Wed Aug 8 19:13:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10560453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D511413AC for ; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC4F28C71 for ; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE8EE28D1A; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4FF1F28C71 for ; Wed, 8 Aug 2018 19:14:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=2YksZxMQfvoU2ig8OMKVolizA+p1l1OVE5+xwQ7h1tM=; b=VWrc8PpenGmZt7 nxno4Bt3R4/x6WqXH4xiJzyuSoO3i7gFItIaJWigRltYxru7Im7VJBTiBiYIojWTyOZwIRVJuC6OL 3B8T59SZjC1KxuT5jL78uFRSmfRiQbW28O8/a4BpKClUXPliEvMNSlXduc67XenoV/KtcPQ2a2RJy xBINvdflKonO6uE1P/yMopTAJgpm1pBvvwx9c1+vbhzxrGyS3yw61eUy93/CGDgHvATwB9EvuqAN0 4uT4BHk1qKFH9ll3B8eEmTSJrlR0bnbKpeQN+ij+c/qiXijl6CFL6eduogJVhP49wpZwcmIVwMrCI OzjwrfhIFWY7JY+JyYrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnTun-0006jh-4q; Wed, 08 Aug 2018 19:14:37 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnTuZ-0006V7-O7 for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 19:14:25 +0000 Received: by mail-pf1-x441.google.com with SMTP id j26-v6so1593035pfi.10 for ; Wed, 08 Aug 2018 12:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ah5CVFph/rLL+ZJ1gEnQ88ZVR9bFIAJr3uYoDi+MZ2Y=; b=GQCnw6BksSGfcvZhRg2x23sBZQ5Xl00k6ibEMWAZWdF3JjgM8YhJTMVFltg9cDGcmh 8hCIithgzQWTdy+/ifQcZ+xashj5wYmSylFQ20aCmIFJ/a6/OmG2hbP/Uy/fAxqfnk29 B0ahspmtI5hEnuXRwq3o09sWXF7/2fBW9Nm1c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ah5CVFph/rLL+ZJ1gEnQ88ZVR9bFIAJr3uYoDi+MZ2Y=; b=a05RFKLiIl7dm5tGlgmniie1UPwi1NoGTRHIo+m89iKUYHN/An0JxmTJdKVkW1ocj5 tRFiUNxIIGb/U8pzUn5fGS2jEEZvb5+i+vQB7wbmPPscDE2y3S4TcKptuMH56RskBLDF fBEiTc0Zy+74HgMqGSOdPPxPTvfV19NpnxfVnji+rKtSeUOr318+aAKi/oh2VZELYSE7 QwIEaCca2UQF7uqInM2cEiC14OgNw0rwXJ+kSrYOYahBZEJ3ySYxr8raNeV+z0NKlX2a 12DoLjaw9WNrHz7ylqHS8VQz3kFRHZ6VOTY85F4qrg/DJgOZKlXbg0mriWuP0F4cQ9MZ 1xUA== X-Gm-Message-State: AOUpUlHYYAJxyI59lIiRWQbJoRLPcEIAxKaFYO4unbjVGYPpsnWhIqzy qj9zx2eGUH33kGmJRMAYWEgL+g== X-Google-Smtp-Source: AA+uWPzQlndd3Z7t9c5d455gzVPkeo+9+M/uIKlLLLblo4HzBJITEl5mGr99n9B25SmQ0YuFfI/VKA== X-Received: by 2002:a63:5350:: with SMTP id t16-v6mr3644366pgl.196.1533755653025; Wed, 08 Aug 2018 12:14:13 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id f5-v6sm5431136pga.58.2018.08.08.12.14.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 12:14:12 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Wed, 8 Aug 2018 12:13:37 -0700 Message-Id: <20180808191339.16875-2-mka@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog In-Reply-To: <20180808191339.16875-1-mka@chromium.org> References: <20180808191339.16875-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_121423_781310_071C0577 X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Douglas Anderson , linux-arm-msm@vger.kernel.org, Siddartha Mohanadoss , linux-kernel@vger.kernel.org, Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The documentation of Qualcomm's SPMI PMIC voltage ADC claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt index 0fb46137f936..d0c188e5c922 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt @@ -13,7 +13,7 @@ VADC node: - reg: Usage: required Value type: - Definition: VADC base address and length in the SPMI PMIC register map. + Definition: VADC base address in the SPMI PMIC register map. - #address-cells: Usage: required @@ -104,7 +104,7 @@ Example: /* VADC node */ pmic_vadc: vadc@3100 { compatible = "qcom,spmi-vadc"; - reg = <0x3100 0x100>; + reg = <0x3100>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; #address-cells = <1>; #size-cells = <0>;