Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757101AbeAIBnk (ORCPT + 1 other); Mon, 8 Jan 2018 20:43:40 -0500 Received: from mail-he1eur01on0071.outbound.protection.outlook.com ([104.47.0.71]:27424 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751889AbeAIBnh (ORCPT ); Mon, 8 Jan 2018 20:43:37 -0500 From: Anson Huang To: Dong Aisheng CC: "linux-arm-kernel@lists.infradead.org" , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , dl-linux-imx , "shawnguo@kernel.org" , "kernel@pengutronix.de" , Fabio Estevam , "mturquette@baylibre.com" , "sboyd@codeaurora.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "stefan@agner.ch" , "linux@armlinux.org.uk" Subject: RE: [PATCH 2/2] ARM: dts: imx7s: add snvs rtc clock Thread-Topic: [PATCH 2/2] ARM: dts: imx7s: add snvs rtc clock Thread-Index: AQHThS3Y9bIa8/9eYEqrsAwwBdeG2qNpz3+AgAD70rA= Date: Tue, 9 Jan 2018 01:43:25 +0000 Message-ID: References: <1515078402-22135-1-git-send-email-Anson.Huang@nxp.com> <1515078402-22135-2-git-send-email-Anson.Huang@nxp.com> <20180108103915.GD32635@b29396-OptiPlex-7040> In-Reply-To: <20180108103915.GD32635@b29396-OptiPlex-7040> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [199.59.231.64] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR0401MB2635;7:FMLaHwXyVFSFKpbI6sUj2ieynuiSatAWAB4ansMHnJPECdeEJsJkTHv49gnkpEwa543uDgg5qkFkydOZREDEPAIBBlTViSJ+A7l+InzfvdKS14R4AnbM6o94Bjp95HpR3KoIuHtASHl8/BfDgdtCrryxzy0erpwOTgmg+XXNZwQTUSyXvmpQt26dNiqU/oIAKTI1KZT4IIfnzX2wwW27Yas8S66A81KyXCYonmcnjANnC4blEFmzAwGqtXowCiz6 x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a03832f9-2b9b-4ae8-9079-08d55702605b x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:HE1PR0401MB2635; x-ms-traffictypediagnostic: HE1PR0401MB2635: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(189930954265078)(185117386973197)(85827821059158)(258649278758335)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041268)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:HE1PR0401MB2635;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:HE1PR0401MB2635; x-forefront-prvs: 0547116B72 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(396003)(366004)(39860400002)(346002)(39380400002)(377424004)(199004)(189003)(13464003)(24454002)(105586002)(2950100002)(55016002)(53936002)(33656002)(4326008)(6916009)(25786009)(66066001)(966005)(106356001)(68736007)(5250100002)(81166006)(54906003)(8676002)(45080400002)(316002)(6246003)(8936002)(9686003)(478600001)(81156014)(6306002)(74316002)(5660300001)(97736004)(229853002)(6436002)(2900100001)(76176011)(305945005)(7736002)(14454004)(3280700002)(1411001)(3660700001)(7416002)(99286004)(53546011)(7696005)(102836004)(86362001)(6506007)(6116002)(3846002)(2906002)(39060400002);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0401MB2635;H:AM3PR04MB1315.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-microsoft-antispam-message-info: xzgBLfP9iu+cnr9DzOJ9nOFYTTpj2/pfCnvpSmLT9VMsD5tptSUNWWyWwDS3qIsVwcbMvFwK6J7K1MwEGVN+Cg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a03832f9-2b9b-4ae8-9079-08d55702605b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2018 01:43:25.9864 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2635 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Best Regards! Anson Huang > -----Original Message----- > From: Dong Aisheng [mailto:dongas86@gmail.com] > Sent: 2018-01-08 6:39 PM > To: Anson Huang > Cc: linux-arm-kernel@lists.infradead.org; linux-clk@vger.kernel.org; linux- > kernel@vger.kernel.org; devicetree@vger.kernel.org; dl-linux-imx imx@nxp.com>; shawnguo@kernel.org; kernel@pengutronix.de; Fabio > Estevam ; mturquette@baylibre.com; > sboyd@codeaurora.org; robh+dt@kernel.org; mark.rutland@arm.com; > stefan@agner.ch; linux@armlinux.org.uk > Subject: Re: [PATCH 2/2] ARM: dts: imx7s: add snvs rtc clock > > On Thu, Jan 04, 2018 at 11:06:42PM +0800, Anson Huang wrote: > > Add i.MX7 SNVS RTC clock. > > > > Signed-off-by: Anson Huang > > If this clock IMX7D_SNVS_CLK is used for all SNVS sub modules, then > snvs_poweroff and snvs_pwrkey should also rely on it, right? > > How about add them all in one time? > > BTW, syscon-poweroff seems still not introduce clock support and fsl,sec-v4.0- > pwrkey also does not handle clock, they may need to be added later. > > Regards > Dong Aisheng Yes, I thought about it before sending patch, but currently the poweroff and pwrkey driver do NOT handle clocks, so I plan to add them later, including handling clocks in driver and dtb. Anson > > > --- > > arch/arm/boot/dts/imx7s.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm/boot/dts/imx7s.dtsi > > b/arch/arm/boot/dts/imx7s.dtsi index e718fd2..f9b97f3 100644 > > --- a/arch/arm/boot/dts/imx7s.dtsi > > +++ b/arch/arm/boot/dts/imx7s.dtsi > > @@ -534,6 +534,8 @@ > > offset = <0x34>; > > interrupts = IRQ_TYPE_LEVEL_HIGH>, > > IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&clks IMX7D_SNVS_CLK>; > > + clock-names = "snvs-rtc"; > > }; > > > > snvs_poweroff: snvs-poweroff { > > -- > > 1.9.1 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-clk" > > in the body of a message to majordomo@vger.kernel.org More majordomo > > info at > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvger > > .kernel.org%2Fmajordomo- > info.html&data=02%7C01%7CAnson.Huang%40nxp.com > > %7Cd10ff23b822b4cd16c2708d5568417c6%7C686ea1d3bc2b4c6fa92cd99c5c30 > 1635 > > %7C0%7C0%7C636510047707248763&sdata=FMx22hfKxs7YA%2F1zCVeYCnVX > 9Ck4MmB9 > > GuolA51V2eg%3D&reserved=0