Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3251273ybi; Fri, 5 Jul 2019 04:25:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+tzYcrc8BjdfodpzxbmZAkeOJIjytmdsJ6J5D2Z63z2fzdrLO4+xjxRruR8zmpAVuetYV X-Received: by 2002:a63:3d0f:: with SMTP id k15mr4969013pga.343.1562325943569; Fri, 05 Jul 2019 04:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562325943; cv=none; d=google.com; s=arc-20160816; b=rfeZHRRq02n/KC+HBV25uubgC8B5FD79MP/YGcEYaYIabnynWsYFVCbnHOT1mPRWrS AmSI8BGub5gb9RHqWg5V/WiZ5jx+uGYIpmAJLM0I03gM+BP2k/YB+18d3YJgr4L03gmC 8E9qm3R3AcCm7wbbokHwFRYcn3Ptngbdv7g2ZCSX7hjcbA0aEaHpec39CMMA+CZrdGmJ jcD7AsAGOjhpBM/qf7TqIvl/sDx4dubo3fgMLHM+/sH5Q7V1CPKmkQIz0YDtqOw3E8+W 2HbfuHRZ0A6LVvfbd9QuvUxt0Nl6N4Wm7shnnD7TOhLZIYFVuiS4FZQLrgIeXZ2nFQKN ENQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=1md+dstgkg4Bs2bL1NWeM/AtV/FhhxVL4NMwa6ahrI4=; b=cfluq7lFyLJZ05KOtBWEY8/T9B+WjhZ8IEQREbr2ZynVWuE5fdR2u4VCX+lBNFMUqW djsiO4sU/Edlug42TeKi56zhrcY6SFCuGbwoMHh4DQJ76b/TJ40fEl0Y3GszGeKeShni e9GUzfgzGzAfRdV/tdOynJqQ2+drndWInTsDSAK7+I1E/8y38RTIXQ1T+8rOvTrFpuGU cOVeCUefxXa0d1BL1Srce7QMd3oIL3VXetVc3Jmhnt1Jox7TC0r27pFIeztSg5cXBRhB 90CyvvjAhKRkOe2tIxbQAqZm0rt3yvzQuqedJuISj0x3HTsXcGGGEiGrXVTwq8SGMjwl ix7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7si9259768pfd.185.2019.07.05.04.25.26; Fri, 05 Jul 2019 04:25:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbfGEK1U (ORCPT + 99 others); Fri, 5 Jul 2019 06:27:20 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52366 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728030AbfGEK1T (ORCPT ); Fri, 5 Jul 2019 06:27:19 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6549B1A0782; Fri, 5 Jul 2019 12:27:17 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 85C6C1A0176; Fri, 5 Jul 2019 12:27:12 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 535FD40297; Fri, 5 Jul 2019 18:27:06 +0800 (SGT) From: Biwen Li To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, leoyang.li@nxp.com Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, xiaobo.xie@nxp.com, jiafei.pan@nxp.com, ran.wang_1@nxp.com, Biwen Li Subject: [PATCH 2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver Date: Fri, 5 Jul 2019 18:18:00 +0800 Message-Id: <20190705101800.44561-2-biwen.li@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190705101800.44561-1-biwen.li@nxp.com> References: <20190705101800.44561-1-biwen.li@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch adds binding for ftm alarm driver Signed-off-by: Biwen Li --- .../devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt b/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt new file mode 100644 index 0000000..0f330b4 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt @@ -0,0 +1,33 @@ +Freescale FlexTimer Module (FTM) Alarm + +Required properties: + +- compatible : Should be "fsl,ftm-alarm" or "fsl,-ftm-alarm", the + supported chips include + "fsl,ls1012a-ftm-alarm" + "fsl,ls1021a-ftm-alarm" + "fsl,ls1028a-ftm-alarm" + "fsl,ls1043a-ftm-alarm" + "fsl,ls1046a-ftm-alarm" + "fsl,ls1088a-ftm-alarm" + "fsl,ls208xa-ftm-alarm" +- reg : Specifies base physical address and size of the register sets for the + FlexTimer Module and base physical address of IP Powerdown Exception Control + Register. +- reg-names: names of the mapped memory regions listed in regs property. + should include the following entries: + "ftm": Address of the register sets for FlexTimer Module + "pmctrl": Address of IP Powerdown Exception Control register +- interrupts : Should be the FlexTimer Module interrupt. +- big-endian: If the host controller is big-endian mode, specify this property. + The default endian mode is little-endian. + +Example: +ftm_alarm0: timer@29d0000 { + compatible = "fsl,ls1043a-ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>, + <0x0 0x1ee2140 0x0 0x4>; + reg-names = "ftm", "pmctrl"; + interrupts = <0 86 0x4>; + big-endian; +}; -- 2.7.4