From patchwork Wed Nov 15 12:59:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 838171 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SiTCzCTw"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ycPcD0s8Zz9s7v for ; Thu, 16 Nov 2017 00:00:12 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757340AbdKONAK (ORCPT ); Wed, 15 Nov 2017 08:00:10 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:45486 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757338AbdKONAK (ORCPT ); Wed, 15 Nov 2017 08:00:10 -0500 Received: by mail-qt0-f193.google.com with SMTP id n32so17881109qtb.2 for ; Wed, 15 Nov 2017 05:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RIijX4fklScBZkkpsVDbEwNYIPgN1fqfmltfG2DTr3c=; b=SiTCzCTwRI1c20+6aLhp0lmv/ozxgxmbUVhkKY6Sh5MSIkmzpYXTZ7c/7uRNdxeGED Qwr5ElzGM7ayv7JMgLo0McA//qvvqf0N33LBD4zlwNSmDAuimovcjEf59HW8DTEGHbtY gikc7KGgDf+v1za3iU5T1OhGDcqxTNBPOWR5IqBFtc5GDXsXhyi6JZnB3d88bh+7t9n8 M/I4Bx1s4TI49+ncO1m/e4upwwpcIb4Xcrxx3O55XPu4XstGVmHtM811636fl3YruCar 2kMtwd7DFlJWUcXqU6XWETSHAKUfNT1kolndW9suoj9dI07yopRDcatw9Ag5gBNpmhwb E91Q== 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; bh=RIijX4fklScBZkkpsVDbEwNYIPgN1fqfmltfG2DTr3c=; b=oGJ0TtUmxW0v9I/gqnuqko1fBs8Ep4pylpQ3VJIfUF6DLM4KxxjN4PB39S4YerY6P9 KPmJZ6U2mgPl4dfqh+5SVCcwZ25JHRtBfGQqAhdsoarIyCvMZsI8gJoBJi2AVZHMUoaA JMfYqjnuPOnoaTwAupivce6Ew8H9PxoRCDUg0MamEylGCkil+bE58ufVED6PSJ8Dt1Vi 21hN5cKQ4luxRwHpkgH+BvuHGNpArOfYhzRbXpLGjbDZIdBxJdSKdvhGlBAoIpqZugDI TQDVzw/ikb7yefSGe13FAcQpGnPFLBfXzhgenZWyFIRkra8RMZnHdZznvyVPSelOnbYy gt/A== X-Gm-Message-State: AJaThX4d4wJQeJg1+i4uikkif4TS3K1mVSG1JEqzdD/oiZIp+pVD60MW IUWcUGIq+WuVpNAvaxzuixeMqXE7 X-Google-Smtp-Source: AGs4zMaHZA7f6JGVuf/Ivz3M4iIGblNUc3t02+rZjQ84GF7776Y2cdYx5bd4lBRl1yBETy6c+BB89A== X-Received: by 10.237.59.7 with SMTP id p7mr23427055qte.3.1510750809402; Wed, 15 Nov 2017 05:00:09 -0800 (PST) Received: from localhost.localdomain ([189.61.212.159]) by smtp.gmail.com with ESMTPSA id r22sm5169325qtc.71.2017.11.15.05.00.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 05:00:08 -0800 (PST) From: Fabio Estevam To: alexandre.belloni@free-electrons.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, jbe@pengutronix.de, Fabio Estevam Subject: [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text Date: Wed, 15 Nov 2017 10:59:53 -0200 Message-Id: <1510750793-25564-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Fabio Estevam Improve the bindings text by doing the following changes: - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware - Add 'clocks' to the list of required properties - Explain that the optional security violation irq is the second entry - Use the real unit address and irq numbers for i.MX25 Signed-off-by: Fabio Estevam Acked-by: Juergen Borleis Acked-by: Rob Herring --- Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt index 323cf26..b8f3050 100644 --- a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt @@ -1,20 +1,20 @@ * i.MX25 Real Time Clock controller -This binding supports the following chips: i.MX25, i.MX53 - Required properties: - compatible: should be: "fsl,imx25-rtc" - reg: physical base address of the controller and length of memory mapped region. +- clocks: should contain the phandle for the rtc clock - interrupts: rtc alarm interrupt Optional properties: -- interrupts: dryice security violation interrupt +- interrupts: dryice security violation interrupt (second entry) Example: -rtc@80056000 { - compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; - reg = <0x80056000 2000>; - interrupts = <29 56>; +rtc@53ffc000 { + compatible = "fsl,imx25-rtc"; + reg = <0x53ffc000 0x4000>; + clocks = <&clks 81>; + interrupts = <25 56>; };