From patchwork Mon Sep 10 16:02:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10594499 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 6FA5314BD for ; Mon, 10 Sep 2018 16:05:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C13C291EA for ; Mon, 10 Sep 2018 16:05:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F4772929A; Mon, 10 Sep 2018 16:05:55 +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,RCVD_IN_DNSWL_NONE 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 BEAF9291EA for ; Mon, 10 Sep 2018 16:05:54 +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=fqqxi/b+BYbATvSCaytzJbJcG00Y7Gfv7AApUueI6CU=; b=n0xNCOgkRFcj5k s0JPsJ2j9wDSgEkzjjw42kgszH7IxNTb1JAT0Qajh/4n8BlfoRtIJEZIKFEMQrnzUAU69Pbdjv3XD lcGdSV6Bhztfc8KUnySlHWg31e1oB7hrcJEcWld+iCIknGs27Wb+xlq+1jdq3eQ4+wBYtrRmIgaL/ /U/8HItf4Or2Z9W7a7kRhgW3SYE2dzHx0t7n3g1F1rUPQz5ZfA/38NKAqz3LxABcuZKOiQ2S5CgRs ufJnl7j8tSEkmPvM2Pe7V+tGJhAM054Ow8ZlCuzEVSADFcMjdrxGq/NmJF1EvInGb6FaZJ7dOt5uG W3yPsvpMPiT2TUOf5WQg==; 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 1fzOh6-0007z5-Ph; Mon, 10 Sep 2018 16:05:44 +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 1fzOfG-00060Y-96 for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2018 16:03:55 +0000 Received: by mail-pf1-x441.google.com with SMTP id x17-v6so10711337pfh.5 for ; Mon, 10 Sep 2018 09:03:43 -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=9v+SdcrhUYluLoY69mPdaMFx4Nogh2CsYFNID8uJf0w=; b=FiNDwDf1JMlDHmHAHYY4azmApZonf5/yelBqI8R8MbocyWc0PdLntJRfCVhyMsevFg kXLHgy4aH1G+GYbxPD+u5OAOHDnBjGu0csCy3NX1IK2x4UUxQcO51RjS73Skj43BRVtw 2y59EITjLfkxJC4UXgybW0+UyToiFCPaNsNDY= 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=9v+SdcrhUYluLoY69mPdaMFx4Nogh2CsYFNID8uJf0w=; b=N4vGW13lUZLG25LxkigKlB8yJI80h5ez8iZ3Djwi9cEkkMP6E52gHa3/RufBH+Ke8L o5arNFZGXz2WeZO3VEKrJB3bH6Sl3W9nEaqqu8aaIAuHFCoeWdiX4AltUNqz4N5Oqa8t caRyq7dRhMk5c+Z570gYfaulWSy3TCCa+eTUMj4sGeUJ1Zrah4THUfpLLKh9cfpCzJ9O R5/00wTIsQQGhzG5Y8Juke2OIxpHJ3etvqNVLIkweFm/7E6aRoObami9lu3lG3PXqiwe F/YCfnHvQfBjdZG6+BnNwU9FPfemcFeHW0WJdPJ3yg4PhVUwNRDShnxwrXi95WYdI0KL Bh1g== X-Gm-Message-State: APzg51CXRq5EOQo3RIUMVCE69KxYMH+0kML/XBFa0/wDBeItOT6NIW+F DlvdzXKgpnT0hlsxouUyqZlw8A== X-Google-Smtp-Source: ANB0VdaD2w0McAHIKSY2f5yDV+QWzeLwkcJGErFj1XMHH6eSxDmtg22IjMjTaIJwd5dIQBMVElTjAA== X-Received: by 2002:a62:9992:: with SMTP id t18-v6mr24365650pfk.239.1536595423131; Mon, 10 Sep 2018 09:03:43 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b3-v6sm33893517pgm.74.2018.09.10.09.03.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 09:03:42 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [PATCH v3 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Mon, 10 Sep 2018 09:02:59 -0700 Message-Id: <20180910160301.237538-2-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180910160301.237538-1-mka@chromium.org> References: <20180910160301.237538-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_090350_374273_DF4B129B X-CRM114-Status: GOOD ( 14.78 ) 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, linux-iio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , 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 --- Changes in v3: - fixed separator in commit message - removed duplicate 'Signed-off-by' tag Changes in v2: - none --- 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>;