Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3444813pxk; Mon, 28 Sep 2020 18:43:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE02WLYIBvJm+B7cdlXB2q68nbljQOyOzx+zsuhS59gjSp8nqRcwl8jeGmYhKGqjUKfzpZ X-Received: by 2002:aa7:c2d6:: with SMTP id m22mr784994edp.311.1601343799561; Mon, 28 Sep 2020 18:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601343799; cv=none; d=google.com; s=arc-20160816; b=cwGHbsq2zVMguQMdA2ZhVaO7f/AeelgWjS/nrPYBkvHw0s+tyR7m7F47M71mdMChTq iM/zmKUpO5/hLf6jrWgaYMf+E0ZtH1sPFNS90UUVqNa8Qs8gHy8dAo5wgS3ZH0YK1MeS DsOp92qfEg4Sxhj81uBK9zbr6lLgJitIzJ2CXaAsyeqkQX4YWX0mOZzEsDsessUUNZg3 jHGYTcpxtbav0Q1otf7UPY6Ys3o4WfmpQAncAyQ2OWswDdLE2jXJKjA/AtbIF5LGIVr3 QmFaTX8LhNI3s/KEq59D38+2G3GHoxkP/aofKGGaNvYQfsIUN0KZtWKJikKLfOl8d2ni iMwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5Fvj1aGPr/8tgAxruHgNFlhKVZpPX5KVIACNsd+YEF0=; b=tJWQjH44SoQLCTOepwRtT+5OuQTFbaUzeNfOKN+NGByZFljT9yrbdnqjkm0w0LbIpy 2Gy/jy3lGjL1qDqaPmBrTvFNyeXjhlfk41g0jOcN165aAxnCZNm4ad+UwtrykCLmzyHx XFNYFoIJX/PebQyvL4r3zWMIMg1mSFnw2eosnjbmoA09PCwxJQvhEhJ3on7nmIMeb4hM 8bnnoOjGRhJ7Nboa8bTEEk35Z8fZ29EwUp8EV1SsKbgFRDJJcijwEPbjb3H+Snq5Ftyi QgCQCHQKbcgd8qNDxMShJpGAlzkaZTbkRRk6Prp0U7J4xkgY1ovIjO64J/TKDHXwOuJo hn6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a13si1923824edf.9.2020.09.28.18.42.51; Mon, 28 Sep 2020 18:43:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727459AbgI2BjC (ORCPT + 99 others); Mon, 28 Sep 2020 21:39:02 -0400 Received: from inva021.nxp.com ([92.121.34.21]:47682 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbgI2BjB (ORCPT ); Mon, 28 Sep 2020 21:39:01 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D6F1F200E74; Tue, 29 Sep 2020 03:38:58 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 80C6D200EAD; Tue, 29 Sep 2020 03:38:55 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 060764030D; Tue, 29 Sep 2020 03:38:50 +0200 (CEST) From: Ran Wang To: Fabio Estevam , Shawn Guo , Li Yang Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Biwen Li , Ran Wang Subject: [PATCH v2] arm64: dts: fix endianness issue of rcpm Date: Tue, 29 Sep 2020 09:30:21 +0800 Message-Id: <20200929013021.46395-1-ran.wang_1@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Biwen Li Add little-endian property to RCPM node (for ls1028a,ls1088a,ls208xa), otherwise RCPM driver will program hardware with incorrect setting, causing system (such as LS1028ARDB) failed to be waked by wakeup source. Fixes: 791c88ca5713 (“arm64: dts: ls1028a: Add ftm_alarm0 DT node”) Fixes: f4fe3a8665495 (“arm64: dts: layerscape: add ftm_alarm0 node”) Signed-off-by: Biwen Li Signed-off-by: Ran Wang Acked-by: Li Yang --- Change in v2: - Update commit message with more details - Add Fixes and Singed-off tags arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 0efeb8f..651bfe1 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -1012,6 +1012,7 @@ compatible = "fsl,ls1028a-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1e34040 0x0 0x1c>; #fsl,rcpm-wakeup-cells = <7>; + little-endian; }; ftm_alarm0: timer@2800000 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 169f474..2ef812d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -787,6 +787,7 @@ compatible = "fsl,ls1088a-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1e34040 0x0 0x18>; #fsl,rcpm-wakeup-cells = <6>; + little-endian; }; ftm_alarm0: timer@2800000 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 41102da..141b3d2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -769,6 +769,7 @@ compatible = "fsl,ls208xa-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1e34040 0x0 0x18>; #fsl,rcpm-wakeup-cells = <6>; + little-endian; }; ftm_alarm0: timer@2800000 { -- 2.7.4