From patchwork Thu Sep 6 21:04:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10591063 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 5D4625A4 for ; Thu, 6 Sep 2018 21:06:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47F7A2B232 for ; Thu, 6 Sep 2018 21:06:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 380A82B248; Thu, 6 Sep 2018 21:06:32 +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 CA38E2B232 for ; Thu, 6 Sep 2018 21:06:31 +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=XtQUMAXPbYP0ohUfbUqKw0Vifgvk7vBkwlAYC/kLiTA=; b=YQ+OHQeY46sCHp aGTJRtOdBF8zadyAtpxQhtjWfsVdzJ8B5QXMxntoW4r4dRlDhEroUpEfaY6TAOlvv8tIZJYwyaMfe UjX4JAG24SC6MAgTlbmTpQwWXSU1rphTDXyGG55aeVhYGR+9YYA+tndArtbTiOI1l43dEpYMlRIvd OFkl5OymUo7HFPYruuaKqT0hTiCRBRwAw4s+6MVsIRDrjsQiK0yfdFHZsKyml5oi7btdH6oLyJgC9 rvi+Vs4tb4pZfJ+fNNC9nRrqF+Vlrhe2/SozOj+CXSTDZ0cwDtpzzfgY/WKHd5AMfbdQx8ePEw0uF fWdtTnP8blDyWbF/t4fA==; 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 1fy1Tm-0004Lp-RJ; Thu, 06 Sep 2018 21:06:18 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy1TE-00044R-Ef for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2018 21:05:45 +0000 Received: by mail-pf1-x443.google.com with SMTP id k19-v6so5895067pfi.1 for ; Thu, 06 Sep 2018 14:05:34 -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=vFlxfVRSjS2EsnlOC/4qKCm1oe1/j2za0S0N4a70Cyw=; b=Td6541f15RDc0tm8IvwY1Dyk5K4GHRuOSEilQDqW7MPXyGayHmch6wmkX68/1T+pMj XOKi4LvLLXQSJJu1sxpmc3kosdwdpF0VrBkB+k1BTqb/SEB3PN2X55XWDYx1I+qwa0MY GKHO0taF9SkU8ZhC6SBq1uCoXQeqXSv6BYJg4= 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=vFlxfVRSjS2EsnlOC/4qKCm1oe1/j2za0S0N4a70Cyw=; b=ZuNML6QDLNdcdNLhYSuZ9WmdvKWPyQFT3d+On5ultQTfKhsi5hjEyhoePVZfC5NjVu a01nrxrl0CkgEom1wzgT1WnJtY7XTzu77Ork1OEULeSonsTHIFsObHqjQ2rHJdxk2R5s m6wNnBk5EdQdWrg1KC120pInrPw8Yuipk9J+taADDNaUOyYQObTeArsBkeCFXRkKbnQw i/hzSJF5x21yio5O/EXWdRy/JbS0PFMy0oqEHOO2phuyuzdStyClhR647mOlFajPkh3H FUwKaA7KaITL7cEjBJ2wKSRM0KXnfjngDRR0LpPqJUujOa8A6DjkPXcGj7FWchzuLity xCfg== X-Gm-Message-State: APzg51D7ke4gEEnutlqa2aKekTNtJkLre31b2TOqQOGAue6PWTgrwlgz kSqARiL8bHDcnfVtS7wuNX6DQg== X-Google-Smtp-Source: ANB0VdYZKxiklFX2ndnobTS1L3ol8LfyaOtW4VPfKlrbS1vHX8BMQZYuT4x17Q4nKDyq80FB6Bv/EQ== X-Received: by 2002:a62:d44a:: with SMTP id u10-v6mr5005730pfl.144.1536267933882; Thu, 06 Sep 2018 14:05:33 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id y4-v6sm8271288pfn.123.2018.09.06.14.05.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:05:33 -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 v2 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg' Date: Thu, 6 Sep 2018 14:04:52 -0700 Message-Id: <20180906210454.247219-2-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog In-Reply-To: <20180906210454.247219-1-mka@chromium.org> References: <20180906210454.247219-1-mka@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_140544_488418_A7D9CD19 X-CRM114-Status: GOOD ( 14.10 ) 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 Signed-off-by: Matthias Kaehlcke --- 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>;