From patchwork Wed Nov 7 08:51:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10672009 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5D9A15E9 for ; Wed, 7 Nov 2018 08:51:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C63BA2B7E9 for ; Wed, 7 Nov 2018 08:51:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA5122B82A; Wed, 7 Nov 2018 08:51:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3F1802B7E9 for ; Wed, 7 Nov 2018 08:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cQ/M6eHGrUCo47HYuycAr3Iz5i08SaJrGoXac8u9zLk=; b=P2o0fUp6XEoNwv GcPc67BSU8oVYL4kRm6ZKgCAW3O8oq0lW0CtTQlX86yWONzTXXyEdOjcs4CipGuW2sraPXr7Y8/1L lZxwkXyiHgZ0rI2HZC1vHDrH7smVZvVrbDkMxnCXaaRd9BUvHe9UcmreRPlYEbz+uO0w+4AHmrQaB MFT+dMVxZN9QdGOqD1SssvPOdQ8bCKkB9HtEwQGxW64Eyoi/T7QvFP9a6pg+oR6TJY43wDOJDtScD lRToEZ9ED2m/JJtHgfyVdc3y4/yqEeDHYXzlGy/JdlphzXLYBjW44PStuu+gKWR050xOBWq7rT+Co G/4DRU+cQXvvkgaO5eig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKJYt-0005iN-QE; Wed, 07 Nov 2018 08:51:43 +0000 Received: from mail-ve1eur01on062a.outbound.protection.outlook.com ([2a01:111:f400:fe1f::62a] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKJYq-0005gG-D5 for linux-arm-kernel@lists.infradead.org; Wed, 07 Nov 2018 08:51:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EdF8PjdyATr52RuBEZBDE7Xa3GMtA7ly2KVbqIn32Io=; b=eTVBFUYzznr/zdpqbvigimT4MN0j4eqWHcaxewJXy69kVtGJsLdzurGFQcd2BsAc72aqR2SVmFjm//4lV9Nbrs7ImG89zlYq6ztUF8H49iF0otBFj8aT/ouWQ36JAIJp9/ZXG9pYUsj34kUFAvaev8L+ypRzCoUahuZ5pwL+JK4= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3676.eurprd04.prod.outlook.com (52.134.70.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.33; Wed, 7 Nov 2018 08:51:07 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e992:8455:42e:7a0b]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e992:8455:42e:7a0b%2]) with mapi id 15.20.1294.034; Wed, 7 Nov 2018 08:51:07 +0000 From: Anson Huang To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , Fabio Estevam , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] ARM: dts: imx6sx: specify proper clock for nodes with dummy clock Thread-Topic: [PATCH] ARM: dts: imx6sx: specify proper clock for nodes with dummy clock Thread-Index: AQHUdncFdNhfbhMjLEys+zHePoZxFQ== Date: Wed, 7 Nov 2018 08:51:07 +0000 Message-ID: <1541580363-3968-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-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0006.apcprd01.prod.exchangelabs.com (2603:1096:203:92::18) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0402MB3676; 6:EprlrLUkGIiNJUPdP2ouBzn9z8BtyMV649UCXxc7qJk89VjODBHGMa1ldrYdTOpr0Rj+k/hRWNggBcxE9MvNqbHu42Z8BJaSuU6J/FLllLUcOwetlLngc7mYmFQZ2lN9UnI4iCBHeGaFfcOhkDtLF9nNj/zMcIZWxDqMLJXXudu20lEnZeiMQIQ7GdAveQOJGpSDDQNOv67nsf529i5kLr8QDswhDalcsyBhXUfx/eoFMpz/OqvAQmzUE3mpPgcBTkhnOhFffvooGsq4aTa41CePhlEOmaMDs639JcyssvWOSFnQSj+Eeda/mizpoDkEqwVywGKNfay6wLSFUKIqQgUb09DsFV//+ML44ul45GG/Zu714gEH1Cc76hDayHcFfZ90UOceqQvzlgtzadhN33AX7NHhtMxjNvk5yW45rCN23ZvhS/SiCRYgz9mqQfRjIBdrq+1Qgv4YV857xSoz7g==; 5:k47BUpsDr9C3QV5M1G6K0FOPHvoWqYEgZYvXK0m4Vkl2Eu6RH3lmYaQi2Cao+C2/5cEUHKVsd7fGUK0lLBq9DpSjTl7dlfa4PIDwYXWonnCrxrQolJSCpAHHMb1LmNXqNDdpfFvkrJnr9Iy3md78CYOhHJJ+ZvL8FjKXjJOwlRU=; 7:bu6qh1L6CiUjOIMJpaTikKZn/8nGJJFw8NhYq1rIkIcXu6GLNTVrWyBGPKDnJcVlKlJGJgLsvF7l5acOvnzbV7cf7EdocfuUZQp9wu6gboyj2zuwn6CNkhK8/doszkOH8V5HN82HzbQHkBEK7r5Avw== x-ms-office365-filtering-correlation-id: 75678c6e-bdec-4671-2cef-08d6448e2804 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3676; x-ms-traffictypediagnostic: DB3PR0402MB3676: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231382)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:DB3PR0402MB3676; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0402MB3676; x-forefront-prvs: 08497C3D99 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(376002)(366004)(136003)(346002)(199004)(189003)(6512007)(6436002)(316002)(7736002)(102836004)(2616005)(36756003)(386003)(68736007)(486006)(6506007)(2201001)(5660300001)(52116002)(99286004)(53936002)(86362001)(476003)(81166006)(81156014)(6116002)(106356001)(8676002)(2900100001)(8936002)(26005)(105586002)(50226002)(3846002)(4326008)(2906002)(6486002)(305945005)(97736004)(478600001)(1857600001)(2501003)(25786009)(71200400001)(256004)(110136005)(186003)(71190400001)(66066001)(14454004)(14444005)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3676; H:DB3PR0402MB3916.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-microsoft-antispam-message-info: TS1k+ES3Ci2IGBkqdHmIaF64VX8tTwDdK18+lrIJgFdA0BqR/iKwl8KHCCJjI5VP2C0TOasbQOcz9/IdEIGd9Z6XdEKg4tN+2Dz3v0wkFpMwoxUktCLiu0Qup6RS3J81nDg3jfvM6IHMaIaG9ViKT2N+nq4ggUquD52oeLlHc0S08uqQEKvJxUg+vlWexjSUAq+JxsATLi2FRiAVpB5gCwVSu5M0bmTwz5ruM96MG1WOYqHJrDM7e1FtTjLlxLU3fi2VM9k5mR/g7s6LPiV8ZFCYDotYRdYUFBxUyz8ruMfmEaBfREhxolwdJ5/EfyTUq+d2byQHUxNIDxjgmzOvWp5oKYZAlht3onnZKC0nafU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75678c6e-bdec-4671-2cef-08d6448e2804 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2018 08:51:07.1598 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3676 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181107_005140_437545_D977DB4B X-CRM114-Status: GOOD ( 11.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From i.MX6SX reference manual CCM chapter, KPP and WDOGn use IPG clock as their clock, specify IPG clock for KPP and WDOGn instead of DUMMY clock. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 84b7687..07ea7d9 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -558,7 +558,7 @@ compatible = "fsl,imx6sx-kpp", "fsl,imx21-kpp"; reg = <0x020b8000 0x4000>; interrupts = ; - clocks = <&clks IMX6SX_CLK_DUMMY>; + clocks = <&clks IMX6SX_CLK_IPG>; status = "disabled"; }; @@ -566,14 +566,14 @@ compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt"; reg = <0x020bc000 0x4000>; interrupts = ; - clocks = <&clks IMX6SX_CLK_DUMMY>; + clocks = <&clks IMX6SX_CLK_IPG>; }; wdog2: wdog@20c0000 { compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt"; reg = <0x020c0000 0x4000>; interrupts = ; - clocks = <&clks IMX6SX_CLK_DUMMY>; + clocks = <&clks IMX6SX_CLK_IPG>; status = "disabled"; }; @@ -1270,7 +1270,7 @@ compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt"; reg = <0x02288000 0x4000>; interrupts = ; - clocks = <&clks IMX6SX_CLK_DUMMY>; + clocks = <&clks IMX6SX_CLK_IPG>; status = "disabled"; };