Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp644699ybi; Wed, 17 Jul 2019 02:39:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrsCNZVKvoRgO1GN3wR7Q+j6oPGdVGCrVsDI67Ku5Swb7b27i0RK/eMAh2qZqq1R/6rJsJ X-Received: by 2002:a17:90a:22aa:: with SMTP id s39mr42573708pjc.39.1563356371230; Wed, 17 Jul 2019 02:39:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563356371; cv=pass; d=google.com; s=arc-20160816; b=t3wqZQmwHc7jPtA+XCYWuHA1mwKmrZVmRhaoX6hrXU/GD4vudtrkVhmlEoRXLkbEDq nXq6Vh1Ud2haMWL2UiCFlgrRT/00Irlg4fn26u/qT6fgV8dDAUqkX0sE0be6zdSOcayC fq1qvkio7i2ouxhlfNy5CMX0GXeHPgbINV49f7/WdBYWP7Z7fwNFbyWxqj69sSVAJwX3 tiD4G1yU0b1NgMzfERZTNsh021yTT/2fF3EKTwxN0xYGy/Ylxr65j0oH/NhC28aXEDKf 28iKh38vM8GBc8TETcT6HPQ1SDaDoQ01tQbMQ6nkblHLGzcCZuMApuY+xGzpwR9QccaP tk8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=gMbbOjqAsft46QCBdzdq591lDuJqq/BG1HUgUNAPOhI=; b=kqdNo+6iP3wzLN7E3a9HfPqjfux3KBUWrvp9PWozdVT2y7yc/yCgeyM2CAm7ohCZhC 3cxUKUFblYWiJRM1067Cm1zZaKLpl3NfFfk66ntq+EmNY/T9MQLSpxs5jIDv8H9lJy+E Rm39z5xwI/0n+/k+5+lWP5vZo33EdUM7VS0UR3xiBq/mphRZ+0YbGUkSlAiKyIr2Y1zT xIMvbIxhoMVk8mjRvfPIJ5z+469Pnl65ZS2erUWrlShkzz9vQCHDR3tAGVnf4OljvyrI UUc2FUSoVcWM7k02MTTceydxOZvmVTgrRjUBIqt4s91KCByzKwDUwcd2DPwNwj0r5gM1 SAtQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=HD+1a0DD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (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 j187si22201778pge.591.2019.07.17.02.39.14; Wed, 17 Jul 2019 02:39:31 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=HD+1a0DD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726519AbfGQJh7 (ORCPT + 99 others); Wed, 17 Jul 2019 05:37:59 -0400 Received: from mail-eopbgr50074.outbound.protection.outlook.com ([40.107.5.74]:60037 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726189AbfGQJh7 (ORCPT ); Wed, 17 Jul 2019 05:37:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QykhyQ/TNzLan8qYAezpy8K7buFsWCLa+2WAlN2Fe4vb8o/lJz5jsgdRh3tCWxnZG/+il3S1Mw1CpsmmQUIQ7+ncJrnoIl58+qufp9p3lFeixLUG15OqK3LfSkkJ31cNEmzgX2jrMzDPnDBs7vvEKfHIxlJx/CUJqwz7nZJkVUnuRP8IorxnBeZSYMIaOAdcJKFfJhNUOJsM0bc0bV01MNkAKPPSTJC1Nyrn78WvhMDu0xmJFbEke8EluNTixUj3wbjPqVH1i+IiDuhdcc+umZdJtvNvX0V9fnO+RX8aiKRFvUQMUrJN5fsx8oaH5L3zzgsgobmpMY5o0vcZu8rC+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gMbbOjqAsft46QCBdzdq591lDuJqq/BG1HUgUNAPOhI=; b=jFqKAHC3Q/3SjpsquE+kU3LPN+6T0fE0Gsx7aEzLRjH2K7JLc7bBv8jLDQU25XVRCpnftoLjs4G75b1HNVLCrOisWCCNJHx1xIODnV9m2aVKNCgcKrKct1cew5srXL/cCDtb6kinA+xqC8rGIN28XvmDMGPGR7tilYxYUI//rDREJGnEeWVDYNI5vG3/gd8CzfClbQM/Ghs+mCDBJJ4Xp2DXEshO/Rz1K5RbUBsJv9pRiLU0YtVGliVtfVmUfh3Bq2MndfenyYhNfps92ul5Pf4Ow41JsTvn24Iyb6fNkkYdUYdA8+NqM/nuN5oCO8xhF3msbuisOEYJ9QoDmanQSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=nxp.com;dmarc=pass action=none header.from=nxp.com;dkim=pass header.d=nxp.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gMbbOjqAsft46QCBdzdq591lDuJqq/BG1HUgUNAPOhI=; b=HD+1a0DDTfFOPBvM0SwWbUJV9w6RDeEE3ccI6J4vPkzH1jS2omhOffr9uoGY9R/7lgf7BTOyfgR17a4pD/4+3PItmpqCOj15+7Zp9Xw1KsrDgkltbkNlSt9J9pcajA2EKdYerFgUURD1Sxz3xYriWk7vW8lW8w5stnQhqY960F0= Received: from DB7PR04MB4490.eurprd04.prod.outlook.com (52.135.138.150) by DB7PR04MB4249.eurprd04.prod.outlook.com (52.134.108.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 17 Jul 2019 09:37:53 +0000 Received: from DB7PR04MB4490.eurprd04.prod.outlook.com ([fe80::413e:84ea:f3bb:40bd]) by DB7PR04MB4490.eurprd04.prod.outlook.com ([fe80::413e:84ea:f3bb:40bd%5]) with mapi id 15.20.2073.012; Wed, 17 Jul 2019 09:37:53 +0000 From: Biwen Li To: Leo Li , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "robh+dt@kernel.org" CC: "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Xiaobo Xie , Jiafei Pan , Ran Wang , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" Subject: RE: [v5,2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver Thread-Topic: [v5,2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver Thread-Index: AQHVO8Dr35T1g9Ay0kmBOJl4h91+pKbNs0GAgADbmkA= Date: Wed, 17 Jul 2019 09:37:53 +0000 Message-ID: References: <20190716101655.47418-1-biwen.li@nxp.com> <20190716101655.47418-2-biwen.li@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=biwen.li@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8d4e143f-bd86-4c64-598e-08d70a9a7120 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB7PR04MB4249; x-ms-traffictypediagnostic: DB7PR04MB4249: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 01018CB5B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(199004)(189003)(14454004)(6246003)(486006)(64756008)(76116006)(66446008)(66556008)(52536014)(3846002)(44832011)(256004)(66946007)(66476007)(7696005)(6116002)(5660300002)(6506007)(11346002)(53546011)(76176011)(476003)(4326008)(66066001)(26005)(2201001)(81156014)(9686003)(8936002)(71200400001)(55016002)(53936002)(446003)(99286004)(71190400001)(316002)(81166006)(102836004)(478600001)(229853002)(6436002)(86362001)(8676002)(305945005)(74316002)(7736002)(68736007)(186003)(33656002)(2906002)(2501003)(110136005)(54906003)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4249;H:DB7PR04MB4490.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YJGucL/yj/QmhgWbsP9EFZdmQPuq2Ub7ZvVpekOKSb5PdkFW9a0H8e2rpykj+/M5qtCqoIK3lH+6hNSjhvxCHc33beaNNV/sD3+AZCqVfV2JI0u82bEg8p1q1MSrMXk0v60bLqamLOYFTMyjruGj7CS49dMF141ORKxApBk3CjDm6hh5oDoxTQaSB27pT/gTgb0YN2rxBXZCflxyPyClxp9DocjtcMH3P5ElJnI9Xnv70U77vU75uZED6khYpnABn2YZY/u725BaXDRRajynCtbPz2xvlxbLM6bB7gtiTQTIb91HcTWz+JHvwJr3AAtFknYov8tdUzm/oHhco+BIVFzkk3RNFdL+fWyO6AmqlkeJqupyebhhHP5J13FPjtHJuNM2J28QBv2dYS3Xb+WlcHrg+yK870M0lzEK0u8PpjA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d4e143f-bd86-4c64-598e-08d70a9a7120 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 09:37:53.4012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: biwen.li@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4249 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > From: Biwen Li > > Sent: Tuesday, July 16, 2019 5:17 AM > > To: a.zummo@towertech.it; alexandre.belloni@bootlin.com; Leo Li > > ; robh+dt@kernel.org > > Cc: linux-rtc@vger.kernel.org; linux-kernel@vger.kernel.org; Xiaobo > > Xie ; Jiafei Pan ; Ran Wang > > ; mark.rutland@arm.com; > > devicetree@vger.kernel.org; Biwen Li > > Subject: [v5,2/2] Documentation: dt: binding: rtc: add binding for ftm > > alarm driver > > > > The patch adds binding for ftm alarm driver > > > > Signed-off-by: Biwen Li > > --- > > Change in v5: > > - None > > > > Change in v4: > > - add note about dts and kernel options > > - add aliases in example > > > > Change in v3: > > - remove reg-names property > > - correct cells number > > > > Change in v2: > > - replace ls1043a with ls1088a as example > > - add rcpm node and fsl,rcpm-wakeup property > > > > > > .../bindings/rtc/rtc-fsl-ftm-alarm.txt | 49 +++++++++++++++++++ > > 1 file changed, 49 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 000000000000..fb018065406c > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt > > @@ -0,0 +1,49 @@ > > +Freescale FlexTimer Module (FTM) Alarm > > + > > +Note: > > +- The driver depends on RCPM driver > > + to wake up system in sleep. > > +- Need stop using RTC_HCTOSYS or use the DT aliases > > + to ensure the driver is not used as the primary RTC. > > + (Select DT aliases defaultly) > > + > > +Required properties: > > +- compatible : Should be "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. >=20 > You removed the IP Powerdown exception register in the examples, but not > here. Ok,I will remove it in v6. >=20 > > +- interrupts : Should be the FlexTimer Module interrupt. > > +- fsl,rcpm-wakeup property and rcpm node : Please refer > > + Documentation/devicetree/bindings/soc/fsl/rcpm.txt > > + > > +Optional properties: > > +- big-endian: If the host controller is big-endian mode, specify this = property. > > + The default endian mode is little-endian. > > + > > +Example: > > +aliases { > > + ... > > + rtc1 =3D ftm_alarm0; /* Use flextimer alarm driver as /dev/rtc1 */ > > + ... > > +}; > > + > > +rcpm: rcpm@1e34040 { > > + compatible =3D "fsl,ls1088a-rcpm", "fsl,qoriq-rcpm-2.1+"; > > + reg =3D <0x0 0x1e34040 0x0 0x18>; > > + fsl,#rcpm-wakeup-cells =3D <6>; > > +}; > > + > > +ftm_alarm0: timer@2800000 { > > + compatible =3D "fsl,ls1088a-ftm-alarm"; > > + reg =3D <0x0 0x2800000 0x0 0x10000>; > > + fsl,rcpm-wakeup =3D <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>; > > + interrupts =3D <0 44 4>; > > +}; > > -- > > 2.17.1