Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp158487rdh; Mon, 18 Dec 2023 07:08:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9FyC00Cqq2Hg4o0OwJSxvg0FD6A+WsJ7cT4fJ5rOjtq4pZVMrhdYLUOTab4aMO4yX5DFJ X-Received: by 2002:a50:9544:0:b0:553:499f:391f with SMTP id v4-20020a509544000000b00553499f391fmr1211960eda.21.1702912107897; Mon, 18 Dec 2023 07:08:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702912107; cv=none; d=google.com; s=arc-20160816; b=dxN9mnpgl2WNgzfWUl4XDdFf41Ah78SlxLo/ieTXVTpuvA4IGZ/twKsEtFSSBmMfVR IdWmcjdBeE9ok7FPvPumQnRb57+/6UAp0Pk5rn2HGs+3HMdneBAqh3+JZ5fA1RKvnlVW 4z01xr2wrS1LUfyVk1v9E+iCp+5GN9a6gl7kbfW5XQpQOPsDf8flZAAN3ZzR889vcXTd OGAlTWZxJy8TiZiS1MgbVt1L0LFmioycp3ZghH42IGRr7Kal5ems8RYL+Jcwy4l42rSW 90amIAVqIj4J8vvaAeVQpyeSz/VzGUKSm4NUFAMSBjGp+ZbHUO8J4dmZbICSZYmpgOTA RMHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=dkc4Ff/LayCiLAJgh7FDZFX9VLQFTvw2kDwbU3Y6F7M=; fh=ARoN+k/VSG5iRAbJttxFVkW6V5aSXXuK7Kle09s4iWw=; b=UnMyBLFnKQu0R0TaMDXu2eo7PrHJQ3sOlXmsm07zAe09UzlEDkYQFplFQCx1ypGHzg DY5M1cG3epT/yb6Lfh9HYBLQynCqqSbq7y+511hssLZUijjPRloE86SN2BPqsm+Ik9EE 8T1GzRLq08js76sfeBIYr4okZMFIzl6p1+gvInRdQtP4KN2D4VIboeXIELoAjiRV1Xeu nhO8fMGC85rZSLAam8kijCg6NNGwyRSC8wqwxR/ZCOa8Dx4Vcx/DondVas5dc5DGae72 3cHZARkxziJYeJYgsyEQEPGX67MZaCrYLj+mLzCPLEr6FWkvgHFBOXVnys4BnlCd3gII wpdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gd5wLgBY; spf=pass (google.com: domain of linux-kernel+bounces-3888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3888-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i15-20020a0564020f0f00b005530b261673si1972042eda.145.2023.12.18.07.08.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:08:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gd5wLgBY; spf=pass (google.com: domain of linux-kernel+bounces-3888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3888-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D18D61F24B58 for ; Mon, 18 Dec 2023 15:07:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB97D3A1C7; Mon, 18 Dec 2023 15:07:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gd5wLgBY" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0577037888 for ; Mon, 18 Dec 2023 15:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a233a60f8feso195130866b.0 for ; Mon, 18 Dec 2023 07:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702912024; x=1703516824; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dkc4Ff/LayCiLAJgh7FDZFX9VLQFTvw2kDwbU3Y6F7M=; b=gd5wLgBYb9c19Iw20yckWFPibgBYs7xyMKdgGFmF9+UZG8fSl12CQbnxHGJliyO2/R 7cZ3eyIcXHug2Wg5IfOHvulTi0NDgPN4qo1almRW+/HvYypm3Wl3HlHb8dlYlWCkY1wp c2kK6OT09i6XSczNcxjQgQrE2ed5hu1och5XitsPKqjqZUJ80AKqEfz7yLPemUSIO/5F gzU7FT17K0nICWClk+XLvkvLc+KCnNBe3nbjHDgC4E1iVNhS6v2cNJZTsmA6lAzb/+75 Ob6JNIPWFFlH5ddCUCEv6gAqJIAI11Izs7jLEBW0e4Lp3hMdtZgp/LylN97gjZYMnG3K jj5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702912024; x=1703516824; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dkc4Ff/LayCiLAJgh7FDZFX9VLQFTvw2kDwbU3Y6F7M=; b=oRQYEQ4hnsrAvRgrj3dslo52FHrb6AHmk7dyvrft8b/6siwfeILkMI7AL2lVdBk8RO W4DUeP2HvYSFGnTvk/kZI0XxX7jsRarD3/TQrzPZEzcy8gxEiNbkxqaZjf4CiI06Svk2 Bt8ww7eUTqPCzAcLb56Op80sJAWSJvpVWMzbbaB8gc4/QG/Q+c9Qsgx2VfmJrQDj31iZ X2nVl5dVdTAnxgYUhF7tdN6Dc8esovpUO9k0EDpnW+3asZfIwQQXhlOEGSmnDuM7yfJJ +G/9BzIqQInh3i9x6kjnb4VbOjNsZpxdRQllqpo8AQ8NKaoMqAPcadhwoaySS6GPWkCN ErAg== X-Gm-Message-State: AOJu0YylFm5XsGIjZBqGEimvFPVmus2a3ec935v3dFcSasi0YPql0cNK GCE++dau+bFOqlULAVLb0I9jyw== X-Received: by 2002:a17:906:fa1b:b0:a23:6248:e987 with SMTP id lo27-20020a170906fa1b00b00a236248e987mr595559ejb.42.1702912024252; Mon, 18 Dec 2023 07:07:04 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id u25-20020a17090617d900b00a2328f844d2sm2823925eje.85.2023.12.18.07.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:07:03 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: qcom: x1e80100: align mem timer size cells with bindings Date: Mon, 18 Dec 2023 16:06:56 +0100 Message-Id: <20231218150656.72892-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ARMv7 memory mapped architected timer bindings expect MMIO sizes up to 32-bit. Keep 64-bit addressing but change the size of memory mapping to 32-bit (size-cells=1) and adjust the ranges to match this. This fixes dtbs_check warnings like: x1e80100-qcp.dtb: timer@17800000: #size-cells:0:0: 1 was expected Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts") Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index fd09fbc7d8e7..be1285d9919e 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3417,12 +3417,12 @@ timer@17800000 { reg = <0 0x17800000 0 0x1000>; #address-cells = <2>; - #size-cells = <2>; - ranges; + #size-cells = <1>; + ranges = <0 0 0 0 0x20000000>; frame@17801000 { - reg = <0 0x17801000 0 0x1000>, - <0 0x17802000 0 0x1000>; + reg = <0 0x17801000 0x1000>, + <0 0x17802000 0x1000>; interrupts = , ; @@ -3431,7 +3431,7 @@ frame@17801000 { }; frame@17803000 { - reg = <0 0x17803000 0 0x1000>; + reg = <0 0x17803000 0x1000>; interrupts = ; @@ -3441,7 +3441,7 @@ frame@17803000 { }; frame@17805000 { - reg = <0 0x17805000 0 0x1000>; + reg = <0 0x17805000 0x1000>; interrupts = ; @@ -3451,7 +3451,7 @@ frame@17805000 { }; frame@17807000 { - reg = <0 0x17807000 0 0x1000>; + reg = <0 0x17807000 0x1000>; interrupts = ; @@ -3461,7 +3461,7 @@ frame@17807000 { }; frame@17809000 { - reg = <0 0x17809000 0 0x1000>; + reg = <0 0x17809000 0x1000>; interrupts = ; @@ -3471,7 +3471,7 @@ frame@17809000 { }; frame@1780b000 { - reg = <0 0x1780b000 0 0x1000>; + reg = <0 0x1780b000 0x1000>; interrupts = ; @@ -3481,7 +3481,7 @@ frame@1780b000 { }; frame@1780d000 { - reg = <0 0x1780d000 0 0x1000>; + reg = <0 0x1780d000 0x1000>; interrupts = ; -- 2.34.1