Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3142247ybg; Sun, 20 Oct 2019 07:36:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUJtPnt/quinWJdsCxu85KzCSmhEPEWWgv2fqS4J41pkMXW05r/fJ7c3T/SRFz6kndL6Zt X-Received: by 2002:a17:906:4dce:: with SMTP id f14mr3032827ejw.22.1571582194530; Sun, 20 Oct 2019 07:36:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571582194; cv=pass; d=google.com; s=arc-20160816; b=a0ID6vsUihCt7JP6EX0U3Hydgn/s5r96zqwVt2AV1TY7rk46RtsYeQKdRB117b9tRV tnik5Bynun6DWvB3/P+jx/tr7zjapuifzAbsReIT8d0UvmvXo9l5cOAEnDWlnB56THgM Jzpp4BqbULrZOnSGT+XYpyKFobyi7wJednDnPw0toXOiZbW5o3idA5l3g4fLRKvfp4EG yswzkBOQgqAIkiizCylQE0eImI9KzEMWmv3hUQxyqxSYg98ajHaCqlI9DQeSR5iTCO9D F4R83qK6c0FDh4Os86fs1Af/IWr8r+WcMvKIyyeZJL7giSq1R5S575JCRjYpob/yKFp1 v5Kg== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ZunBzdSgqBn83vfFWhTnPpKuEPQF6jQl+q0Vn5Js/uo=; b=MqAmO8C0wicJ7mlzE/z7CCezjw0XWz+J1O8MI5/ykDZdovHdlOmxSbQrsaLMr2dZDi A6End6FkF9Qu6RCxXmK3f/qghv9naTZJ4Xe9tEngtYvJ/fJfGimih4qNC6HMLF8CVd7U DjNg2k0kNMhuAhoS4yaCRBSEzQmeEfTjlCp1KOtSd2KpjXCSmlAG7hLHX9nFamSc1pdr ZZXk/n6duIV9iLIQTIEFD1XRz8NUv6RsWsy4TdzQedkgKg3Vsk20doFtPtYbaq5QsFZ9 FDRrGMVo1brcLffBJA3LmjRH9EhkQ8hW7qMSXhviyE73Loh77uvADiCsJQk7jisvTScD 78yg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=S5KHl+cR; 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 m39si8299134edc.243.2019.10.20.07.35.58; Sun, 20 Oct 2019 07:36:34 -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=S5KHl+cR; 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 S1726448AbfJTOfy (ORCPT + 99 others); Sun, 20 Oct 2019 10:35:54 -0400 Received: from mail-eopbgr60082.outbound.protection.outlook.com ([40.107.6.82]:60193 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726372AbfJTOfy (ORCPT ); Sun, 20 Oct 2019 10:35:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a/NRTe9QbYqtq+8ebXEIemLMFdeiJtPCKTuuFGQvaF3AO6NTi5T1AOUDpgeoIMsgpBXaWCwO2P0P943WvK6XJpkAGebl5dO0K9mRn4M6Ig4wWrCklnfBIAvE7HhDcjouZcPXww6Pwj5tcwoLnVhh2+phuvd+SIQYh59Q2xbxq18iyb+HHBTVBrAMrq7Fu1r9K+x3m/qcy9CTBowvJA6y4MGx7R1Qg6IvBP5TP9blXGPLxL7nhbetTw4cjPaWQUwaNoUSUqHaTmwE4C2zlnUJzKjICcW6za6oFiLNoz4dORkEakyeUFdsyTDSdUcacWPNKzi6NeYxociFeVM/u2x8xQ== 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=ZunBzdSgqBn83vfFWhTnPpKuEPQF6jQl+q0Vn5Js/uo=; b=b/cmwZ1z+Wl6eNgBhv5m+bZ+XpztWFGocXSDD6BKhex0v0lp6IgHg+3wcw1SHvy4T95vdikx2YzLCvP/4McHuZ1Vl4JPcZ+5rSjGuHxoBtHyZUmLXHWCfBua7watEoJzThfdQB+j2T0AJX0eD/6cB3eakONDMrLpamt4hZYq3RH28OZD3rrRiaiFqm52+r1WE1oTlZYQtloUJOUQ3gvHOk5SWfFaUe+ffq26P1hUafD587Igsg6pdpK91VsBx+Qcpygvy//KeTsjdDcxebgYsLILi/gRr+PH020Seo30KSmTvLmpelWtHcE3smPUD8dbOGdLGfekqPsB0l33lT0vOQ== 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=ZunBzdSgqBn83vfFWhTnPpKuEPQF6jQl+q0Vn5Js/uo=; b=S5KHl+cRFBuMCen/Hht51k5T7zqT5LbG5DzrqNGmEPjOaqGKkVvPYmWw+FAnuPor5Kot2HoB7Z7IDMzppZitPBTUK6v5D99wWpBsaBchObAilvZpRc8UZBEoysOWZYXmNWW0KJ3PzW5bAPfcdSMmIcNgMnHBAePgQkXxqcMvLkQ= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4644.eurprd04.prod.outlook.com (52.135.149.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Sun, 20 Oct 2019 14:35:47 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::4122:fda5:e903:8c02]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::4122:fda5:e903:8c02%3]) with mapi id 15.20.2347.028; Sun, 20 Oct 2019 14:35:47 +0000 From: Abel Vesa To: Anson Huang CC: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Jun Li , Jacky Bai , Daniel Baluta , Leonard Crestez , "daniel.lezcano@linaro.org" , "l.stach@pengutronix.de" , "ccaione@baylibre.com" , "andrew.smirnov@gmail.com" , "jon@solid-run.com" , "baruch@tkos.co.il" , "angus@akkea.ca" , "pavel@ucw.cz" , "agx@sigxcpu.org" , Troy Kisky , Gary Bisson , "dafna.hirschfeld@collabora.com" , Richard Hu , "andradanciu1997@gmail.com" , "manivannan.sadhasivam@linaro.org" , Aisheng Dong , Peng Fan , Andy Duan , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH 1/5] arm64: dts: imx8qxp: Move usdhc clocks assignment to board DT Thread-Topic: [PATCH 1/5] arm64: dts: imx8qxp: Move usdhc clocks assignment to board DT Thread-Index: AQHVg8fd9TcILJytHEmYMksBHN4gSadjn8CA Date: Sun, 20 Oct 2019 14:35:46 +0000 Message-ID: <20191020143545.we56f4epnbgjr5lw@fsr-ub1664-175> References: <1571192067-19600-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1571192067-19600-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0073.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::14) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [89.37.124.34] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 35bc6452-3df7-4ee2-39f1-08d7556acb9d x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM0PR04MB4644:|AM0PR04MB4644:|AM0PR04MB4644: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0196A226D1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(4636009)(366004)(346002)(136003)(396003)(376002)(39860400002)(189003)(199004)(6246003)(25786009)(66946007)(6436002)(71200400001)(5660300002)(52116002)(76176011)(26005)(71190400001)(6862004)(6486002)(66476007)(66556008)(64756008)(66446008)(386003)(6506007)(53546011)(229853002)(6512007)(4326008)(9686003)(186003)(33716001)(66066001)(476003)(486006)(256004)(6636002)(2906002)(44832011)(54906003)(14444005)(14454004)(3846002)(6116002)(86362001)(102836004)(81156014)(81166006)(7736002)(11346002)(8676002)(446003)(305945005)(8936002)(99286004)(7416002)(478600001)(1076003)(316002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4644;H:AM0PR04MB5779.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LN4tolFxqJRH8nh5vr8WB+TS2sD8bkkBeDOL4Cb1t0GiHDhnS+5GcKISAYn3N83hUbyR/MALaoBYshwRyUlVM59seDb+E4jcJR2BRZB4gSoxhBuD8YvhuJWJq9/32gknscFvRl612iB+Qz+4TS6aLvtSsPoyY8Wue+VeSlaRak1ZClJawfi0/VjF2CVGLIzOLrHHXeyxh0KJHN5dqmC9mryiMn6D6RFO6rHdOCyPgY37VtoBBuUAbJl1CSHKOC2CSvqF5mOTJHnCjCmu1PVbc4GhqNhAs0iMDJyVNaRk5zz0ikoQRDxRpI90alwe2yjexpP0TxjI66olTvRTJPXrRLIDsR4cJST1zoC8WRd5uDCtCTjy9ZgegVXfeaxsZxx/MlS99yYVOi+ycbgFhDVpgUBu4oVpyBBkpDvY1Nm7EA4= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35bc6452-3df7-4ee2-39f1-08d7556acb9d X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2019 14:35:46.9826 (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: n7yG0oOLB3WuPSGrrzplBkEBZ4J03TgkvH3DDwgtxMjpY/9UwgaSQE2bRzPKArHpJU8yCrBvYLeMkJvCslnp1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4644 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-10-16 10:14:23, Anson Huang wrote: > usdhc's clock rate is different according to different devices > connected, so clock rate assignment should be placed in board > DT according to different devices connected on each usdhc port. >=20 > Signed-off-by: Anson Huang For the entire patchset: Reviewed-by: Abel Vesa > --- > arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts | 4 ++++ > arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 ++++ > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 6 ------ > 3 files changed, 8 insertions(+), 6 deletions(-) >=20 > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts b/arch/arm64= /boot/dts/freescale/imx8qxp-ai_ml.dts > index 91eef97..a3f8cf1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts > +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts > @@ -133,6 +133,8 @@ > &usdhc1 { > #address-cells =3D <1>; > #size-cells =3D <0>; > + assigned-clocks =3D <&clk IMX_CONN_SDHC0_CLK>; > + assigned-clock-rates =3D <200000000>; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_usdhc1>; > bus-width =3D <4>; > @@ -149,6 +151,8 @@ > =20 > /* SD */ > &usdhc2 { > + assigned-clocks =3D <&clk IMX_CONN_SDHC1_CLK>; > + assigned-clock-rates =3D <200000000>; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_usdhc2>; > bus-width =3D <4>; > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/b= oot/dts/freescale/imx8qxp-mek.dts > index 88dd9132..d3d26cc 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts > +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts > @@ -137,6 +137,8 @@ > }; > =20 > &usdhc1 { > + assigned-clocks =3D <&clk IMX_CONN_SDHC0_CLK>; > + assigned-clock-rates =3D <200000000>; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_usdhc1>; > bus-width =3D <8>; > @@ -147,6 +149,8 @@ > }; > =20 > &usdhc2 { > + assigned-clocks =3D <&clk IMX_CONN_SDHC1_CLK>; > + assigned-clock-rates =3D <200000000>; > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_usdhc2>; > bus-width =3D <4>; > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot= /dts/freescale/imx8qxp.dtsi > index 2d69f1a..9646a41 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > @@ -368,8 +368,6 @@ > <&conn_lpcg IMX_CONN_LPCG_SDHC0_PER_CLK>, > <&conn_lpcg IMX_CONN_LPCG_SDHC0_HCLK>; > clock-names =3D "ipg", "per", "ahb"; > - assigned-clocks =3D <&clk IMX_CONN_SDHC0_CLK>; > - assigned-clock-rates =3D <200000000>; > power-domains =3D <&pd IMX_SC_R_SDHC_0>; > status =3D "disabled"; > }; > @@ -383,8 +381,6 @@ > <&conn_lpcg IMX_CONN_LPCG_SDHC1_PER_CLK>, > <&conn_lpcg IMX_CONN_LPCG_SDHC1_HCLK>; > clock-names =3D "ipg", "per", "ahb"; > - assigned-clocks =3D <&clk IMX_CONN_SDHC1_CLK>; > - assigned-clock-rates =3D <200000000>; > power-domains =3D <&pd IMX_SC_R_SDHC_1>; > fsl,tuning-start-tap =3D <20>; > fsl,tuning-step=3D <2>; > @@ -400,8 +396,6 @@ > <&conn_lpcg IMX_CONN_LPCG_SDHC2_PER_CLK>, > <&conn_lpcg IMX_CONN_LPCG_SDHC2_HCLK>; > clock-names =3D "ipg", "per", "ahb"; > - assigned-clocks =3D <&clk IMX_CONN_SDHC2_CLK>; > - assigned-clock-rates =3D <200000000>; > power-domains =3D <&pd IMX_SC_R_SDHC_2>; > status =3D "disabled"; > }; > --=20 > 2.7.4 >=20