From patchwork Thu Nov 24 22:10:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9446315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A4D64606DB for ; Thu, 24 Nov 2016 22:12:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92CA127F88 for ; Thu, 24 Nov 2016 22:12:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 876B927FA3; Thu, 24 Nov 2016 22:12:47 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BE1427F88 for ; Thu, 24 Nov 2016 22:12:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cA2En-0004IP-Sq; Thu, 24 Nov 2016 22:11:25 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cA2Ek-0004Df-8d; Thu, 24 Nov 2016 22:11:23 +0000 Received: by mail-lf0-x242.google.com with SMTP id p100so2520271lfg.2; Thu, 24 Nov 2016 14:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LrApq4J4lHP9rNAYUqcAIsxifSOq6/wNc9WnBg6ep08=; b=wfNULCptcaYc/44JnZRWDzWshYaGNoeG2edlbhU0Lx8MHq/O1BEciPes9lF2n/DTUf ro7rLpKGtvr3Tdc+iuRwomjI3ZWgjo7yZ9mT6WrW62oaS/vFVbh2sXQRfRQpUER4BZ26 FfqxAjIVpFDJT0bZuzVV52L/qvoQpc6RxdM7qV3WjxmhHDxeJOZFlcD4V/6sn2g0GNQE 5t22ebwbZXjfzzl0bEbh0qP63KssdtHqfRcNBN//lxcQFih9b9Cezo2OhgFZ0zMh7sE3 Raz6n3mj49ahyg9HZYf92ojRx2bWnb8PkkHqE0IQM5YV7ZHmgWeY/yjPSKEHXSmvYjFp YCUw== 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; bh=LrApq4J4lHP9rNAYUqcAIsxifSOq6/wNc9WnBg6ep08=; b=bZgOUQXaZB/++lu2Ev/i94VeRBwXSIWC2fqFfOelq2h6xsw47z10C3/0YjvMni8oru hiQWT97+bHgBgsXhLpfilwhpkxt/jcvSs3RJB0unkr8t6JyQ1sAPupMqIQM2PYGbmEo+ CGVP9vYOAda6T91ZSiutLpuldvg1M+DK8Oi781pBinvzAtNLYu8V5XmzP4KQBDjWYpNJ BtodeJ+82ZBoBUio+dpRt9JHJoNGWDckkZ3rhn7shSmOPmx49/ILm4tONne+KBvSHd3p X/HG4lQrxozncaNIe3xWzSzJvYH1xF7gxFHKvamtMnFOL9b6nvdVjRs4lEae5W0pOU1y GpfA== X-Gm-Message-State: AKaTC01e4Rj671g+ldScjivpvO8GXHqWUgo8LMV+wSVFjzMfLMVRt8uIsqKbwtaP4BGGKA== X-Received: by 10.25.92.131 with SMTP id u3mr1960014lfi.15.1480025459538; Thu, 24 Nov 2016 14:10:59 -0800 (PST) Received: from localhost.localdomain ([79.164.63.174]) by smtp.gmail.com with ESMTPSA id 26sm8640046ljo.24.2016.11.24.14.10.58 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Nov 2016 14:10:58 -0800 (PST) From: Alexander Kochetkov To: robh+dt@kernel.org, mark.rutland@arm.com, wxt@rock-chips.com, daniel.lezcano@linaro.org, huangtao@rock-chips.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: clarify compatible field usage for rockchip timers Date: Fri, 25 Nov 2016 01:10:55 +0300 Message-Id: <1480025455-6797-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161124_141122_571233_832CBAD1 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. 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: Alexander Kochetkov MIME-Version: 1.0 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 rk3036 dtsi file already use compatible field as "rockchip,rk3036-timer", "rockchip,rk3288-timer". The patch clearly shows how that filed should be used on other chips. Signed-off-by: Alexander Kochetkov Acked-by: Rob Herring --- .../bindings/timer/rockchip,rk-timer.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt index a41b184..7bc9691 100644 --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt @@ -1,9 +1,15 @@ Rockchip rk timer Required properties: -- compatible: shall be one of: - "rockchip,rk3288-timer" - for rk3066, rk3036, rk3188, rk322x, rk3288, rk3368 - "rockchip,rk3399-timer" - for rk3399 +- compatible: should be: + "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036 + "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066 + "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188 + "rockchip,rk322x-timer", "rockchip,rk3288-timer": for Rockchip RK322X + (please replace rk322x with exact device name and update this file) + "rockchip,rk3288-timer": for Rockchip RK3288 + "rockchip,rk3368-timer", "rockchip,rk3288-timer": for Rockchip RK3368 + "rockchip,rk3399-timer": for Rockchip RK3399 - reg: base address of the timer register starting with TIMERS CONTROL register - interrupts: should contain the interrupts for Timer0 - clocks : must contain an entry for each entry in clock-names