Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp327018rdh; Mon, 18 Dec 2023 23:13:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUK0VYLvAWXLm13hKdmrKKKLLj/1dsNhauBtjrRMw4VgUOLt0A9PvHKPIH5MttWPAK6t92 X-Received: by 2002:a05:6358:590d:b0:172:bb4d:91c1 with SMTP id g13-20020a056358590d00b00172bb4d91c1mr4278554rwf.35.1702970003950; Mon, 18 Dec 2023 23:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702970003; cv=none; d=google.com; s=arc-20160816; b=dDKZDqWB8tqHWkdUm2SIVwU/pUlEoM7rrbYKFG/Y0MLKXsGTT8HTe/B6XkrRPIyhAw Kyc/ROfVevJFzcl8d1LP6qz8LvzB9F2L5hLM3A9Itvhn9IdsNzIhPzZdkFDSkiPbUSaZ z6yQHhTUOS6lzQqLD1W7f4MKieH2SC94d65luoSHOX0+9aAWfcB50MXT8N08qZz7Udfh xpNQbZXo3JX5eGlyWveezrrSlaTN04ncHR75ZGjirv0SP/BP2Lai7+oWRHgfAbLiICEa Mg2HSGV7bUMaXx61xk3KY3ITLrjERhCW6k8GTXvgPy/didPoCi/NlRebFDY6sIVO+Kje wD8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qRC50i6Kn0uikvj38jxTFjty7ifSrHDgFyqKdl1ZFk4=; fh=MGxT3Nih2w0nEiWCNPy+Meh/neUcrwS4ncgIUjXPJIc=; b=JgEzq+TffxqWLkc99RdQw4Q8xnMLM1Fd9C9jl8bgedwLS5iK7GDHS0EPD9YUDXyFUC tA/SAYBdsRg6Ts13lYfslXXQYw1nXSJWa1r3ySaeDXutH1uNTaQiVLSf/qfwSwUSGtrj dw4IJszEwSwjXz6LGU2jeVXGQHctu/wYFMDQFEHelwUSrH+3OgClGQ3hB6YUPMeiGprk P2HTp4+VwusrnUgwRliaa974Sl3L5P5Odi9jLLn3jAkeSoKpoEK2sRvHHLbG88+n3hsB vmni5FIszRR0m69RqVXPvlobSB9m+n8AE9u4HeVaO/cukhmX7kSh0U2/7RdvVD2C+q8e qa9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TEgNLDR9; spf=pass (google.com: domain of linux-kernel+bounces-4786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l63-20020a638842000000b005cd8866e8aesi4728792pgd.253.2023.12.18.23.13.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 23:13:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TEgNLDR9; spf=pass (google.com: domain of linux-kernel+bounces-4786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4786-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1A245B21AFC for ; Tue, 19 Dec 2023 07:13:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 414F1848E; Tue, 19 Dec 2023 07:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TEgNLDR9" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 CF3E612B60 for ; Tue, 19 Dec 2023 07:13:08 +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-f48.google.com with SMTP id a640c23a62f3a-a2339262835so291320866b.3 for ; Mon, 18 Dec 2023 23:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702969987; x=1703574787; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qRC50i6Kn0uikvj38jxTFjty7ifSrHDgFyqKdl1ZFk4=; b=TEgNLDR9NKtIk6Yd1RMv+Hdd8XD5Iq/zuF2ATMZjhVfDrS4lRpi9Kg3enerQ3NHCrA EWcKYj9Fgy+VNYV5l3Y2LD7Yr5xXY+u3+DkIqnKVTAUDjv0hQQMeZCkW/T4YvNJFfTU5 AAFR+JVvCGgPYUzL9QTzgK9y1BC/xSpLo4cp7X3G8Wq1ImoVcT3Rbe1tw83xQPUbFCJk GmlTWhs1W0Qk5TNcpoQ1n4OaJBGvmcEw1oyO2B/PqR8mZhhbX4PDvuNLR/BW0cQnFNlW jRSAY5fBKkf7bDzNDz6r0ZlMeNXOhWjS9dYUD9IimJ1HAaVfBrKkjUhXcdEJGQEfvP1g 4L6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702969987; x=1703574787; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qRC50i6Kn0uikvj38jxTFjty7ifSrHDgFyqKdl1ZFk4=; b=ADGKgh2mAsK4D28QX0pygmXN/GhsSjZS3RlNg8gQjiDIJawevV6AlITXYeG3/FUGxe h+oQFPbk7sb+fSVIK/VOnw9CBy9vQnwcD6Yd2CNCyYIRLSOYwb+6/2u7rL5T1zos4STw QXlbgqQCqzA2u/R/QoM2p/7MUfeggkP3WmnHV22hYFhB/mjcLWivf6kLvxM+kK4IXnjY T6kcBBWVNBEgYdCGF8+GNq1gbDaK9Kq2ypq/4XMhC6k1WgSylH3Q84GDOOkEZwLUXzuc Z1s5CfDy8yCKdakve8w98vtlgPO19NYdcxGU5k6EgAaWmu3jKEHRa9+2CdhUW70fIoWY CDNg== X-Gm-Message-State: AOJu0YwJkLp8xC8bBOG90Sj2OsHHCHUhj7um4GwnNgvL2ZtwDZUC5gxB E1xTiLincTzYwDuMr14cM6Lx5w== X-Received: by 2002:a17:906:2803:b0:9fc:3a70:4430 with SMTP id r3-20020a170906280300b009fc3a704430mr7869843ejc.70.1702969987072; Mon, 18 Dec 2023 23:13:07 -0800 (PST) Received: from linaro.org ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id o18-20020a17090611d200b00a2362ef4387sm1450499eja.49.2023.12.18.23.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 23:13:06 -0800 (PST) Date: Tue, 19 Dec 2023 09:13:05 +0200 From: Abel Vesa To: Krzysztof Kozlowski Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: x1e80100: align mem timer size cells with bindings Message-ID: References: <20231218150656.72892-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218150656.72892-1-krzysztof.kozlowski@linaro.org> On 23-12-18 16:06:56, Krzysztof Kozlowski wrote: > 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 Reviewed-by: Abel Vesa > --- > 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 >