From patchwork Mon Mar 7 19:51:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 8522811 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C4AF99F2B4 for ; Mon, 7 Mar 2016 19:54:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC631201EF for ; Mon, 7 Mar 2016 19:54:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1329B200DE for ; Mon, 7 Mar 2016 19:54:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ad1Dc-0000eg-2g; Mon, 07 Mar 2016 19:53:28 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ad1Cn-0008WJ-AV for linux-arm-kernel@lists.infradead.org; Mon, 07 Mar 2016 19:52:39 +0000 Received: by mail-pf0-f193.google.com with SMTP id 63so8608763pfe.0 for ; Mon, 07 Mar 2016 11:52:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dOZ/Z5Tp79Csb5AeVzIKxMK1u5g4Ui+Xvqc3fZiedmY=; b=E0zQqQq/epZDfFR6j7VflkFCZ/P3tmAbwy1/kXwNjNfroPcjbn9AEEzNlRuahmlESl gYG/blIQ+hrOtAHobXltlRtipoNsTbpfBRmVQpc7iNitq9yH2MKI4IHKH4Uh9Zg00wyk mzhZqEBChoO7F3ASz132BjYGKgR2COptpTbEjVWj6mUU9qi7wUkLHnpClJr4e3WvAamk EJclS6zFjloH6GmTDrvX3kDsDrbHwEqGdaTcUN70kzFhHl+awMQlaaPujidjlWEYCG7l RfwVl1jSDxw8Mug6cGmz4GHyxthC47ek0gI4T3rdiZSYYw3ExN3GG8esWmwrbKG21Esd rlpA== X-Gm-Message-State: AD7BkJLLH9mJQESg55CXnL1ZYE0gPFexYCzWBm/umWqbilIpjmSG3nGCqVzJv7mxt9NAwA== X-Received: by 10.98.19.199 with SMTP id 68mr36212841pft.31.1457380336545; Mon, 07 Mar 2016 11:52:16 -0800 (PST) Received: from beast-server.fios-router.home (pool-173-57-21-86.dllstx.fios.verizon.net. [173.57.21.86]) by smtp.gmail.com with ESMTPSA id wq3sm5833033pac.44.2016.03.07.11.52.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Mar 2016 11:52:16 -0800 (PST) From: Franklin S Cooper Jr To: thierry.reding@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, bcousson@baylibre.com, tony@atomide.com, linux@arm.linux.org.uk, t-kristo@ti.com, mturquette@baylibre.com, sboyd@codeaurora.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 4/5] pwm: pwm-tipwmss: Update documentation to use empty range property Date: Mon, 7 Mar 2016 13:51:57 -0600 Message-Id: <1457380318-15452-5-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1457380318-15452-1-git-send-email-fcooper@ti.com> References: <1457380318-15452-1-git-send-email-fcooper@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160307_115237_607299_D18354ED X-CRM114-Status: GOOD ( 10.18 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Franklin S Cooper Jr MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since the PWMSS and its subdevices (eCAP and ePWM) use the same address space then the range property should be empty. Update the documentation to show the correct usage. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt index f7eae77..672fa71 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt @@ -7,11 +7,9 @@ Required properties: Should set to 1. - size-cells: specify number of u32 entries needed to specify child nodes size in reg property. Should set to 1. -- ranges: describes the address mapping of a memory-mapped bus. Should set to - physical address map of child's base address, physical address within - parent's address space and length of the address map. For am33xx, - 3 set of child register maps present, ECAP register space, EQEP - register space, EHRPWM register space. +- ranges: describes the address mapping of a memory-mapped bus. Its value + should be empty since no address translation is needed between the + parent and the child. Also child nodes should also populated under PWMSS DT node. @@ -23,9 +21,7 @@ pwmss0: pwmss@48300000 { #address-cells = <1>; #size-cells = <1>; status = "disabled"; - ranges = <0x48300100 0x48300100 0x80 /* ECAP */ - 0x48300180 0x48300180 0x80 /* EQEP */ - 0x48300200 0x48300200 0x80>; /* EHRPWM */ + ranges; /* child nodes go here */ };