From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ixit.cz (ip-89-177-23-149.bb.vodafone.cz [89.177.23.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED18C5FBB7; Fri, 5 Jul 2024 22:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.177.23.149 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720218638; cv=none; b=fKGeiw//gH1CqnB/pDQb73nxoa8b8lEFp2QG2xGfhUJaCqa/2QISWMLv/Lbu622Fgx/TNEE676b7J6X0m6L4nfX3TNxbu4iCVNkmfH6EQd7vN0d1AeQb/RxdH6vCf1EbFDaXu19d45pL6+Hdzjf0Ev6ph4fWCvfVELJNRFtSDOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720218638; c=relaxed/simple; bh=+gunZ9KL34vm2mxBSzC1useMM3XoN+VJW9Z+YBsOC6A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XakDm0AH7WSJKOfb7LLdz7oY3uLCg2RFgMAPB1rZOK4wtWS4BNUnVNvGqosDT//i1QwuxeZWuHwL4TzZeaFllvxeEYDrRlepYQhvpLflArbKG5G0CUWX1bg8fpof77B/qinat4uqNclOYOSE1SRbA5zAP9ec5bq1Ug5zMkFEpeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ixit.cz; spf=pass smtp.mailfrom=ixit.cz; dkim=pass (1024-bit key) header.d=ixit.cz header.i=@ixit.cz header.b=oomEegJC; arc=none smtp.client-ip=89.177.23.149 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ixit.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ixit.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ixit.cz header.i=@ixit.cz header.b="oomEegJC" Received: from [192.168.1.102] (76-224-187-148.lightspeed.sntcca.sbcglobal.net [76.224.187.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 7FAED162E54; Sat, 6 Jul 2024 00:30:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1720218633; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gkLrx3USlAitu1v8+/UYYJlNqCIYzzVC8MR/agytWqo=; b=oomEegJCq0c6WS2RIoJKJYzTkTjWo2Wopp95594YeVt+cf0HDsgedPpSCvwzn3rPxtgvKI wEyUeq3k2rP45BK7KzAhenEkHcxmS1fLtdrqQNTuK5ecLcsPqoe6Xc0PKJE9SQvBdQUcZC cwWmSenV7ROaX4wR5tb55cRkCywrCbY= Message-ID: <11042ffd-63e3-4e1a-a674-599842c46238@ixit.cz> Date: Fri, 5 Jul 2024 15:30:30 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: [PATCH] ARM: dts: qcom: apq8960: reflect that memory node starts at offset 0 To: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230812183218.374157-1-david@ixit.cz> Content-Language: en-US From: David Heidelberg In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Can we get this in then? Thanks David On 25/08/2023 04:57, Konrad Dybcio wrote: > On 12.08.2023 20:32, David Heidelberg wrote: >> Fixes warning generated by `make qcom-msm8960-cdp.dtb`: >> arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0]]} >> >> Signed-off-by: David Heidelberg >> --- > But does it really? > > i.e., if you boot it on a device and xxd /sys/firmware/devicetree/base/memory > or decompile /sys/firmware/fdt, is it updated to <0x0 0xsomesize>? > > Konrad >> arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi >> index c10797f3793c..c20f16845a97 100644 >> --- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi >> +++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi >> @@ -47,7 +47,7 @@ L2: l2-cache { >> }; >> }; >> >> - memory { >> + memory@0 { >> device_type = "memory"; >> reg = <0x0 0x0>; >> }; -- David Heidelberg